A modern, fully responsive website for Cricket 26 built with Next.js 14, TypeScript, shadcn/ui, and Tailwind CSS.
- Framework: Next.js 14 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Icons: Lucide React
- Animations: Framer Motion
- Fonts: Google Fonts (Inter, Poppins)
- ✅ Modern UI/UX: Clean, contemporary design with smooth animations
- ✅ Fully Responsive: Optimized for mobile, tablet, and desktop
- ✅ Type-Safe: Built entirely with TypeScript for better DX
- ✅ Component-Based: Modular, reusable React components
- ✅ Accessible: WCAG compliant with semantic HTML
- ✅ Performance: Optimized with Next.js 14 App Router
- ✅ Dark Mode Ready: Uses Tailwind's dark mode capabilities
- Hero Section - Eye-catching landing with animated stats
- Features - Showcase of 6 key game features with icons
- Game Modes - Detailed cards for Career, Tournament, and Online modes
- Gallery - Visual showcase with hover effects
- System Requirements - Min/Recommended specs comparison
- CTA Section - Call-to-action with platform availability
- Footer - Comprehensive links and social media
BA_C26/
├── app/
│ ├── layout.tsx # Root layout with metadata
│ ├── page.tsx # Home page
│ └── globals.css # Global styles and Tailwind config
├── components/
│ ├── ui/ # shadcn/ui components
│ │ ├── button.tsx
│ │ ├── card.tsx
│ │ └── separator.tsx
│ ├── navigation.tsx # Main navigation
│ ├── hero.tsx # Hero section
│ ├── features.tsx # Features grid
│ ├── game-modes.tsx # Game modes section
│ ├── gallery.tsx # Gallery section
│ ├── system-requirements.tsx
│ ├── cta-section.tsx
│ └── footer.tsx
├── lib/
│ └── utils.ts # Utility functions
├── public/ # Static assets
├── package.json
├── tsconfig.json
├── tailwind.config.ts
├── next.config.js
└── components.json # shadcn/ui config
- Node.js 18+
- npm, yarn, or pnpm
-
Clone the repository
git clone <repository-url> cd BA_C26
-
Install dependencies
npm install # or yarn install # or pnpm install
-
Run development server
npm run dev # or yarn dev # or pnpm dev
-
Open in browser Navigate to http://localhost:3000
npm run build
npm run startThe design uses a cricket-themed color scheme:
- Primary: Cricket Green (
hsl(152, 45%, 28%)) - Secondary: Gold/Yellow (
hsl(45, 93%, 55%)) - Background: Light/Dark variants
- Accent: Muted tones for secondary elements
Colors are defined in app/globals.css using CSS custom properties and can be easily customized.
shadcn/ui components can be added via CLI:
npx shadcn-ui@latest add [component-name]Edit app/globals.css to change color variables:
:root {
--primary: 152 45% 28%;
--secondary: 45 93% 55%;
/* ... */
}The project uses strict TypeScript settings. Modify tsconfig.json as needed for your preferences.
Reusable shadcn/ui components:
Button- Flexible button with variantsCard- Container with header, content, footerSeparator- Horizontal/vertical dividers
Section-specific components with TypeScript:
- Type-safe props
- Framer Motion animations
- Responsive design patterns
- Accessibility features
Powered by Framer Motion for smooth, performant animations:
- Scroll-triggered animations (
whileInView) - Staggered transitions
- Hover effects
- Page load animations
- Next.js 14 App Router: Server components by default
- Code Splitting: Automatic route-based splitting
- Image Optimization: Next.js Image component ready
- Font Optimization: Google Fonts with
next/font
- Semantic HTML5 elements
- ARIA labels on interactive elements
- Keyboard navigation support
- Focus indicators
- Color contrast compliance
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLintCreate a .env.local file for environment-specific variables:
# Add your environment variables here
NEXT_PUBLIC_API_URL=The easiest way to deploy is using Vercel:
npm i -g vercel
vercelCan be deployed to any platform supporting Next.js:
- Netlify
- AWS Amplify
- Railway
- Docker
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
© 2026 Big Ant Studios. All rights reserved.
- Development: Big Ant Studios Web Team
- UI Components: shadcn/ui
- Icons: Lucide
- Fonts: Google Fonts (Inter, Poppins)
Built with Next.js, TypeScript, and shadcn/ui 🏏