bingo / index.html
PureGreenGold's picture
make the buttons link to relative to that page - Initial Deployment
1ab8749 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BinGo - Smart Bin Reminders</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
}
.bin-black { background-color: #2D3748; }
.bin-recycling { background-color: #38B2AC; }
.bin-food { background-color: #68D391; }
.bg-eco-green { background-color: #F0FFF4; }
.text-eco-green { color: #2F855A; }
.border-eco-green { border-color: #C6F6D5; }
</style>
</head>
<body class="bg-eco-green min-h-screen">
<!-- App Header -->
<header class="bg-white shadow-sm sticky top-0 z-10">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center">
<i data-feather="trash-2" class="text-green-600"></i>
</div>
<h1 class="text-xl font-bold text-eco-green">BinGo</h1>
</div>
<div class="flex space-x-4">
<button class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="bell"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="user"></i>
</button>
</div>
</div>
</header>
<!-- Main App Content -->
<main class="container mx-auto px-4 py-6">
<!-- Next Collection Card -->
<section class="mb-8" data-aos="fade-up">
<h2 class="text-lg font-semibold text-gray-700 mb-3">Next Collection</h2>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="bin-recycling p-5 text-white">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-90">Tomorrow</p>
<h3 class="text-2xl font-bold mt-1">Recycling Bin</h3>
<p class="text-sm mt-2">8:00 AM - 12:00 PM</p>
</div>
<div class="bg-white bg-opacity-20 p-3 rounded-full">
<i data-feather="repeat" class="w-6 h-6"></i>
</div>
</div>
</div>
<div class="p-5">
<div class="flex justify-between items-center">
<div>
<p class="text-sm text-gray-500">Your address</p>
<p class="font-medium">12 Green Street, Dublin</p>
</div>
<button class="text-green-600 text-sm font-medium">Change</button>
</div>
</div>
</div>
</section>
<!-- Quick Actions -->
<section class="mb-8" data-aos="fade-up" data-aos-delay="100">
<div class="grid grid-cols-4 gap-3">
<a href="calendar.html" class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mb-2">
<i data-feather="calendar" class="text-green-600"></i>
</div>
<span class="text-xs font-medium">Calendar</span>
</a>
<a href="guide.html" class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mb-2">
<i data-feather="search" class="text-blue-600"></i>
</div>
<span class="text-xs font-medium">Recycling Guide</span>
</a>
<a href="challenges.html" class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center">
<div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mb-2">
<i data-feather="award" class="text-yellow-600"></i>
</div>
<span class="text-xs font-medium">Challenges</span>
</a>
<a href="settings.html" class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mb-2">
<i data-feather="settings" class="text-purple-600"></i>
</div>
<span class="text-xs font-medium">Settings</span>
</a>
</div>
</section>
<!-- Upcoming Collections -->
<section class="mb-8" data-aos="fade-up" data-aos-delay="150">
<div class="flex justify-between items-center mb-3">
<h2 class="text-lg font-semibold text-gray-700">Upcoming</h2>
<a href="calendar.html" class="text-green-600 text-sm font-medium">View All</a>
</div>
<div class="space-y-3">
<div class="bg-white p-4 rounded-xl shadow-sm flex items-center">
<div class="w-12 h-12 bin-food rounded-lg flex items-center justify-center mr-4">
<i data-feather="droplet" class="text-white"></i>
</div>
<div class="flex-1">
<h3 class="font-medium">Food Waste</h3>
<p class="text-sm text-gray-500">Thu, 15 June • 8:00 AM</p>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
<div class="bg-white p-4 rounded-xl shadow-sm flex items-center">
<div class="w-12 h-12 bin-black rounded-lg flex items-center justify-center mr-4">
<i data-feather="trash" class="text-white"></i>
</div>
<div class="flex-1">
<h3 class="font-medium">General Waste</h3>
<p class="text-sm text-gray-500">Mon, 19 June • 8:00 AM</p>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</div>
</div>
</section>
<!-- Eco Challenge -->
<section data-aos="fade-up" data-aos-delay="200">
<div class="bg-gradient-to-r from-green-400 to-green-600 rounded-xl p-5 text-white">
<div class="flex justify-between items-start">
<div>
<h2 class="text-xl font-bold mb-1">Eco Challenge</h2>
<p class="text-sm opacity-90 mb-3">Recycle 5 items this week</p>
<div class="w-full bg-white bg-opacity-30 rounded-full h-2 mb-3">
<div class="bg-white h-2 rounded-full" style="width: 60%"></div>
</div>
<p class="text-xs">3/5 completed</p>
</div>
<div class="bg-white bg-opacity-20 p-3 rounded-full">
<i data-feather="award" class="w-6 h-6"></i>
</div>
</div>
</div>
</section>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 w-full bg-white border-t border-gray-200">
<div class="container mx-auto px-4">
<div class="flex justify-around">
<a href="#" class="py-3 px-4 text-green-600 border-t-2 border-green-600">
<i data-feather="home" class="w-5 h-5 mx-auto"></i>
</a>
<a href="calendar.html" class="py-3 px-4 text-gray-500">
<i data-feather="calendar" class="w-5 h-5 mx-auto"></i>
</a>
<a href="guide.html" class="py-3 px-4 text-gray-500">
<i data-feather="book" class="w-5 h-5 mx-auto"></i>
</a>
<a href="profile.html" class="py-3 px-4 text-gray-500">
<i data-feather="user" class="w-5 h-5 mx-auto"></i>
</a>
</div>
</div>
</nav>
<script>
AOS.init();
feather.replace();
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x68d391,
backgroundColor: 0xf0fff4
});
</script>
</body>
</html>