Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Website CI Run

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
lint:
name: Lint and Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.26.2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Generate JSON files
run: pnpm generate-json
- name: Generate theme
run: node scripts/themeGenerator.js
- name: Run type check
run: pnpm check

format:
name: Code Formatting Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.26.2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check code formatting
run: pnpm format --check
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"astro": "5.16.5",
"astro-auto-import": "^0.4.5",
"astro-font": "^1.1.0",
"astro-swiper": "^1.3.0",
"astro-swiper": "^1.4.0",
"date-fns": "^4.1.0",
"disqus-react": "^1.1.7",
"github-slugger": "^2.0.0",
Expand All @@ -38,10 +38,10 @@
"remark-collapse": "^0.1.2",
"remark-toc": "^9.0.0",
"sharp": "^0.34.5",
"vite": "^7.2.7"
"vite": "^7.3.0"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.18",
"@types/node": "24.10.3",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 3 additions & 38 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Alex Tacescu - Personal Website

Personal website for Alex Tacescu, built with Astro, TailwindCSS, and TypeScript.
My personal website, project showcase, and blog! Built with Astro, TailwindCSS, and TypeScript.

🌐 **Live Site:** [alextac.com](https://alextac.com)
**Live Site:** [alextac.com](https://alextac.com)

## About

Expand All @@ -28,30 +28,6 @@ This website showcases my work as a Lead Flight Software Engineer at Inversion S
- Node.js v20.10+
- pnpm or npm

### Installation

```bash
# Install dependencies
pnpm install
# or
npm install

# Start development server
pnpm run dev
# or
npm run dev

# Build for production
pnpm run build
# or
npm run build

# Preview production build
pnpm run preview
# or
npm run preview
```

### Development Commands

```bash
Expand All @@ -60,6 +36,7 @@ pnpm run build # Build for production
pnpm run preview # Preview production build
pnpm run check # Type check Astro files
pnpm run format # Format code with Prettier
pnpm install # Install dependencies

# Or use npm instead of pnpm for all commands
```
Expand Down Expand Up @@ -98,14 +75,6 @@ Site configuration is stored in `src/config/`:
- `menu.json` - Navigation structure
- `social.json` - Social media links

## Images

Images should be placed in `public/images/`. See `public/images/README.md` for a list of required images.

## Deployment

The site is configured for deployment on Netlify. See `netlify.toml` for configuration.

## License

MIT License - See [LICENSE](./LICENSE) for details.
Expand All @@ -116,7 +85,3 @@ MIT License - See [LICENSE](./LICENSE) for details.
- **GitHub:** [alextac98](https://github.com/alextac98)
- **LinkedIn:** [Alex Tacescu](https://www.linkedin.com/in/alex-tacescu/)
- **YouTube:** [Alex Tacescu](https://www.youtube.com/alextacescu)

---

Built with ❤️ using [Astroplate](https://github.com/zeon-studio/astroplate) template by Zeon Studio
5 changes: 1 addition & 4 deletions src/layouts/components/CategoryMosaic.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const {
style={`--mosaic-columns: ${columns}; --mosaic-rows: ${rows}; --row-height: ${rowHeight}px; --animation-duration: ${animationDuration}s`}
>
{
categories.map((category, index) => (
categories.map((category) => (
<a
href={category.link}
class="mosaic-item"
Expand Down Expand Up @@ -316,11 +316,8 @@ const {
const overlay = element.querySelector("[data-overlay]") as HTMLElement;
if (!overlay) return;

let lastDirection: "top" | "bottom" | "left" | "right" = "top";

element.addEventListener("mouseenter", (event: MouseEvent) => {
const direction = getDirection(element, event);
lastDirection = direction;

clearAnimationClasses(overlay);
element.classList.add("is-hovered");
Expand Down
Loading