Personal portfolio site for myself — built with React, TypeScript, and Vite.
- Landing Page — "Click to Enter" with auto-playing background music
- Global Music Player — Persistent audio across pages with top-right volume/mute control
- Real-time Discord Profile Card — Avatar, username, badges (from Discord CDN), live status (Online/Idle/DND/Offline), platform indicators (Desktop/Mobile/Web), current activity with artwork
- Live UK Time — Millisecond-precision clock in Europe/London timezone
- Live Age Counter — Real-time age calculation (born 21/06/2009)
- Real-time Discord Status via Lanyard WebSocket
- GitHub Stats — Repos, followers, stars, contribution streak
- Skills & Tech Stack — Animated grid with icons
- Contact Form via Web3Forms
- Animated Page Transitions with Framer Motion
- Dark Glassmorphism Design with responsive layout
- Code-split Pages via React.lazy
- Auto-generated sitemap.xml
- React 19 + TypeScript
- Vite 8
- Tailwind CSS 4
- Framer Motion 12
- Lucide React (icons)
- React Icons (tech logos)
- React Country Flag
- Web3Forms (contact form)
npm install
npm run devnpm run buildOutput goes to dist/. Sitemap is auto-generated at dist/sitemap.xml.
src/
├── components/ # Topbar, Footer, ErrorBoundary, SplitText, BlurText, CountUp
│ └── ui/ # shadcn Badge component
├── hooks/ # useLanyard (Discord WebSocket)
├── lib/ # Utilities (flags, tech icons, Discord helpers, fetch hook, MusicContext)
├── pages/ # Landing, Profile, Education, Work, Connect
├── config.ts # Site configuration
├── App.tsx # Root with lazy-loaded pages + MusicProvider
├── main.tsx # Entry point with ErrorBoundary
└── index.css # Global styles + glass utilities
Edit src/config.ts to update:
- Display name, subtitle, location, country
- Date of birth (for live age counter)
- Discord user ID
- GitHub username
- Social links (GitHub, Discord, Telegram)
- Skills and tech stack
Place your music file at public/music.mp3 (loops automatically). The music starts when visitors click "Click to Enter" on the landing page and continues playing across all pages. Users can mute/adjust volume via the top-right control.
Real-time Discord presence requires authorizing your account with Lanyard:
- Visit https://discord.gg/lanyard or https://api.lanyard.rest
- Click "Add to Discord" / "Authorize"
- Grant permission to read presence/status
The contact form uses Web3Forms — messages are sent directly to your registered email. The access key is in src/config.ts.