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

fixed gap, added home link, added same navbar for all pages #836

Merged
merged 2 commits into from
Nov 3, 2024
Merged
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
7 changes: 4 additions & 3 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,10 @@
<!-- cursor ends -->

<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="margin-right: 200px; font-size: 20px;">Ticket Marketplace</div>
<div>
<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>
<a href="index.html"><i class="fas fa-home"></i> Home</a>
<a href="about.html" class="active"><i class="fas fa-info-circle"></i> About</a>
<a href="buy.html"><i class="fas fa-ticket-alt"></i> Buy Ticket</a>
Expand Down
35 changes: 19 additions & 16 deletions buy.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,22 +311,25 @@


<header>
<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="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" class="active"><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>

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



</header>
Expand Down
23 changes: 14 additions & 9 deletions contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,18 +339,23 @@

<!-- Navigation -->
<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="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="#contact" class="active"><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 class="logo" style="font-size: 20px; margin-left: 8px;">Ticket Marketplace</div>
</a><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="register.html"><i class="fas fa-sign-in-alt"></i> Login</a>

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


</nav>
<!-- Contact Form Section -->
<section class="container">
Expand Down
9 changes: 5 additions & 4 deletions contributor.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,10 @@
<button class="chatbot-button" id="chatbot-button"><i class="fa-brands fa-telegram"></i></button>
</div>
<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="margin-right: 200px; font-size: 20px;">Ticket Marketplace</div>
<div>
<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>
<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>
Expand All @@ -264,7 +265,7 @@
</div>
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>

</nav>
</nav>

</div>
</div>
Expand Down
26 changes: 12 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,27 +508,25 @@ <h2>What type of transportation do you prefer for your travels?</h2>



<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>
<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>
<a href="index.html"><i class="fas fa-home"></i> Home</a>

<!-- Navbar Links -->
<div id="navLinks">
<a href="index.html" class="active"><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="register.html"><i class="fas fa-sign-in-alt"></i> Login</a>

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

</nav>
<!-- <div class="slider"> -->
<div class="slide active">
<img src="images/6.jpeg" alt="Slide 1">
Expand Down
24 changes: 23 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ h3,
p {
margin-bottom: 20px;
}

/*
.logo {
display: flex;
}
Expand All @@ -86,6 +86,28 @@ p {
font-weight: bold;
color: #00bfa6;
}
/* Logo Container Styling */
.logo-container {
display: flex;
align-items: center;
gap: 8px; /* Adjust as needed */
text-decoration: none;
}

/* Logo Image Styling */
.logo-image {
width: 40px; /* Adjust size as necessary */
height: auto;
}

/* Logo Text Styling */
.logo {
font-size: 1.5rem;
font-weight: bold;
margin-right: 240px;
color: #333;
} */


.nav-links {
list-style: none;
Expand Down