A production-ready Next.js application converted from React, featuring AI-powered fashion design studio.
- β Next.js 15 with App Router
- β TypeScript
- β Tailwind CSS v3
- β Dark mode support (next-themes)
- β GSAP animations
- β Optimized images (next/image)
- β SEO optimized with metadata
- β Responsive design
- Node.js 18+ installed
- npm or yarn
- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
npm run build
npm startthreadz/
βββ app/
β βββ layout.tsx # Root layout with metadata and theme provider
β βββ page.tsx # Home page
β βββ globals.css # Global styles and animations
βββ components/
β βββ navigation.tsx # Navigation bar
β βββ hero.tsx # Hero section
β βββ studio-section.tsx
β βββ gallery-section.tsx
β βββ quality-section.tsx
β βββ footer.tsx
β βββ magnetic-button.tsx
β βββ gsap-provider.tsx
β βββ theme-provider.tsx
βββ hooks/
β βββ use-typing-effect.ts
βββ public/ # Static assets (favicon, og-image, etc.)
- App Router Structure: Converted to Next.js App Router format
- Client Components: All interactive components marked with "use client"
- Image Optimization: All
<img>tags replaced withnext/image - GSAP Integration: GSAP loaded as npm package instead of CDN
- Theme Management: Using next-themes for dark mode
- SEO: Added comprehensive metadata in layout.tsx
- TypeScript: Full TypeScript support with proper types
- Tailwind: Configured in
tailwind.config.ts - TypeScript: Configured in
tsconfig.json - ESLint: Configured in
.eslintrc.json(ignored during builds) - Next.js: Configured in
next.config.tswith image domains
- The app uses Unsplash images for gallery and studio sections
- GSAP animations are initialized in GSAPProvider component
- Dark mode persists using next-themes
- All components are properly typed with TypeScript
- Add your favicon to
/public/favicon.ico - Add Open Graph image to
/public/og-image.jpg(1200x630px) - Customize metadata in
app/layout.tsx - Deploy to Vercel or your preferred hosting platform