How priyankabedwal777/myportfolio works
Project type and purpose
• This is a Next.js full-stack web application using the App Router (“app/” folder) to render pages and a single serverless API endpoint under “app/api/send.”
• Purpose: a static/SSR portfolio or marketing site (hero, about, projects, achievements, contact sections) with a “send” endpoint to deliver emails (likely via an external mail service).
File structure
• Top-level “app/” directory follows Next.js App Router conventions:
• layout.js – global layout
• page.js – main entry page
• globals.css – global styles
• api/send/route.js & send.js – serverless function for form submissions
• “components/” holds UI widgets (hero, navbar, project cards, email section, footer, etc.)
• “public/” serves static assets (images, project screenshots)
• Config files: next.config.mjs, tailwind.config.js, postcss.config.js, jsconfig.json, ESLint/.gitignore, package.json
• No databases or internal data stores—only an external email service integration
README for additional insights
• Built with create-next-app, uses next/font for Inter Google Font optimization
• No mention of a database or other external systems beyond standard Next.js & Vercel deployment
Detail
• SSR vs. SSG behavior if pages are pre-rendered vs. server-rendered
• Don’t hesitate to break the UI layer into its key components (Navbar, Hero, EmailSection) to show how they compose the page