Skip to content

Commit

Permalink
Merge pull request #976 from sayanp607/home_toggle
Browse files Browse the repository at this point in the history
Footer in Register Page
  • Loading branch information
ankit071105 authored Nov 5, 2024
2 parents 5659139 + 23ae597 commit 97733ee
Show file tree
Hide file tree
Showing 9 changed files with 734 additions and 309 deletions.
79 changes: 79 additions & 0 deletions Faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQ - Ticket Booking</title>
<link rel="stylesheet" href="footer.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<style>
/* Reset */
Expand Down Expand Up @@ -290,5 +291,83 @@ <h2>Frequently Asked Questions</h2>
});
});
</script>

<footer class="footer-container">
<div class="footer-top">

<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="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><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.html">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>
<li><a href="Faq.html">FAQ</a></li>

</ul>
</div>

<div class="footer-column">
<h4>ABOUT US</h4>
<ul>
<li><a href="#">Media Center</a></li>
<li><a href="#">Investors</a></li>
<li><a href="ModernSlaveryAct.html">Modern Slavery Act</a></li>
<li><a href="terms.html">Terms Of Use</a></li>
</ul>
</div>

<div class="footer-column">
<h4>KEEPING SAFE</h4>
<ul>
<li><a href="atol.html">ATOL Protected</a></li>
<li><a href="./travelawares.html">Travel Aware</a></li>
<li><a href="fcdoTravel.html">FCDO Travel Advice</a></li>
<li><a href="abta.html">ABTA</a></li>
</ul>
</div>

<div class="footer-column">
<h4>FIND US</h4>
<ul>

<li><a href="contactus.html">Contact
<li><a href="GroupCookieNotice.html">Group Cookie Notice</a></li>
<li><a href="privacy.html">Privacy And Policy</a></li>
<li><a href="sitemap.html">Sitemap</a></li>
</ul>
</div>
</div>
</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="#">Top Hotels</a></li>
<li><a href="Faq.html">FAQ</a></li>

</ul>
</div>
</footer>
</body>
</html>
56 changes: 46 additions & 10 deletions buy.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="navbar.css">
<!-- this is for twitter icons -->
<script src="https://kit.fontawesome.com/3d20c433e1.js" crossorigin="anonymous"></script>

Expand Down Expand Up @@ -313,22 +314,26 @@
<header>

<nav class="navbar">
<a href="index.html" style="display: flex; align-items: center; text-decoration: none; white-space: nowrap; margin-right: -250px;">
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="font-size: 20px; margin-left: 8px;">Ticket Marketplace</div>
</a><div>
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="font-size: 20px;">Ticket Marketplace</div>

<!-- Toggle Button (Visible on Small Screens) -->
<button id="navToggle"></button>

<!-- Navbar Links -->
<div id="navLinks">
<a href="index.html"><i class="fas fa-home"></i> Home</a>
<a href="about.html"><i class="fas fa-info-circle"></i> About</a>
<a href="buy.html"><i class="fas fa-ticket-alt"></i> Buy Ticket</a>
<a href="sell.html"><i class="fas fa-tags"></i> Sell</a>
<a href="contactus.html"><i class="fas fa-envelope"></i> Contact</a>
<a href="contributor.html"><i class="fas fa-users"></i> Contributors</a>
<a href="register.html"><i class="fas fa-sign-in-alt"></i> Login</a>

</div>
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>

</nav>
<a href="client/login.html"><i class="fas fa-sign-in-alt"></i> Login</a>
</div>

<!-- Dark Mode Button -->
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
</nav>



Expand Down Expand Up @@ -627,6 +632,37 @@ <h2>Book Your Ticket</h2>
animateCircles();


</script>
<script>
//toggle chatbot function
function toggleChatbot() {
const chatbotContainer = document.getElementById("chatbot-container");
chatbotContainer.classList.toggle("chatbot-show");
}

// Toggle Navbar Links
const navToggle = document.getElementById('navToggle');
const navlinks = document.getElementById('navLinks');

navToggle.addEventListener('click', () => {
navlinks.style.display = navlinks.style.display === 'flex' ? 'none' : 'flex';
});

// Ensure navbar links are visible on large screens
window.addEventListener('resize', () => {
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links on large screens
} else {
navlinks.style.display = 'none'; // Hide links on small screens
}
});

