Skip to content

ShahFaisal03/SwatExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” SwatExplorer β€” Discover the Switzerland of Pakistan

A beautiful, modern, fully responsive tourism website for Swat Valley, Khyber Pakhtunkhwa, Pakistan β€” built with pure HTML5, CSS3 and vanilla JavaScript. No frameworks, no dependencies.

🌐 Live Site: swatexplorer.netlify.app
πŸ“ Repository: github.com/yourusername/SwatExplorer
πŸ‘€ Author: Shah Faisal β€” Mingora, Swat Valley, Pakistan


πŸ“Έ Preview

SwatExplorer Hero


✨ Features

🎨 Design

  • Premium modern UI with cinematic hero sections
  • Glassmorphism cards, gradients and blur effects
  • Mobile-first, fully responsive on all screen sizes
  • Google Fonts β€” Playfair Display + Inter
  • Custom πŸ” favicon in browser tab
  • Deep forest green, river blue and warm orange color palette

🎬 Animations

  • Scroll reveal animations β€” fade up, fade left/right, scale
  • Staggered card animations on attractions grid
  • Slow Ken Burns zoom effect on all hero backgrounds
  • Unique per-page hero effects:
    • πŸ’§ Jarogo β€” animated rain drops falling
    • 🌲 Ushu Valley β€” floating leaves (πŸƒπŸ‚πŸŒΏπŸ)
    • πŸͺ¨ Butkara β€” golden dust particles
  • Animated scroll hint with mouse wheel indicator
  • Smooth scroll on all navigation links

πŸ—Ί Navigation

  • Fixed frosted-glass navbar with scroll effect
  • Click-based dropdown showing all 9 attraction links
  • Slide-in mobile drawer with all pages listed
  • "Book Now" CTA button linking to dedicated booking page
  • Back button on all attraction pages

πŸ“„ Pages (12 total)

Page Description
index.html Main homepage with all sections
booking.html Dedicated full booking page
404.html Custom error page with mountain theme
malam-jabba.html Malam Jabba Ski Resort
kalam.html Kalam Valley
mahodand.html Mahodand Lake
bahrain.html Bahrain Riverside Town
white-palace.html White Palace Marghazar
fizagat.html Fizagat Park
jarogo.html Jarogo Waterfall
butkara.html Butkara Stupa
ushu-valley.html Ushu Valley

🏞 Attractions (9 places)

# Attraction Type Distance
1 β›· Malam Jabba Ski Resort 68 km
2 πŸ” Mahodand Lake Alpine Lake 98 km
3 🌿 Kalam Valley Alpine Valley 99 km
4 🏘 Bahrain Riverside Town 64 km
5 🌳 Fizagat Park Riverside Park 8 km
6 πŸͺ¨ Butkara Stupa Buddhist Heritage 3 km
7 🏰 White Palace Royal Palace 13 km
8 πŸ’§ Jarogo Waterfall Waterfall 101 km
9 🌲 Ushu Valley Ancient Forest 105 km

✈ Booking System

  • Full booking form β€” choose destination, trip type, guests, dates, accommodation, budget
  • 5 package options per attraction page
  • Confirmation modal with full booking summary
  • Auto-generated booking reference (e.g. SWT-955414)
  • WhatsApp integration β†’ opens chat with 03305412327
  • Pre-filled WhatsApp message with all booking details

πŸ“ž Contact

  • WhatsApp: 03305412327 β€” direct chat link
  • Email: shahf29887@gmail.com β€” mailto link
  • Location: Mingora, Swat, KPK β€” Google Maps embed + link

πŸ“ Project Structure

SwatExplorer/
β”‚
β”œβ”€β”€ πŸ“„ index.html               # Homepage
β”œβ”€β”€ πŸ“„ booking.html             # Booking page
β”œβ”€β”€ πŸ“„ 404.html                 # Error page
β”œβ”€β”€ πŸ“„ malam-jabba.html         # Malam Jabba Ski Resort
β”œβ”€β”€ πŸ“„ kalam.html               # Kalam Valley
β”œβ”€β”€ πŸ“„ mahodand.html            # Mahodand Lake
β”œβ”€β”€ πŸ“„ bahrain.html             # Bahrain Town
β”œβ”€β”€ πŸ“„ white-palace.html        # White Palace Marghazar
β”œβ”€β”€ πŸ“„ fizagat.html             # Fizagat Park
β”œβ”€β”€ πŸ“„ jarogo.html              # Jarogo Waterfall
β”œβ”€β”€ πŸ“„ butkara.html             # Butkara Stupa
β”œβ”€β”€ πŸ“„ ushu-valley.html         # Ushu Valley
β”‚
β”œβ”€β”€ πŸ“‚ css/
β”‚   β”œβ”€β”€ global.css              # Shared styles β€” nav, footer, animations
β”‚   β”œβ”€β”€ home.css                # Homepage only styles
β”‚   β”œβ”€β”€ attraction.css          # All attraction pages shared styles
β”‚   └── booking.css             # Booking page styles
β”‚
β”œβ”€β”€ πŸ“‚ js/
β”‚   β”œβ”€β”€ main.js                 # Shared JS β€” nav, scroll, drawer, animations
β”‚   β”œβ”€β”€ attraction.js           # Lightbox, package selector, booking submit
β”‚   └── booking.js              # Booking form logic, modal, WhatsApp message
β”‚
└── πŸ“‚ images/
    β”œβ”€β”€ my-photo.jpg            # Author photo (About section)
    └── bahrain.jpg             # Bahrain custom image

πŸ›  Tech Stack

Technology Usage
HTML5 Semantic structure for all 12 pages
CSS3 Custom animations, glassmorphism, gradients, responsive grid
Vanilla JavaScript Nav, scroll animations, booking logic, WhatsApp integration
Google Fonts Playfair Display (headings) + Inter (body)
Unsplash API High quality placeholder images
Google Maps Embed Location map in contact section
WhatsApp API Direct booking via wa.me link

⚑ Zero frameworks · Zero dependencies · Pure static site


πŸš€ Deployment

  • Hosted on Netlify via GitHub auto-deploy
  • Every push to main branch automatically updates the live site
  • No build step required β€” pure static files

Deploy yourself:

1. Fork this repo
2. Go to netlify.com β†’ Add new site β†’ Import from Git
3. Select this repo β†’ Deploy

πŸ’» Run Locally

# Clone the repo
git clone https://github.com/yourusername/SwatExplorer.git

# Open in VS Code
code SwatExplorer

# Open index.html with Live Server extension
# Right click index.html β†’ Open with Live Server

πŸ“ž Contact & Booking

Method Details
πŸ“± WhatsApp 03305412327
πŸ“§ Email shahf29887@gmail.com
πŸ“ Location Mingora, Swat Valley, KPK, Pakistan

πŸ‘€ Author

Shah Faisal
πŸ“ Mingora, Swat Valley, Khyber Pakhtunkhwa, Pakistan

"Made with ❀ for the beautiful people and places of Swat Valley"


πŸ“„ License

This project is licensed under the MIT License.
Feel free to use it as inspiration β€” please give credit if you do.

Β© 2025 SwatExplorer Β· Shah Faisal Β· Mingora, Swat


⭐ Support

If you like this project, please give it a ⭐ star on GitHub!
It helps others discover SwatExplorer and supports the work. πŸ™

About

πŸ” A beautiful modern tourism website for Swat Valley, Pakistan β€” built with HTML, CSS & JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors