Skip to content

Landing page modern & responsif untuk Impor Masterclass, dibangun dengan Next.js + TypeScript, Tailwind, dan Shadcn UI.

License

Notifications You must be signed in to change notification settings

irwanx/captstone-project

Repository files navigation

πŸš€ Captstone Project – Landing Page

Forks Stars Issues License

Impor Masterclass adalah landing page modern & responsif untuk program belajar impor langsung dari pabrik China dan optimasi penjualan di Shopee.
Website ini dirancang dengan Next.js + TypeScript serta mengutamakan performa, SEO, dan user experience.

Screenshot Proyek Lihat Demo


✨ Konten Website

  • 🎯 Hero Section – Ajakan belajar impor langsung dari pabrik dengan CTA yang jelas.
  • πŸ›‘ Problem Section – Menampilkan masalah umum pebisnis impor & seller Shopee.
  • πŸ”‘ Solusi Section – Menawarkan solusi lewat masterclass lengkap dengan tools & komunitas.
  • 🎁 Bonus Section – Bonus eksklusif: kalkulator HPP, template chat Mandarin, database supplier, dsb.
  • πŸ’° Simulasi Cuan – Perhitungan potensi profit dari produk impor.
  • πŸ’¬ Testimoni – Cerita sukses member yang sudah ikut.
  • 🎯 Learning Path – Dua jalur: Impor Masterclass & ScaleUp Master Shopee.

πŸ› οΈ Teknologi yang Digunakan

🧠 AI Development Stack

Replicate IBM Granite

πŸš€ Frontend Stack

Next.js React TypeScript Tailwind CSS Shadcn/UI ESLint pnpm

πŸ“š Cara Menjalankan Proyek

Prasyarat

Node.js PNPM

Instalasi

git clone https://github.com/irwanx/captstone-project.git
cd captstone-project
pnpm install

Development Server

pnpm dev

πŸŽ‰ Buka http://localhost:3000 di browser.

πŸ“¦ Deployment

Deploy with Vercel

πŸ“ Struktur Proyek

.
β”œβ”€ app/                          # App Router, halaman, layout, loading, not-found
β”‚  β”œβ”€ globals.css                # Global styles (Tailwind CSS 4)
β”‚  β”œβ”€ layout.tsx                 # Root layout + Theme provider
β”‚  β”œβ”€ loading.tsx                # Skeleton/loading UI
β”‚  β”œβ”€ not-found.tsx              # 404 page
β”‚  └─ page.tsx                   # Halaman landing utama
β”‚
β”œβ”€ assets/                       # Aset non-public (di-import via bundler)
β”‚  β”œβ”€ homepage.png
β”‚  └─ images/
β”‚     β”œβ”€ hero-image.webp
β”‚     β”œβ”€ profile-avatar.jpg
β”‚     └─ ...
β”‚
β”œβ”€ components/                   # Komponen UI terstruktur per domain
β”‚  β”œβ”€ elements/                  # Elemen kecil: overlay, share, social links
β”‚  β”œβ”€ icons/                     # Ikon React (lucide/custom)
β”‚  β”œβ”€ layouts/                   # Layout-level: Navbar, Footer
β”‚  β”œβ”€ sections/                  # Bagian halaman: Hero, Testimonial, dst.
β”‚  β”œβ”€ themes/                    # Theme provider & mode toggle
β”‚  └─ ui/                        # Shadcn/UI primitives (button, card, table, ...)
β”‚
β”œβ”€ constants/                    # Konstanta konfigurasi
β”‚  └─ config.ts
β”‚
β”œβ”€ hooks/                        # Hooks utilitas
β”‚  └─ DevToolsBlocker.tsx
β”‚
β”œβ”€ lib/                          # Utilitas non-UI
β”‚  └─ utils.ts
β”‚
β”œβ”€ public/                       # Aset publik langsung (favicon, icons, sitemap)
β”‚  β”œβ”€ site.webmanifest
β”‚  β”œβ”€ sitemap.xml
β”‚  └─ ...
β”‚
β”œβ”€ middleware.ts                 # Middleware Next.js
β”œβ”€ next-sitemap.config.js        # Konfigurasi next-sitemap
β”œβ”€ next.config.ts                # Konfigurasi Next.js
β”œβ”€ eslint.config.mjs             # ESLint config
β”œβ”€ postcss.config.mjs            # PostCSS config (Tailwind CSS 4)
β”œβ”€ tsconfig.json                 # TypeScript config
β”œβ”€ package.json                  # Scripts & dependencies
└─ README.md

πŸ”„ Alur Data & Rendering

  • Routing & Layout: app/layout.tsx membungkus semua rute; app/page.tsx adalah landing utama.
  • Rendering: Default menggunakan Server Components; komponen interaktif diberi "use client".
  • Styling: Tailwind CSS 4 via app/globals.css dan utility-first classes pada komponen.
  • Middleware: middleware.ts dieksekusi sebelum routing untuk logika ringan/redirect.
  • SEO: next-sitemap menghasilkan sitemap.xml dan robots.txt saat post-build.
  • Assets: Gambar publik disajikan dari public/, aset yang di-import dari assets/ diproses bundler.

🧰 Kualitas Kode & Standar

  • ESLint: Aturan berbasis eslint-config-next + ESLint v9.
  • Prettier: Konsistensi format kode.
  • TypeScript: Strict typing untuk keandalan dan DX lebih baik.
  • Komponen: Nama jelas, pemisahan Server/Client, hindari side-effect di Server Components.

Perintah:

pnpm lint            # Jalankan ESLint
pnpm format          # Format seluruh repo via Prettier
pnpm format:check    # Cek format tanpa menulis perubahan

πŸ“œ Scripts

pnpm dev            # Jalankan dev server (Turbopack)
pnpm build          # Build produksi
pnpm start          # Jalankan server produksi
pnpm postbuild      # Generate sitemap/robots via next-sitemap
pnpm lint           # ESLint
pnpm format         # Prettier write
pnpm format:check   # Prettier check

πŸ“„ Lisensi

Proyek ini dilisensikan di bawah Lisensi MIT. Lihat file LICENSE untuk detailnya.

About

Landing page modern & responsif untuk Impor Masterclass, dibangun dengan Next.js + TypeScript, Tailwind, dan Shadcn UI.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Languages