Skip to content

Vorajay2005/TravelFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TravelFlow 🌍

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

✨ Features

Recent Improvements ⚑

  • πŸ”— 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

Core Features

  • 🏠 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

πŸš€ Technologies Used

  • 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

πŸ“ Project Structure

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

🎨 Design Features

Visual Elements

  • 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

Color Scheme

  • Primary: #1e3c72 (Deep Blue)
  • Secondary: #2a5298 (Royal Blue)
  • Accent: #feca57 (Golden Yellow)
  • Highlights: #ff6b6b (Coral Red)
  • Background: #f8f9fa (Light Gray)

πŸ› οΈ Installation & Setup

Quick Start

🌐 View Live Demo - No installation required!

Local Development

  1. Clone or Download the project files
  2. Web Server: Place files in your web server directory (e.g., XAMPP's htdocs)
  3. Open in Browser: Navigate to http://localhost/TravelFlow/ or your local server path
  4. No Build Process: The project uses vanilla HTML/CSS/JS with modular CSS architecture

For XAMPP Users

# Place the project in XAMPP's htdocs directory
/Applications/XAMPP/xamppfiles/htdocs/projects/TravelFlow/

# Start XAMPP and navigate to:
http://localhost/projects/TravelFlow/

CSS Architecture

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 animations
  • destinations.html: Contains destination page styles with search, filters, and destination cards
  • packages.html: Contains package page styles with pricing cards and comparison tables
  • testamonials.html: Contains testimonials page styles with customer reviews and ratings
  • blog.html: Contains blog page styles with grid layouts and article cards
  • article.html: Contains individual article page styles with content formatting

Benefits of Embedded CSS Architecture

  • 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

πŸ“± Responsive Breakpoints

  • Mobile: 320px - 768px
  • Tablet: 768px - 1024px
  • Desktop: 1024px and above

🌟 Key Pages

Homepage (index.html)

  • 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

Destinations (destinations.html)

  • Interactive destination cards with hover effects
  • Search and filter functionality
  • Detailed destination information with ratings
  • Price display and booking integration
  • Responsive grid layout

Packages (packages.html)

  • 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

Testimonials (testamonials.html)

  • 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

Blog (blog.html & article.html)

  • Travel articles with category filtering
  • Search functionality for blog content
  • Featured article section
  • Individual article pages with sidebar
  • Social sharing buttons and related content

πŸ”§ Customization

Colors

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 */
}

Adding New Pages

  1. Create a new HTML file (e.g., newpage.html)

  2. 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>
  3. Use the existing CSS variables and design patterns for consistency

Styling Structure

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>

Content

  • Replace placeholder text with your content
  • Update images with your travel photos
  • Modify navigation links as needed
  • Customize contact information

Animations

  • 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

πŸ“Š Performance Features

  • 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

πŸš€ Future Enhancements

  • 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)

🀝 Contributing

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is open source and available under the MIT License.

πŸ“ž Support

For support, questions, or suggestions:

  • Create an issue in the repository
  • Contact the development team
  • Check the documentation

πŸ™ Acknowledgments

  • 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors