Personal portfolio site for Catalin Leca, Senior Software Engineer.
- Next.js 16 + React 19 + TypeScript
- CSS Modules + design tokens (no Tailwind)
- Framer Motion for page transitions and scroll-triggered reveals
- MDX via
next-mdx-remotefor case study content - Deployed on Vercel with SSG/ISR
npm install
npm run devOpen http://localhost:3000.
This portfolio includes manual PostHog tracking for:
- Page views on route changes
- CTA/link clicks marked with
data-analytics-* - Scroll depth milestones (25/50/75/90)
- Tracking runs only after explicit cookie consent from the in-app banner
Configure environment variables:
cp .env.example .env.localSet:
NEXT_PUBLIC_POSTHOG_KEY(required)NEXT_PUBLIC_POSTHOG_HOST(optional, defaults tohttps://us.i.posthog.com)
For excluding your own visits from reports:
- Use
?internal=1once in the URL to mark your browser as internal traffic. - Use
?internal=0to clear the flag.
npm run build
npm startPush to main — Vercel builds and deploys automatically.