Skip to content
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
26 changes: 12 additions & 14 deletions components/navbar-home.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
<!-- Standardized Navigation Bar for DeshDarshan Homepage -->
<!-- Standardized Navigation Bar for DeshDarshan -->
<nav class="navbar">
<div class="nav-container">
<div class="nav-logo">
<h2><a href="index.html">Desh Darshan</a></h2>
<h2><a href="../index.html">Desh Darshan</a></h2>
</div>
<ul class="nav-menu">
<li><a href="pages/explore.html">Explore India</a></li>
<li><a href="pages/festival-calendar.html">Festival Calendar</a></li>
<li><a href="pages/feedback.html">Feedback</a></li>
<li><a href="pages/about-us.html">About Us</a></li>
<li><a href="pages/contact-us.html">Contact Us</a></li>
<li><a href="../index.html" >Home</a></li>
<li><a href="../pages/explore.html">Explore India</a></li>
<li><a href="../pages/festival-calendar.html">Festival Calendar</a></li>
<li><a href="../pages/crazyfacts.html">Crazy Facts</a></li>
<li><a href="../pages/feedback.html">Feedback</a></li>
<li><a href="../pages/about-us.html">About Us</a></li>
<li><a href="../pages/contact-us.html">Contact Us</a></li>
</ul>
<div class="nav-buttons">
<a href="pages/login.html" class="btn-login">
<a href="../pages/login.html" class="btn-login">
<span>Login</span>
<i class="fas fa-sign-in-alt"></i>
</a>
<a href="pages/signup.html" class="btn-signup">
<a href="../pages/signup.html" class="btn-signup">
<span>Signup</span>
<i class="fas fa-user-plus"></i>
</a>
</div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>

</div>
</nav>
24 changes: 18 additions & 6 deletions components/navbar.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
<!-- Standardized Navigation Bar for DeshDarshan -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>

<link rel="stylesheet" href="../css/navbar.css" />
</head>
<body>
<!-- Standardized Navigation Bar for DeshDarshan -->

<nav class="navbar">
<div class="nav-container">
<div class="nav-logo">
<h2><a href="../index.html">Desh Darshan</a></h2>
</div>
<ul class="nav-menu">
<li><a href="../index.html" >Home</a></li>
<li><a href="../pages/explore.html">Explore India</a></li>
<li><a href="../pages/festival-calendar.html">Festival Calendar</a></li>
<li><a href="../pages/crazyfacts.html">Crazy Facts</a></li>
<li><a href="../pages/feedback.html">Feedback</a></li>
<li><a href="../pages/about-us.html">About Us</a></li>
<li><a href="../pages/contact-us.html">Contact Us</a></li>
Expand All @@ -21,10 +34,9 @@ <h2><a href="../index.html">Desh Darshan</a></h2>
<i class="fas fa-user-plus"></i>
</a>
</div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>

</div>
</nav>

</body>
</html>
28 changes: 28 additions & 0 deletions css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,34 @@
}

/* Responsive Design */
@media (max-width: 1200px) {
.hamburger {
display: flex;
}

.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: rgba(0, 0, 0, 0.95);
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 20px 0;
}

.nav-menu.active {
left: 0;
}

.nav-buttons {
flex-direction: column;
gap: 0.5rem;
}
}

@media (max-width: 768px) {
.hamburger {
display: flex;
Expand Down
177 changes: 0 additions & 177 deletions css/feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,122 +32,6 @@ body::before {
z-index: -1;
}

/* Navigation Styles */
.navbar {
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 1rem 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}

.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.nav-logo h2 {
color: #ff9b36;
font-size: 1.8rem;
font-weight: bold;
margin: 0;
font-family: "Cinzel", serif;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
margin: 0;
}

.nav-menu a {
display: inline-block;
color: white;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease-in-out;
position: relative;
padding: 0.5rem 0;
}

.nav-menu a::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: #ff9933;
transition: width 0.3s ease;
}

.nav-menu a:hover::after {
width: 100%;
}

.nav-menu a:hover {
color: #ff9933;
}

.nav-buttons {
display: flex;
gap: 1rem;
padding-left: 40px;
}

.nav-buttons a {
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
padding: 0.6rem 1.8rem;
border-radius: 16px;
font-weight: 600;
font-size: 1rem;
min-width: 120px;
transition: all 0.3s ease;
gap: 0;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
background: #ff9933;
color: white;
}

.nav-buttons a span {
display: inline-block;
transition: transform 0.3s ease;
}

.nav-buttons a i {
opacity: 0;
position: absolute;
right: 1.2rem;
transition: opacity 0.3s ease, transform 0.3s ease;
transform: translateX(-10px);
}

.nav-buttons a:hover span {
transform: translateX(10px);
}

.nav-buttons a:hover i {
opacity: 1;
transform: translateX(0);
}

/* Main content styles */
.main-content {
padding: 120px 20px 60px;
Expand Down Expand Up @@ -656,70 +540,9 @@ canvas.confetti-canvas {
margin-top: 2rem;
}

/* Mobile Navigation */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
gap: 5px;
z-index: 1001;
}

.hamburger span {
width: 25px;
height: 3px;
background: white;
display: block;
border-radius: 2px;
transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
.hamburger {
display: flex;
}

.nav-menu,
.nav-buttons {
display: none;
flex-direction: column;
position: absolute;
top: 70px;
left: 0;
background-color: rgba(0, 0, 0, 0.95);
width: 100%;
padding: 1rem;
z-index: 100;
}

.nav-menu.active,
.nav-buttons.active {
display: flex;
}

.nav-menu li {
margin: 0.5rem 0;
text-align: center;
}

.nav-buttons {
position: static;
padding: 1rem 0 0;
align-items: center;
}

.main-content {
padding: 100px 20px 60px;
Expand Down
Loading