How shine-5705/whatstyle_web works
Project type and purpose
• This is a Next.js single-page application (React-based) with server-side rendering (SSR) and static site generation (SSG) capabilities.
• Its purpose is to deliver a multi-page marketing site (features, FAQ, pricing) with optimized fonts and animated Lottie assets, deployed on Vercel or similar platforms.
File structure
• Top-level files:
• next.config.ts, tsconfig.json, bun.lock, package.json – build and dependency configs
• middleware.ts – custom routing or headers logic
• public/ – static assets (Lottie JSON, manifest.json)
• src/app/ – Next.js App Router pages and layouts
• layout.tsx – root layout (shared headers, footers)
• page.tsx under each route (/, /faq, /features, /pricing)
• robots.ts, sitemap.ts – SEO and crawling
• src/components/ – reusable React components
• ui/ – UI primitives (e.g., FloatingNavbar)
• sections/ – page-specific sections (HeroSection)
• StructuredData.tsx – JSON-LD for SEO
• src/types/ – TypeScript types (SEO)
README for additional insights
• Bootstrapped with create-next-app
• Uses next/font for optimized font loading
• No backend API directory – it’s a front-end only project