// Set initial state based on the current window size
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links if starting on a large screen
} else {
navlinks.style.display = 'none'; // Hide links if starting on a small screen
}
</script>
<!-- cursor -->
<script>
Expand Down
54 changes: 54 additions & 0 deletions contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,18 +344,34 @@
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="faq.css">
<link rel="stylesheet" href="navbar.css">
</head>
<body>

<!-- Navigation -->
<nav class="navbar">
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="font-size: 20px;">Ticket Marketplace</div>

<!-- Toggle Button (Visible on Small Screens) -->
<button id="navToggle"></button>

<!-- Navbar Links -->
<div id="navLinks">
<div class="logo" style="margin-right: 200px; font-size: 20px;">Ticket Marketplace</div>
<div>
<a href="index.html"><i class="fas fa-home"></i> Home</a>
<a href="about.html"><i class="fas fa-info-circle"></i> About</a>
<a href="buy.html"><i class="fas fa-ticket-alt"></i> Buy Ticket</a>
<a href="sell.html"><i class="fas fa-tags"></i> Sell</a>
<a href="contactus.html"><i class="fas fa-envelope"></i> Contact</a>
<a href="contributor.html"><i class="fas fa-users"></i> Contributors</a>
<a href="client/login.html"><i class="fas fa-sign-in-alt"></i> Login</a>
</div>

<!-- Dark Mode Button -->
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
</nav>
<a href="#contact"><i class="fas fa-envelope"></i> Contact</a>
<a href="contributor.html"><i class="fas fa-users"></i> Contributors</a>
<a href="register.html"><i class="fas fa-sign-in-alt"></i> Login</a>
Expand Down Expand Up @@ -488,6 +504,13 @@ <h4>FIND US</h4>
<div class="footer-links">
<div class="footer-column">
<h4>HELPFUL LINKS</h4>
<ul>
<li><a href="help.html">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>
</ul>
<h4>HELPFUL LINKS</h4>
<ul>
<li><a href="help.html">Help Centre</a></li>
Expand Down Expand Up @@ -1005,5 +1028,36 @@ <h4>FIND US</h4>
alert("Thank you for reaching out! We will get back to you soon.");
});
</script>
<script>
//toggle chatbot function
function toggleChatbot() {
const chatbotContainer = document.getElementById("chatbot-container");
chatbotContainer.classList.toggle("chatbot-show");
}

// Toggle Navbar Links
const navToggle = document.getElementById('navToggle');
const navlinks = document.getElementById('navLinks');

navToggle.addEventListener('click', () => {
navlinks.style.display = navlinks.style.display === 'flex' ? 'none' : 'flex';
});

// Ensure navbar links are visible on large screens
window.addEventListener('resize', () => {
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links on large screens
} else {
navlinks.style.display = 'none'; // Hide links on small screens
}
});

// Set initial state based on the current window size
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links if starting on a large screen
} else {
navlinks.style.display = 'none'; // Hide links if starting on a small screen
}
</script>
</body>
</html>
83 changes: 83 additions & 0 deletions google.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Continue with Google</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.google-login {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
width: 300px;
}
.google-login h2 {
margin-top: 0;
color: #333;
}
.google-login button {
padding: 10px;
width: 100%;
font-size: 16px;
color: #fff;
background-color: #4285f4; /* Google blue */
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.google-login button:hover {
background-color: #357ae8; /* Darker blue */
}
.message {
margin-top: 20px;
font-weight: bold;
}
.success {
color: green;
}
.error {
color: red;
}
</style>
</head>
<body>

<div class="google-login">
<h2>Continue with Google</h2>
<button onclick="continueWithGoogle()">Sign in with Google</button>
<div id="message" class="message"></div>
</div>

<script>
function continueWithGoogle() {
// Simulate Google login
const messageElement = document.getElementById('message');
messageElement.textContent = 'Logging in with Google...';
messageElement.className = 'message';

// Simulate a delay for login process
setTimeout(() => {
messageElement.textContent = 'Login successful! Redirecting to home page...';
messageElement.className = 'message success';
// Redirect to home page after 2 seconds
setTimeout(() => {
window.location.href = 'index.html'; // Change this to your actual home page
}, 2000);
}, 2000); // Simulate a 2-second login process
}
</script>

</body>
</html>
Loading

0 comments on commit 97733ee

Please sign in to comment.