Stuco-website
- Stars
- 8
- Language
- TypeScript
- Updated
A modern, sleek website for student organizations with a cyberpunk aesthetic and elegant design elements.
✨ Features
- Silk Champagne & Marble Gradient Background - Beautiful animated gradient that covers the entire page
- Golden Scroll Progress Bar - Sleek progress indicator that tracks page scroll
- Dark Mode Toggle - Elegant theme switching functionality
- Responsive Design - Optimized for all device sizes
- Modern UI Components - Built with shadcn/ui components
- Three.js Background - Interactive 3D background elements
- Merchandise Section - Product showcase with filtering and search
- Hero Section - Dynamic landing area with animations
- Navigation - Smooth routing with React Router
🛠️ Tech Stack
- Frontend Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- UI Components: shadcn/ui + Radix UI
- Routing: React Router DOM
- State Management: TanStack Query
- 3D Graphics: Three.js
- Icons: Lucide React
- Forms: React Hook Form + Zod validation
🚀 Getting Started
Prerequisites
- Node.js (v18 or higher)
- npm, yarn, or bun
Installation
-
Clone the repository
git clone https://github.com/Manavarya09/Stuco-website.git cd cyber-campus-glow -
Install dependencies
npm install # or yarn install # or bun install -
Start the development server
npm run dev # or yarn dev # or bun dev -
Open your browser Navigate to
http://localhost:8080(or the port shown in your terminal)
📁 Project Structure
cyber-campus-glow/
├── src/
│ ├── components/ # React components
│ │ ├── ui/ # shadcn/ui components
│ │ ├── HeroSection.tsx
│ │ ├── MerchSection.tsx
│ │ ├── Navbar.tsx
│ │ ├── DarkModeToggle.tsx
│ │ ├── ThreeBackground.tsx
│ │ └── ScrollProgressBar.tsx
│ ├── pages/ # Page components
│ │ ├── Index.tsx
│ │ ├── About.tsx
│ │ └── NotFound.tsx
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ ├── App.tsx # Main app component
│ ├── main.tsx # Entry point
│ └── index.css # Global styles
├── public/ # Static assets
├── tailwind.config.ts # Tailwind configuration
├── vite.config.ts # Vite configuration
└── package.json
🎨 Design Features
Background Gradient
- Animated silk champagne and marble gradient
- 15-second smooth animation cycle
- Fixed attachment for seamless scrolling
Scroll Progress Bar
- Golden gradient design
- Fixed position at top of page
- Smooth width transitions
- High z-index for visibility
Color Palette
- Primary: Blue tones (#1D3557)
- Secondary: Red accents (#E63946)
- Accent: Yellow highlights (#F4A261)
- Background: Champagne and marble gradients
📱 Available Scripts
npm run dev- Start development servernpm run build- Build for productionnpm run build:dev- Build for developmentnpm run lint- Run ESLintnpm run preview- Preview production build
🔧 Configuration
Tailwind CSS
The project uses Tailwind CSS with custom configuration for the cyberpunk theme.
Vite
Optimized build configuration with React SWC for fast development.
TypeScript
Strict TypeScript configuration for type safety.
🚀 Deployment
Build for Production
npm run build
Preview Production Build
npm run preview
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
👨💻 Author
Manavarya Singh
- GitHub: @Manavarya09
🙏 Acknowledgments
- shadcn/ui for the beautiful UI components
- Tailwind CSS for the utility-first CSS framework
- Vite for the fast build tool
- Three.js for 3D graphics
⭐ Star this repository if you found it helpful!