A modern, single-page landing website for a railway technology company built with React (Vite) and Tailwind CSS.
- Modern Design: Dark theme with vibrant accent colors (blue, cyan, teal, orange)
- Fully Responsive: Mobile-first design that works on all devices
- Smooth Animations: Engaging hover effects and transitions
- Component-Based: Clean, modular React components
- Performance Optimized: Built with Vite for lightning-fast development and builds
- React 18 - UI library
- Vite - Build tool and dev server
- Tailwind CSS - Utility-first CSS framework
- Google Fonts (Inter) - Modern typography
- Node.js (v14 or higher)
- npm or yarn
-
Install Dependencies
npm install
-
Start Development Server
npm run dev
The site will be available at
http://localhost:5173 -
Build for Production
npm run build
-
Preview Production Build
npm run preview
raildevhub-landing/
├── src/
│ ├── components/
│ │ ├── Header.jsx # Navigation bar with logo and menu
│ │ ├── Hero.jsx # Hero section with headline and CTAs
│ │ ├── Values.jsx # Core values section with cards
│ │ ├── InnovationLab.jsx # Innovation projects showcase
│ │ ├── TechStack.jsx # Technology stack display
│ │ └── Footer.jsx # Footer with links and contact
│ ├── App.jsx # Main app component
│ ├── main.jsx # React entry point
│ └── index.css # Global styles and Tailwind imports
├── index.html # HTML template
├── tailwind.config.js # Tailwind configuration
├── vite.config.js # Vite configuration
└── package.json # Project dependencies
- Background: Gray-900, Blue-950 (dark theme)
- Accents:
- Primary Blue:
#3b82f6to#06b6d4 - Orange:
#f97316 - Teal:
#14b8a6 - Cyan:
#06b6d4
- Primary Blue:
- Font Family: Inter (Google Fonts)
- Headings: Bold, large sizes (text-4xl to text-7xl)
- Body: Regular weight, comfortable reading size
- Fixed navigation bar with scroll effect
- Responsive mobile menu
- Smooth hover animations
- Full-screen hero section
- Animated background gradients
- Two prominent CTA buttons
- Statistics display
- 4-column grid (responsive)
- Icon-based cards
- Hover effects with gradient borders
- Project cards with progress bars
- Technology badges
- Status indicators
- Categorized technology display
- Icon-based tech items
- Hover animations
- Multi-column layout
- Social media links
- Contact information
- Legal links
Edit tailwind.config.js:
theme: {
extend: {
colors: {
primary: { /* your colors */ },
accent: { /* your accent colors */ }
}
}
}Each component is self-contained. Update the content directly in the component files:
Header.jsx- Navigation linksHero.jsx- Headline and descriptionValues.jsx- Core values contentInnovationLab.jsx- Project cardsTechStack.jsx- Technologies listFooter.jsx- Footer links and contact info
- Mobile: < 640px
- Tablet: 640px - 1024px
- Desktop: > 1024px
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
This project is created for educational purposes.
Feel free to customize and extend this template for your own projects!
Built with ❤️ using React, Vite, and Tailwind CSS