Your Journey Begins Here
TravelFlow is a modern, responsive travel website that helps users discover amazing destinations, explore travel packages, and plan their perfect getaway. Built with clean HTML, CSS, and JavaScript, it offers an immersive user experience with beautiful animations and interactive features.
π Live Demo
- π Consistent Header: Unified navigation component across all pages
- πΌοΈ Fixed Images: Replaced broken image links with beautiful CSS gradient placeholders
- π± Responsive Design: Enhanced mobile navigation and responsive layouts
- π― Active Navigation: Automatic highlighting of current page in navigation
- β‘ Performance: Optimized loading with modular CSS and JavaScript components
- π Homepage: Stunning hero section with parallax effects and smooth animations
- πΊοΈ Destinations: Explore popular travel destinations with detailed information
- π¦ Packages: Browse premium travel packages with pricing and details
- π¬ Testimonials: Read reviews and experiences from satisfied travelers
- π Blog: Travel articles and tips for better journey planning
- π Interactive Map: Leaflet.js integration for location visualization
- π± Responsive Design: Optimized for all devices and screen sizes
- π¨ Modern UI: Beautiful gradients, animations, and smooth transitions
- HTML5: Semantic markup and structure
- CSS3: Advanced styling with gradients, animations, and responsive design
- JavaScript: Interactive functionality and smooth user experience
- Bootstrap 5.3.0: Responsive grid system and components
- Font Awesome 6.4.0: Beautiful icons throughout the site
- Leaflet.js: Interactive maps for destination visualization
- Google Fonts: Poppins font family for modern typography
TravelFlow/
βββ index.html # Homepage with hero section and overview
βββ destinations.html # Destinations page with travel locations
βββ packages.html # Travel packages and pricing
βββ testamonials.html # Customer reviews and testimonials
βββ blog.html # Travel blog and articles
βββ article.html # Individual blog article page
βββ components/ # Shared components
β βββ header.html # Navigation header component
β βββ header.css # Header styles
β βββ header.js # Header functionality
βββ images/ # Image assets
β βββ placeholder.css # CSS-based placeholder images
β βββ destinations/ # Destination images directory
βββ .zencoder/ # Development configuration
β βββ rules # Coding rules and guidelines
βββ test-header.html # Header component test page
βββ README.md # Project documentation
- Gradient Backgrounds: Beautiful color transitions throughout the site
- Parallax Effects: Smooth scrolling animations on the homepage
- Hover Animations: Interactive elements with smooth transitions
- Glass Morphism: Modern frosted glass effects on navigation
- Floating Elements: Animated icons and decorative elements
- Primary:
#1e3c72(Deep Blue) - Secondary:
#2a5298(Royal Blue) - Accent:
#feca57(Golden Yellow) - Highlights:
#ff6b6b(Coral Red) - Background:
#f8f9fa(Light Gray)
π View Live Demo - No installation required!
- Clone or Download the project files
- Web Server: Place files in your web server directory (e.g., XAMPP's htdocs)
- Open in Browser: Navigate to
http://localhost/TravelFlow/or your local server path - No Build Process: The project uses vanilla HTML/CSS/JS with modular CSS architecture
# Place the project in XAMPP's htdocs directory
/Applications/XAMPP/xamppfiles/htdocs/projects/TravelFlow/
# Start XAMPP and navigate to:
http://localhost/projects/TravelFlow/The project uses embedded CSS architecture with each HTML file containing its own styles:
index.html: Contains all homepage styles including hero section, parallax effects, and animationsdestinations.html: Contains destination page styles with search, filters, and destination cardspackages.html: Contains package page styles with pricing cards and comparison tablestestamonials.html: Contains testimonials page styles with customer reviews and ratingsblog.html: Contains blog page styles with grid layouts and article cardsarticle.html: Contains individual article page styles with content formatting
- Self-contained: Each HTML file contains all necessary styles, making it completely independent
- No External Dependencies: No need to manage separate CSS files or linking issues
- Easy Deployment: Single file deployment for each page
- Quick Development: Styles are immediately available within the same file
- No HTTP Requests: Eliminates additional requests for CSS files, improving load times
- Simplified Structure: Fewer files to manage in the project directory
- Mobile: 320px - 768px
- Tablet: 768px - 1024px
- Desktop: 1024px and above
- Hero section with animated background layers and parallax effects
- Navigation with smooth scroll effects and glass morphism
- Call-to-action buttons with gradient animations
- Scroll indicator animation
- Multiple content sections with unique gradient backgrounds
- Interactive destination cards with hover effects
- Search and filter functionality
- Detailed destination information with ratings
- Price display and booking integration
- Responsive grid layout
- Travel package listings with category tabs
- Pricing information with discount badges
- Feature comparisons and popular package highlights
- Booking functionality with detailed package cards
- Comparison table for easy package evaluation
- Customer reviews with star ratings
- Photo testimonials and author information
- Video testimonials with play functionality
- Statistics section showing customer satisfaction
- Filter options for different testimonial types
- Travel articles with category filtering
- Search functionality for blog content
- Featured article section
- Individual article pages with sidebar
- Social sharing buttons and related content
Update CSS custom properties in the <style> section of each HTML file:
:root {
--primary-color: #1e3c72; /* Deep Blue */
--secondary-color: #2a5298; /* Royal Blue */
--accent-color: #feca57; /* Golden Yellow */
--highlight-color: #ff6b6b; /* Coral Red */
--light-color: #f8f9fa; /* Light Gray */
--dark-color: #333; /* Dark Gray */
}-
Create a new HTML file (e.g.,
newpage.html) -
Add the embedded
<style>section in the<head>:<head> <!-- External CSS libraries --> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet" /> <!-- Embedded styles --> <style> /* Your page-specific styles here */ </style> </head>
-
Use the existing CSS variables and design patterns for consistency
Each HTML file contains its styles in embedded <style> tags:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- External libraries -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css"
rel="stylesheet"
/>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
rel="stylesheet"
/>
<!-- Page-specific embedded styles -->
<style>
/* CSS variables */
:root {
/* color definitions */
}
/* Page-specific styles */
/* ... */
</style>
</head>
<body>
<!-- Page content -->
</body>
</html>- Replace placeholder text with your content
- Update images with your travel photos
- Modify navigation links as needed
- Customize contact information
- Adjust animation durations in the
<style>section of each HTML file - Modify keyframe animations within the embedded styles
- Change transition effects using CSS variables
- Update hover states for interactive elements
- Embedded CSS: No additional HTTP requests for stylesheets, faster initial load
- CSS Variables: Consistent theming and easy customization across all pages
- Optimized Images: Responsive image loading
- CDN Resources: Fast loading of external libraries (Bootstrap, Font Awesome, Leaflet)
- Smooth Animations: Hardware-accelerated CSS transitions
- Mobile-First: Responsive design optimized for all devices
- Self-Contained Pages: Each page is independent with all necessary styles included
- Backend integration for booking system
- User authentication and profiles
- Payment gateway integration
- Advanced search and filtering
- Multi-language support
- Progressive Web App (PWA) features
- Content Management System (CMS)
- Fork the project
- 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
This project is open source and available under the MIT License.
For support, questions, or suggestions:
- Create an issue in the repository
- Contact the development team
- Check the documentation
- Bootstrap team for the responsive framework
- Font Awesome for the beautiful icons
- Leaflet.js for map functionality
- Google Fonts for typography
- Unsplash for placeholder images
Made with β€οΈ for travelers around the world
Start your journey with TravelFlow - where every destination is a new adventure!