Built with Vite + React + Tailwind CSS.
- ⚡ Vite – Lightning-fast dev server & bundler
- ⚛️ React 18 – UI library
- 🎨 Tailwind CSS v3 – Utility-first styling
- 🔀 React Router v6 – Client-side routing
- 🖋️ Lucide React – Icon library
- 🔤 Google Fonts: Barlow Condensed (headings) + DM Sans (body)
- Node.js 18+ and npm
# 1. Install dependencies
npm install
# 2. Start dev server
npm run devOpen http://localhost:5173 in your browser.
npm run build
npm run previewPlanet-auto/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ ├── Navbar.jsx # Sticky nav with mega-dropdown menus
│ │ ├── Hero.jsx # Full-bleed hero with vehicle type links
│ │ ├── BrandLogos.jsx # Brand tag cloud
│ │ ├── WhyChoose.jsx # 4-card value propositions
│ │ ├── FeaturedInventory.jsx # 6-vehicle inventory grid
│ │ ├── CTABanner.jsx # Red financing CTA strip
│ │ ├── FinancingSection.jsx # Split financing panel
│ │ ├── SellYourCar.jsx # Sell your car split layout
│ │ ├── Testimonials.jsx # Google review cards
│ │ ├── ContactSection.jsx # Contact form + hours + info
│ │ └── Footer.jsx # Full-width footer
│ ├── pages/
│ │ └── Home.jsx # Assembles all sections
│ ├── App.jsx # Router + layout wrapper
│ ├── main.jsx # React entry point
│ └── index.css # Tailwind directives + custom utilities
├── index.html
├── vite.config.js
├── tailwind.config.js
├── postcss.config.js
└── package.json
Edit tailwind.config.js:
colors: {
brand: {
red: '#D62B2B', // Primary accent
dark: '#111111', // Dark backgrounds
gray: '#1E1E1E',
light: '#F5F5F5', // Section backgrounds
}
}Swap the Google Fonts link in index.html and update tailwind.config.js → fontFamily.
Inventory cards are driven by the vehicles array in src/components/FeaturedInventory.jsx — update with real data or connect to an API.
Original brand belongs to Planet-Auto Cars. Subhro Chatterjee 2026