How sayouncdr/portfolio-motion works
Project type and purpose
• This is a single-page, static developer portfolio website.
• Built with React + TypeScript on Vite, styled via Tailwind CSS and animated with Framer Motion.
• It surfaces static data (projects, skills, blogs) plus a small real-time presence feature via Supabase.
File structure
• Top-level files: configuration (vite.config.ts, tsconfig.json), package manifests, HTML entry (index.html).
• public/: static assets (images, videos) served by the host/CDN.
• src/: the SPA code
– Components/: UI building blocks (AboutMe, Projects, Footer, BottomBlur, etc.)
– Pages/: high-level route components (ProjectsPage, BlogsPage, ContributionsPage)
– contexts/: global React contexts (ThemeContext)
– data/: compile-time data modules (blogs.ts)
– lib/: helper modules (supabaseClient for realtime, pingBus for event dispatch)
– hooks/: custom React hooks (usePresenceCount for live user count)
– main.tsx + App.tsx: application bootstrap and root component
README for additional insights
• Key components described with behavior (video previews, shimmer badge, bottom blur).
• Deployment target: any static host (Vercel/Netlify).
• Real-time feature hints: presence count, live ping chat overlays.