Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neatly Arranged the content on footer #842

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 18 additions & 15 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,21 +311,24 @@
});
}
// change icon of the dark/light mode
const menuToggle = document.querySelector('.menu-toggle');
const navLinks = document.querySelector('.nav-links');
menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('active');
menuToggle.classList.toggle('active');
// Special effect for hamburger icon
const bars = menuToggle.querySelectorAll('.bar');
bars.forEach((bar, index) => {
if (menuToggle.classList.contains('active')) {
bar.style.transform = index === 1 ? 'scale(0)' : rotate(${index === 0 ? '45deg' : '-45deg'});
} else {
bar.style.transform = 'none';
}
});
});
const menuToggle = document.querySelector('.menu-toggle');
const navLinks = document.querySelector('.nav-links');

menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('active');
menuToggle.classList.toggle('active');

// Special effect for hamburger icon
const bars = menuToggle.querySelectorAll('.bar');
bars.forEach((bar, index) => {
if (menuToggle.classList.contains('active')) {
bar.style.transform = index === 1 ? 'scale(0)' : `rotate(${index === 0 ? '45deg' : '-45deg'})`;
} else {
bar.style.transform = 'none';
}
});
});


// Close menu when clicking outside
document.addEventListener('click', (event) => {
Expand Down
147 changes: 1 addition & 146 deletions contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,130 +192,7 @@
}

/* Footer */
.footer-container {
background-color: #1f2937;
color: #ffffff;
padding: 40px 0;
font-family: Arial, sans-serif;
}

/* Logo and Tagline */
.footer-logo-section {
text-align: center;
margin-bottom: 30px;
}
.footer-logo {
max-width: 150px;
margin-bottom: 10px;
border-radius: 50px;
}
.footer-logo-section p {
margin: 5px 0;
font-size: 0.95rem;
}
.follow-us {
margin-top: 10px;
font-weight: bold;
}

/* Social Media Icons */
.social-icons a {
display: inline-block;
margin: 0 10px;
color: #12e9cc;
font-size: 1.5rem;
text-decoration: none;
}
.social-icons a:hover {
color: #76b2ab;
}

/* Footer Link Sections */
.footer-links {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin: 20px 100px;
}
.footer-column {
flex-basis: 20%;
margin-bottom: 10px;
}
.footer-column h4 {
font-size: 1rem;
margin-bottom: 10px;
color: #12e9cc;
}
.footer-column ul {
list-style: none;
padding: 0;
}
.footer-column ul li {
margin-bottom: 8px;
}
.footer-column ul li a {
color: #ffffff;
text-decoration: none;
font-size: 0.95rem;
}
.footer-column ul li a:hover {
text-decoration: underline;
}

/* Footer Bottom Links */
.footer-bottom {
text-align: center;
border-top: 1px solid #ddd;
padding-top: 20px;
}
.footer-bottom ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-bottom ul li {
display: inline-block;
margin: 0 15px;
}
.footer-bottom ul li a {
color: #12e9cc;
text-decoration: none;
font-size: 0.95rem;
}
.footer-bottom ul li a:hover {
text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.footer-links {
flex-direction: column;
align-items: center;
}
.footer-column {
flex-basis: 100%;
text-align: center;
}
}

footer ul li a:hover {
color: #fff;
}

/* Scroll Back Button */
#scrollToTop {
position: fixed;
bottom: 30px;
right: 30px;
background-color: #ff8c00;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
cursor: pointer;
display: none; /* Hidden by default */
z-index: 1000;
}


/* Animation */
Expand Down Expand Up @@ -380,26 +257,7 @@ <h2>Contact Us</h2>

<!-- Footer Section -->
<footer class="footer-container">
<div class="footer-top">
<footer>
<div class="footer-logo-section">
<a href="#"> <img src="./images/3.jpeg" alt="easyJet holidays logo" class="footer-logo"></a>
<p style="color: #b5fdf4;">Affordable adventures, unforgettable memories—explore with ease.</p>
<p style="color: #dcfffa;" class="follow-us">FOLLOW US ON HERE:</p>
<div class="social-icons">
<a href="https://www.facebook.com"><i class="fab fa-facebook"></i></a>
<a href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
<a href="https://www.twitter.com"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://www.linkedin.com"><i class="fab fa-linkedin"></i></a>
<a href="https://www.youtube.com"><i class="fab fa-youtube"></i></a>
</div>
</div>

<div class="footer-links">
<div class="footer-column">
<h4>HELPFUL LINKS</h4>
<ul>
<li><a href="#">Help Centre</a></li>
<li><a href="#">Special Assistance</a></li>
<li><a href="#">Download The App</a></li>
<li><a href="#">Booking Conditions</a></li>
Expand Down Expand Up @@ -435,14 +293,11 @@ <h4>FIND US</h4>
<li><a href="sitemap.html">Sitemap</a></li>
</ul>
</div>
</div>

<div class="footer-bottom">
<ul>
<li><a href="#">Holiday Type</a></li>
<li><a href="#">Holiday Deals</a></li>
<li><a href="#">Popular Counters</a></li>
<!-- <li><a href="#">Flight Only</a></li> -->
<li><a href="#">Flight Only</a></li>
<li><a href="#">Top Hotels</a></li>
</ul>
</div>
Expand Down