An elegant React-powered frontend showcasing the vibrant Hacktober community events and gallery. Built with modern web technologies to deliver a smooth, responsive user experience.
- 📸 Dynamic event galleries with smooth carousels
- 🎨 Modern UI with Tailwind CSS
- 📱 Fully responsive design
- 🚀 Fast loading and optimized images
- 🌐 Easy deployment to Vercel
- A Create React App-based frontend (
react-scripts). - A reusable gallery component with per-event carousels:
src/components/Gallery.js. - Tailwind CSS for styling and
slick-carouselfor carousel styles. - Static assets under
public/assets/gallery/organized by year (e.g.2k25,2k24).
- Node.js (recommended >=14)
- npm or yarn
- Git
-
Clone the repository
git clone https://github.com/Krushnakant-08/Hacktober-frontend.git cd Hacktober-frontend
-
Install dependencies
npm install
-
Start development server
npm start
The app will be available at
http://localhost:3000
Create an optimized production build:
npm run buildThe build artifacts will be in the build/ directory, ready for deployment.
| Command | Description |
|---|---|
npm start |
Starts development server |
npm run build |
Creates production build |
npm test |
Runs test suite |
npm run build:analyze |
Analyzes bundle size |
public/assets/gallery/
├── 2k25/ # Current year events
│ ├── inag-*.jpg # Inauguration images
│ ├── escap-*.png # Escape Room event
│ └── ...
└── 2k24/ # Previous year
└── ...
- Add images to the appropriate year folder
- Update the
events2025array insrc/components/Gallery.js:{ eventId: 'your-event', title: 'Event Title', description: 'Event description', files: ['image1.jpg', 'image2.jpg'] }
- Preferred formats:
.jpg,.png - Avoid
.HEICfiles for web compatibility - Recommended size: 1200x800px or similar aspect ratio
- Max file size: 500KB per image
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow the existing code style
- Add comments for complex logic
- Update documentation for significant changes
- Test thoroughly before submitting PRs
Built with ❤️ by the SY Web Team for ACM Hacktober 2025.