A modern, responsive car enthusiast website built with React and Tailwind CSS. Showcasing the world's most prestigious automotive brands with stunning visuals and smooth animations.
Note : This is a
Version 2of previousVersion 1- View V1
- π₯ Dynamic Video Hero Carousel - Auto-rotating video backgrounds showcasing premium cars
- π¨ Modern UI/UX - Beautiful, responsive design with Tailwind CSS
- π Brand Search - Real-time search functionality to find your favorite brands
- π± Fully Responsive - Optimized for all devices (mobile, tablet, desktop)
- β‘ Smooth Animations - Engaging transitions and hover effects
- π― Component-Based Architecture - Clean, maintainable React components
- π JSON Data Management - Easy-to-update brand information
- Node.js (v14 or higher)
- npm or yarn
- Move Assets and Logos to public folder (required for React):
# Move Assets folder to public move Assets public\Assets # Move Logos folder to public move Logos public\Logos
Note: React serves static files from the
publicfolder. TheAssetsandLogosfolders need to be inpublicfor the videos and images to load correctly.
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser: Navigate to
http://localhost:3000
npm run buildThis creates an optimized production build in the
buildfolder.
asphalt-velocity-v2/
βββ public/
β βββ index.html # HTML entry point
βββ src/
β βββ components/ # React components
β β βββ Navbar.jsx # Navigation bar
β β βββ Hero.jsx # Hero section with video carousel
β β βββ BrandCards.jsx # Brand showcase grid
β β βββ About.jsx # About section
β β βββ Contact.jsx # Contact & social links
β β βββ Footer.jsx # Footer component
β βββ brands.json # Brand data (logos, links, descriptions)
β βββ App.jsx # Main app component
β βββ index.js # React entry point
β βββ index.css # Tailwind CSS imports
βββ Assets/ # Video files
βββ Logos/ # Brand logo images
βββ Brands/ # Individual brand pages
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js # PostCSS configuration
βββ package.json # Dependencies
Edit src/brands.json to add new brands:
{
"id": 24,
"name": "Brand Name",
"logo": "Logos/brand-logo.png",
"link": "Brands/brand.html",
"description": "Brand description",
"color": "#HEXCOLOR"
}- Tailwind CSS classes are used throughout
- Custom colors defined in
tailwind.config.js - Custom animations in
src/index.css
- React 18 - UI library
- Tailwind CSS 3 - Utility-first CSS framework
- Font Awesome - Icons
- Google Fonts - Typography (Poppins, Alex Brush)
- Mobile:
< 640px - Tablet:
640px - 1024px - Desktop:
> 1024px
- Fixed navigation with scroll effects
- Mobile-responsive hamburger menu
- Smooth scroll to sections
- Video carousel with auto-rotation
- Manual navigation controls
- Video indicators
- Overlay text animations
- Search functionality
- Grid layout with hover effects
- Gradient borders
- Responsive card design
- Feature cards with icons
- Animated sections
- Quote block
- Vision statement
- Social media links
- Contact button
- Hover tooltips
The app uses Create React App under the hood. For advanced configuration, you can eject:
npm run ejectNote: This is a one-way operation!
This project is under MIT License
- All car brands and logos are property of their respective owners
- Video assets included for demonstration purposes
Passionate Learner | Aspiring Developer | Python Enthusiast
Built with β€οΈ for car enthusiasts