A modern, responsive landing page template built with React, TypeScript, and Tailwind CSS. Features a clean design with components from Shadcn UI.
- Frontend: React + TypeScript + Vite
- Styling: Tailwind CSS + Shadcn UI
- Backend: Express.js (static file serving)
- Routing: Wouter
- Analytics: Google Analytics + Google Tag Manager
- Environment: Node.js
- 🎨 Modern, responsive design
- 🌗 Light/dark mode support
- 📱 Mobile-first approach
- 🔍 SEO optimized
- 📊 Google Analytics integration
- 🚀 Fast development with HMR
- 💅 Customizable theme
- Clone the repository
- Copy
.env.example
to.env
and update the values:
VITE_GTAG_ID=your-google-analytics-id
VITE_GTM_ID=your-google-tag-manager-id
- Install dependencies:
npm install
- Start the development server:
npm run dev
├── client/ # Frontend code
│ ├── public/ # Static assets
│ └── src/
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities and configs
│ └── pages/ # Page components
└── server/ # Simple Express server for static serving
-
Landing Page Content: Edit components in
client/src/components/
:Hero.tsx
: Main hero sectionFeatures.tsx
: Features sectionSupportedModels.tsx
: Models/services sectionDownload.tsx
: Download/CTA section
-
Styling:
- Global styles:
client/src/index.css
- Theme:
theme.json
- Tailwind config:
tailwind.config.ts
- Global styles:
-
Images: Add to
client/public/
directory -
Routes: Add new pages in
client/src/pages/
and update routing inApp.tsx
- Keep components small and focused
- Use Shadcn UI components from
components/ui/
for consistency - Follow the existing file structure for new features
- Keep environment variables in
.env
(don't commit this file)
- Run
npm run dev
for development with hot reload - Run
npm run build
to create production build
MIT