fruits-veggies-ui / index.html
Baskar2005's picture
Upload 143 files
44b5a6f verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Organic vs Non-Organic | Home</title>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--GOOGLE FONTS-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Fredoka+One&family=Play&display=swap" rel="stylesheet">
<script src="script.js"></script>
</head>
<body>
<!-- Header & Navigation -->
<header>
<nav>
<div class="logo">
<a href="index.html">NatureCompare</a>
</div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
<ul class="nav-links">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="fruits.html">Fruits</a></li>
<li><a href="vegetables.html">Vegetables</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><button id="theme-toggle">🌓</button></li>
</ul>
</nav>
</header>
<main>
<section class="hero">
<div class="hero-content">
<h1>Discover the Difference</h1>
<p>Explore the visual and nutritional differences between organic and non-organic produce</p>
<a href="#categories" class="btn">Start Comparing</a>
</div>
</section>
<section id="categories" class="categories">
<h2>Choose a Category</h2>
<div class="category-cards">
<a href="fruits.html" class="card">
<div class="card-image"
style="background-image: url('https://t4.ftcdn.net/jpg/00/65/70/65/360_F_65706597_uNm2SwlPIuNUDuMwo6stBd81e25Y8K8s.jpg');">
<div class="card-overlay"></div>
</div>
<div class="card-content">
<h3>Fruits</h3>
<p>Compare 10 different organic and non-organic fruits</p>
</div>
</a>
<a href="vegetables.html" class="card">
<div class="card-image" style="background-image: url('https://wallpapercave.com/wp/wp3104916.jpg');">
<div class="card-overlay"></div>
</div>
<div class="card-content">
<h3>Vegetables</h3>
<p>Compare 10 different organic and non-organic vegetables</p>
</div>
</a>
</div>
</section>
</main>
<style>
/* Footer Styles */
.footer {
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin: 1rem;
padding: 1.5rem;
transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-content {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
font-size: 0.875rem;
color: #4a5568;
margin: 0;
padding: 0;
list-style-type: none;
}
.footer-links li {
margin-right: 1rem;
}
.footer-links a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
.footer-divider {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
border-color: #e2e8f0;
}
.footer-credit {
text-align: center;
font-size: 0.875rem;
color: #6b7280;
}
.footer-credit a {
text-decoration: none;
color: #4a5568;
}
/* Dark Mode Footer Styles */
body.dark .footer {
background-color: #333;
color: #f1f1f1;
}
body.dark .footer-links a {
color: #f1f1f1;
}
body.dark .footer-divider {
border-color: #555;
}
body.dark .footer-credit a {
color: #f1f1f1;
}
</style>
<style>
/* Footer Styles */
.footer {
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin: 1rem;
padding: 1.5rem;
transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-content {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
font-size: 0.875rem;
color: #4a5568;
margin: 0;
padding: 0;
list-style-type: none;
}
.footer-links li {
margin-right: 1rem;
}
.footer-links a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
.footer-divider {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
border-color: #e2e8f0;
}
.footer-credit {
text-align: center;
font-size: 0.875rem;
color: #6b7280;
}
.footer-credit a {
text-decoration: none;
color: #4a5568;
}
/* Dark Mode Footer Styles */
body.dark .footer {
background-color: #333;
color: #f1f1f1;
}
body.dark .footer-links a {
color: #f1f1f1;
}
body.dark .footer-divider {
border-color: #555;
}
body.dark .footer-credit a {
color: #f1f1f1;
}
</style>
<footer class="footer">
<div class="footer-content">
<ul class="footer-links">
<li><a href="index.html">Home</a></li>
<li><a href="fruits.html">Fruits</a></li>
<li><a href="vegetables.html">Vegetables</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<hr class="footer-divider" />
<div class="footer-credit">
<span>© 2025 <a href="#">NatureCompare</a>. All Rights Reserved.</span>
</div>
</footer>
<style>
/* Footer Styles */
.footer {
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin: 1rem;
padding: 1.5rem;
transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-content {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
font-size: 0.875rem;
color: #4a5568;
margin: 0;
padding: 0;
list-style-type: none;
}
.footer-links li {
margin-right: 1rem;
}
.footer-links a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
.footer-divider {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
border-color: #e2e8f0;
}
.footer-credit {
text-align: center;
font-size: 0.875rem;
color: #6b7280;
}
.footer-credit a {
text-decoration: none;
color: #4a5568;
}
/* Dark Mode Footer Styles */
body.dark .footer {
background-color: #333;
color: #f1f1f1;
}
body.dark .footer-links a {
color: #f1f1f1;
}
body.dark .footer-divider {
border-color: #555;
}
body.dark .footer-credit a {
color: #f1f1f1;
}
</style>
</body>
</html>