Skip to content

Commit

Permalink
80% of the tasks done.
Browse files Browse the repository at this point in the history
  • Loading branch information
kelechukwufavour committed Aug 11, 2024
0 parents commit efb8816
Show file tree
Hide file tree
Showing 40 changed files with 747 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This portfolio Project is a simple Travel Landing Page.
AUTHOR: KELECHUKWUFAVOUR
48 changes: 48 additions & 0 deletions categories.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Categories</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<section id="category-section" class="category-section">
<h2 class="section-title">CATEGORY</h2>
<p class="section-subtitle">We Offer Best Services</p>
<div class="services-container">
<div class="service-item">
<img src="images/Group 48.png" alt="Calculated Weather" class="service-img" />
<h3 class="service-title">Calculated Weather</h3>
<p class="service-description">
Built Wicket longer admire do barton vanity itself do in it.
</p>
</div>
<div class="red-shape"></div>
<div class="service-item">
<img src="images/Group 51.png" alt="Best Flights" class="service-img" />
<h3 class="service-title">Best Flights</h3>
<p class="service-description">
Engrossed listening. Park gate sell they west hard for the.
</p>
</div>
<div class="red-shape"></div>
<div class="service-item">
<img src="images/Group 50.png" alt="Local Events" class="service-img" />
<h3 class="service-title">Local Events</h3>
<p class="service-description">
Barton vanity itself do in it. Preferred to men it engrossed listening.
</p>
</div>
<div class="red-shape"></div>
<div class="service-item">
<img src="images/Group 49.png" alt="Customization" class="service-img" />
<h3 class="service-title">Customization</h3>
<p class="service-description">
We deliver outsourced aviation services for military customers.
</p>
</div>
</div>
</section>
</body>
</html>
37 changes: 37 additions & 0 deletions destinations.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Destinations</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<section class="location">
<div class="location-heading">
<h2>Top Selling</h2>
<h2>Top Destinations</h2>
</div>
<div class="top-locations">
<div class="location-item">
<img src="images/Destination.png" alt="Rome Picture" />
<p>Rome, Italy <span>$5.42k</span></p>
<p><span class="unicode">&#8663;</span> 10 Days Trip</p>
</div>
<div class="location-item">
<img src="images/destination2.png" alt="London Clock Tower" />
<p>London, UK <span>$4.2k</span></p>
<p><span class="unicode">&#8663;</span> 12 Days Trip</p>
</div>
<div class="location-item">
<img src="images/Rectangle 14.png" alt="Full Europe" />
<p>Full Europe <span>$15k</span></p>
<p><span class="unicode">&#8663;</span> 28 Days Trip</p>
</div>
<div class="location-pic">
<img src="images/Decore1.png" alt="Decorative Image" />
</div>
</div>
</section>
</body>
</html>
58 changes: 58 additions & 0 deletions footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Header</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<footer>
<div class="footer">
<div class="jadoo">
<h3>Jadoo.</h3>
<p>Book your trip in minutes, get full control for much longer.</p>
</div>
<div class="company">
<h3>Company</h3>
<p>About</p>
<p>Careers</p>
<p>Mobile</p>
</div>
<div class="contact">
<h3>Contact</h3>
<p>Help/FAQ</p>
<p>Press</p>
<p>Affiliates</p>
</div>
<div class="more">
<h3>More</h3>
<p>Airline fees</p>
<p>Airline</p>
<p>Low fare tips</p>
</div>
<div class="socials">
<div class="social-icons">
<img class="social-media" src="images/facebook.png" alt="Facebook" />
<img class="social-media" src="images/instagram.png" alt="Instagram" />
<img class="social-media" src="images/twitter.png" alt="Twitter" />
</div>
<div class="app-section">
<p>Discover our app</p>
<div class="app-buttons">
<button class="install-btn">
<img src="images/google.png" alt="Google Play Store" />
Get on Google Playstore
</button>
<button class="install-btn">
<img src="images/apple.png" alt="Apple App Store" />
Available on App Store
</button>
</div>
</div>
</div>
</div>
<div class="reference">
<p>All rights reserved @Jadoo.co</p>
</div>
</footer>
39 changes: 39 additions & 0 deletions header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Header</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<nav class="top-nav">
<!-- Navigation and Logo Container -->
<div class="nav-container">
<!-- Logo Section -->
<div class="logo-container">
<img src="images/logo.png" alt="logo" class="logo" />
</div>

<!-- Navigation Menu -->
<div class="menu-container">
<button class="nav-btn" onclick="location.href='#destinations'">Destinations</button>
<button class="nav-btn" onclick="location.href='#hotels'">Hotels</button>
<button class="nav-btn" onclick="location.href='#flights'">Flights</button>
<button class="nav-btn" onclick="location.href='#bookings'">Bookings</button>
<button class="nav-btn" onclick="location.href='#login'">Login</button>
<button class="sign-up-btn">Sign Up</button>
<select id="language-select" class="language-select">
<option value="en">En</option>
<option value="yo">Yoruba</option>
<option value="ha">Hausa</option>
<option value="pidgin">Pidgin</option>
<option value="ig">Igbo</option>
</select>
</div>
</div>
</nav>
</header>
</body>
</html>
39 changes: 39 additions & 0 deletions hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hero Section</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<section class="hero-section">
<!-- Overlay Images -->
<div class="bg-container">
<img class="bg-img" src="images/decore.png" alt="Decorative Image" />
</div>
<div class="image-overlay">
<img class="human-img" src="images/hero.png" alt="Human Image" />
</div>

<!-- Main Content -->
<div class="text-section">
<p class="text-one">BEST DESTINATIONS AROUND THE WORLD</p>
<h1 class="h1">Travel, enjoy and live a new and full life</h1>
<p class="content">
Built Wicket longer admire do barton vanity itself do in it.
Preferred to sportsmen it engrossed listening. Park gate sell they
west hard for the.
</p>
<img src="images/zizzag.png" alt="Decorative Line" class="red-line" />
<div class="play-demo">
<button class="find-btn">Find out more</button>
<button class="play-btn">&#9658;</button>
<p>Play Demo</p>
</div>
</div>


</section>
</body>
</html>
Binary file added images/Destination.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 42.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 51.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 63.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Group 78.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Rectangle 14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/decore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/decore1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/destination2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/favicon.ico
Binary file not shown.
Binary file added images/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image 27.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image 28.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image 30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image 31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/plane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/plane1.png
Binary file added images/twitter.png
Binary file added images/zizzag.png
19 changes: 19 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Travel Website Landing Page</title>
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles.css" />
<script defer src="script.js"></script>
</head>
<body>
<div id="header"></div>
<div id="hero"></div>
<div id="categories"></div>
<div id="destinations"></div>
<div id="subscribe"></div>
<div id="footer"></div>
</body>
</html>
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "jadoo_travels",
"version": "1.0.0",
"main": "script.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": ""
}
17 changes: 17 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
document.addEventListener("DOMContentLoaded", function() {
function loadSection(id, file) {
fetch(file)
.then(response => response.text())
.then(data => {
document.getElementById(id).innerHTML = data;
})
.catch(error => console.error('Error loading section:', error));
}

loadSection('header', 'header.html');
loadSection('hero', 'hero.html');
loadSection('categories', 'categories.html');
loadSectionoadSection('destinations', 'destinations.html');
loadSection('subscribe', 'subscribe.html');
loadSection('footer', 'footer.html');
});
Loading

0 comments on commit efb8816

Please sign in to comment.