Welcome to the Hack4COOU hackathon website! This is a modern, responsive web application built with Next.js, React, and Tailwind CSS.
Hack4COOU is a comprehensive hackathon landing page featuring:
- Event information and registration
- Pre-hackathon training courses
- Schedule and timeline tracking
- Mentors and team showcase
- Sponsor highlights
- Prize information
- FAQ section
hack4coou/
├── app/
│ ├── layout.tsx # Root layout with metadata
│ ├── page.tsx # Main landing page
│ └── globals.css # Global styles
├── components/
│ ├── ui/ # Reusable shadcn/ui components
│ ├── navbar.tsx # Navigation bar
│ ├── hero-section.tsx # Hero banner
│ ├── about-section.tsx # About section
│ ├── why-participate-section.tsx # Why participate section
│ ├── who-can-participate-section.tsx # Eligibility section
│ ├── training-section.tsx # Pre-hackathon training
│ ├── prizes-section.tsx # Prize information
│ ├── sponsors-section.tsx # Sponsors grid
│ ├── timeline-section.tsx # Event schedule
│ ├── faq-section.tsx # FAQ accordion
│ └── footer-section.tsx # Footer
├── data/
│ ├── hero-data.ts # Hero section content
│ ├── training-data.ts # Training courses
│ ├── prizes-data.ts # Prize tiers
│ ├── sponsors-data.ts # Sponsor information
│ ├── timeline-data.ts # Event timeline
│ ├── faq-data.ts # FAQ items
│ ├── footer-data.ts # Footer links
│ ├── mentors-data.ts # Mentor profiles
│ └── team-data.ts # Team members
├── hooks/
│ └── use-mobile.tsx # Mobile detection hook
├── lib/
│ └── utils.ts # Utility functions
└── public/
└── assets/ # Images and media
The project uses:
- Tailwind CSS v4 for styling
- shadcn/ui components for UI elements
- Next.js 16 with App Router
- React 19.2 with modern hooks
- Primary:
#13ec80(Green) - Secondary:
#0B0C10(Dark) - Accent:
#15181E(Lighter Dark) - Gray: Various gray shades for text
next- React frameworkreact&react-dom- UI librarytailwindcss- Utility-first CSSrecharts- Charting libraryradix-ui- Accessible component primitiveslucide-react- Icon library
-
Clone the repository
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser
npm run build
npm startAll content is centralized in the /data folder. To update any section:
- Training Courses: Edit
data/training-data.ts - Prizes: Edit
data/prizes-data.ts - Sponsors: Edit
data/sponsors-data.ts - Timeline: Edit
data/timeline-data.ts - FAQs: Edit
data/faq-data.ts - Mentors: Edit
data/mentors-data.ts
Each data file exports typed interfaces and arrays that are imported by their respective components.
- Each section is a standalone component
- All content is centralized in data files
- Easy to maintain and update
- Mobile-first approach
- Optimized for all screen sizes
- Smooth animations and transitions
- Timeline items highlight on scroll
- Smooth intersection observer effects
- Hover effects on cards
- Smooth transitions
- Accessible buttons and links
-
Update
data/training-data.ts:{ id: "4", title: "New Course", description: "Course description", icon: "icon-name", color: "text-color-code", hoverColor: "group-hover:text-color-code", accentColor: "color-hex", link: "https://link-to-course.com" }
-
The component will automatically render the new course
- Use Tailwind classes for styling
- Prefer semantic classes over arbitrary values
- Maintain consistent spacing using the Tailwind scale
- Use CSS variables for theme colors
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Create a feature branch
- Make your changes
- Ensure all components are properly modularized
- Test on multiple screen sizes
- Submit a pull request
For questions or support, please reach out to the hackathon team.
Happy Hacking! 🚀