How mathavanne/maddy-portfolio works
Project type and purpose
• This is a full-stack developer portfolio website built with Next.js (app directory), using React components for the UI, Tailwind/Sass for styling, and Node-style serverless API routes (app/api) for contact and Google integrations.
• Purpose: showcase personal data, skills, projects, blog posts, and provide a contact form with email delivery via EmailJS and spam protection via reCAPTCHA.
File structure
• Top-level configuration: next.config.js, tailwind.config.js, postcss.config.js, jsconfig.json, .eslintrc.json.
• app/
• api/contact/route.js – handles contact form submissions (POST → EmailJS)
• api/google/route.js – handles Google Analytics or Google-related calls
• blog/[slug] – dynamic routes for blog posts
• components/ – React UI components grouped by feature (homepage sections, helpers, navbar, footer)
• css/ – global and component-level SCSS files
• layout.js, page.js – top-level layout and entry page
• public/ – static assets (images, SVGs, Lottie animations)
• utils/ – client-side helper modules and static “data” (JSON exports for personal data, skills, projects, etc.)
Key insights from README
• Uses EmailJS for mail delivery, Google Tag Manager for analytics, and reCAPTCHA for spam protection.
• Data is configurable via utils/data/*.js, and the site is deployed as a static/SSR Next.js app.