Skip to content
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
36 changes: 34 additions & 2 deletions css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,15 @@ body {
align-items: center;
max-width: 1200px;
margin: auto;
gap: 1rem;
}

/* Navigation Right Section */
.nav-right {
display: flex;
align-items: center;
gap: 0.8rem;
flex-wrap: wrap;
}

/* Logo */
Expand All @@ -338,7 +347,10 @@ body {
.nav-links {
display: flex;
list-style: none;
gap: 25px;
gap: 1.2rem;
align-items: center;
margin: 0;
padding: 0;
}

.nav-links li a {
Expand Down Expand Up @@ -927,8 +939,22 @@ body {
padding: 10px 15px;
}

.navbar-container {
flex-direction: column;
gap: 1rem;
}

.nav-links {
display: none;
order: 2;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}

.nav-right {
order: 3;
justify-content: center;
gap: 0.5rem;
}

.hero-title {
Expand Down Expand Up @@ -960,6 +986,12 @@ body {
.creator-name {
font-size: 2rem;
}

.feedback-header {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
}

/* Scroll Animations */
Expand Down
33 changes: 30 additions & 3 deletions css/auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,17 @@ html[data-theme="dark"] .auth-title {
align-items: center;
max-width: 1200px;
margin: auto;
flex-wrap: wrap; /* Added for better responsiveness */
gap: 1rem;
}

/* Navigation Right Section */
.nav-right {
display: flex;
align-items: center;
gap: 0.8rem;
flex-wrap: wrap;
}

.logo {
font-size: 1.5rem;
font-weight: bold;
Expand All @@ -181,8 +188,10 @@ html[data-theme="dark"] .auth-title {
.nav-links {
display: flex;
list-style: none;
gap: 25px;
align-items: center; /* Vertically align nav items */
gap: 1.2rem;
align-items: center;
margin: 0;
padding: 0;
}

.nav-links li a {
Expand Down Expand Up @@ -920,6 +929,24 @@ html[data-theme="dark"] .auth-link {
.navbar {
padding: 10px 15px;
}

.navbar-container {
flex-direction: column;
gap: 1rem;
}

.nav-links {
order: 2;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}

.nav-right {
order: 3;
justify-content: center;
gap: 0.5rem;
}

.auth-card {
padding: 1.5rem;
Expand Down
81 changes: 47 additions & 34 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1509,60 +1509,73 @@ body {
display: flex;
align-items: center;
justify-content: space-between;
}

.menu-wrapper {
display: flex;
align-items: center;
position: relative;
}

.menu {
display: flex;
gap: 5px;
flex-wrap: nowrap;
}

.hamburger {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
}

@media (max-width: 768px) {
.hamburger {
display: block;
}
.menu {

.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 65px;
top: 100%;
left: 0;
right: 0;
background: #fff8f0;
padding: 15px;
border-radius: 10px;
width: auto;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 1rem;
border-radius: 0 0 15px 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
z-index: 999;
}
.menu.active {

.nav-links.active {
display: flex;
}

.menu .nav-links {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 0;
padding: 0;
list-style: none;

.nav-links li a {
color: #333 !important;
padding: 0.5rem 1rem;
border-radius: 8px;
transition: all 0.3s ease;
}

.menu .nav-links li a {
color: #000; /* ✅ visible text color */
text-decoration: none;
font-weight: 600;

.nav-links li a:hover {
background: rgba(96, 165, 250, 0.1);
color: #60a5fa !important;
}

.menu .user-info span {
color: #333 !important; /* dark grey */

.nav-right {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 1rem;
border-radius: 0 0 15px 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
z-index: 998;
margin-top: 1px;
}

.nav-right.active {
display: flex;
}
}

Expand Down
24 changes: 13 additions & 11 deletions html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,19 @@
<li><a href="./about.html" class="active">About</a></li>
</ul>

<div class="fb-color">
<a href="./feedback.html">Feedback</a>
<div class="nav-right">
<div class="fb-color">
<a href="./feedback.html">Feedback</a>
</div>
<a href="./scale.html" class="scale-nav-btn">Scale Now</a>
<label class="theme-switch">
<input type="checkbox" id="theme-toggle" />
<span class="slider">
<i class="fas fa-sun"></i>
<i class="fas fa-moon"></i>
</span>
</label>
</div>
<a href="./scale.html" class="cta-btn scale-nav-btn">Scale Now</a>
<label class="theme-switch">
<input type="checkbox" id="theme-toggle" />
<span class="slider">
<i class="fas fa-sun"></i>
<i class="fas fa-moon"></i>
</span>
</label>
</div>
</nav>

Expand Down Expand Up @@ -274,4 +276,4 @@ <h3>Follow Us</h3>
<script src="../js/mouse-trail.js"></script>

</body>
</html>
</html>
10 changes: 5 additions & 5 deletions html/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
<li><a href="./about.html">About</a></li>
</ul>

<div class="fb-color">
<a href="feedback.html">Feedback</a>
</div>
<a href="./signup.html" class="signup-btn">Sign Up</a>
<div class="theme-switch-container">
<div class="nav-right">
<div class="fb-color">
<a href="./feedback.html">Feedback</a>
</div>
<a href="./signup.html" class="signup-btn">Sign Up</a>
<label class="theme-switch">
<input type="checkbox" id="theme-toggle" />
<span class="slider">
Expand Down
34 changes: 17 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,30 @@ <h2>Ready for some baking<span class="dots"></span></h2>
<div class="navbar-container">
<div class="logo"><a href="./index.html">🍰 BakeGenius.ai</a></div>
<button class="hamburger" id="hamburger">&#9776;</button>
<div class="menu" id="menu">
<ul class="nav-links" id="navLinks">
<li><a href="./html/convert.html">Convert Recipe</a></li>
<li><a href="./html/customize.html">Customize</a></li>
<li><a href="./html/recipe_hub.html">Recipe Hub</a></li>
<li><a href="./html/about.html">About</a></li>
</ul>
<ul class="nav-links" id="navLinks">
<li><a href="./html/convert.html">Convert Recipe</a></li>
<li><a href="./html/customize.html">Customize</a></li>
<li><a href="./html/recipe_hub.html">Recipe Hub</a></li>
<li><a href="./html/about.html">About</a></li>
</ul>

<div class="nav-right">
<div class="fb-color">
<a href="./html/feedback.html">Feedback</a>
</div>
<div class="auth-buttons">
<a href="./html/login.html" class="login-btn">Login</a>
<a href="./html/signup.html" class="signup-btn">Sign Up</a>
</div>
<a href="./html/scale.html" class="cta-btn scale-nav-btn">Scale Now</a>
</div>

<label class="theme-switch">
<input type="checkbox" id="theme-toggle" />
<span class="slider">
<i class="fas fa-sun"></i>
<i class="fas fa-moon"></i>
</span>
</label>
<a href="./html/scale.html" class="scale-nav-btn">Scale Now</a>
<label class="theme-switch">
<input type="checkbox" id="theme-toggle" />
<span class="slider">
<i class="fas fa-sun"></i>
<i class="fas fa-moon"></i>
</span>
</label>
</div>
</div>
</nav>

Expand Down
Loading