Skip to content

About

my new portfolio

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

watermeloncat444

Personal portfolio site for myself — built with React, TypeScript, and Vite.

Features

  • 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

Tech Stack

  • React 19 + TypeScript
  • Vite 8
  • Tailwind CSS 4
  • Framer Motion 12
  • Lucide React (icons)
  • React Icons (tech logos)
  • React Country Flag
  • Web3Forms (contact form)

Getting Started

npm install
npm run dev

Build

npm run build

Output goes to dist/. Sitemap is auto-generated at dist/sitemap.xml.

Project Structure

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

Configuration

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

Music

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.

Discord Status

Real-time Discord presence requires authorizing your account with Lanyard:

  1. Visit https://discord.gg/lanyard or https://api.lanyard.rest
  2. Click "Add to Discord" / "Authorize"
  3. Grant permission to read presence/status

Contact Form

The contact form uses Web3Forms — messages are sent directly to your registered email. The access key is in src/config.ts.

License

Apache-2.0 License

About

my new portfolio

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages