bingo / settings.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 Settings</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/n极m/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></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: #极F6D5; }
</style>
</head>
<body class="bg-eco-green min-h-screen pb-16">
<!-- 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">
<a href="index.html" class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="chevron-left"></i>
</a>
<h1 class="text-xl font-bold text-eco-green">Settings</h1>
</div>
</div>
</header>
<!-- Settings Sections -->
<section class="container mx-auto px-4 py-4">
<!-- Notifications -->
<div class="bg-white rounded-xl shadow-sm p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-3">Notifications</h2>
<div class="space-y-3">
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Collection Reminders</p>
<p class="text-sm text-gray-500">Get notified before bin day</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-600"></div>
</label>
</div>
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Reminder Time</p>
<p class="text-sm text-gray-500">When to receive notifications</p>
</div>
<select class="bg-gray-100 border-0 rounded-lg px-3 py-1 text-sm">
<option>Night before (8 PM)</option>
<option>Morning of (7 AM)</option>
<option>Both times</option>
</select>
</div>
</div>
</div>
<!-- Account -->
<div class="bg-white rounded-xl shadow-sm p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-3">Account</h2>
<div class="space-y-3">
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Email Address</p>
<p class="text-sm text-gray-500">user@example.com</p>
</div>
<button class="text-green-600 text-sm font-medium">Change</button>
</div>
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Password</p>
<p class="text-sm text-gray-500">••••••••</p>
</div>
<button class="text-green-600 text-sm font-medium">Change</button>
</div>
</div>
</div>
<!-- Addresses -->
<div class="bg-white rounded-xl shadow-sm p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-3">Addresses</h2>
<div class="space-y-3">
<div class="flex justify-between items-center">
<div>
<p class="font-medium">12 Green Street, Dublin</p>
<p class="text-sm text-gray-500">Primary address</p>
</div>
<button class="text-green-600 text-sm font-medium">Edit</button>
</div>
<button class="w-full text-center text-green-600 py-2 border border-green-600 rounded-lg font-medium">
<i data-feather="plus" class="w-4 h-4 inline mr-1"></i>
Add New Address
</button>
</div>
</div>
<!-- App Settings -->
<div class="bg-white rounded-xl shadow-sm p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-3">App Settings</h2>
<div class="space-y-3">
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Dark Mode</p>
<p class="text-sm text-gray-500">Use dark theme</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-600"></div>
</label>
</div>
<div class="flex justify-between items-center">
<div>
<p class="font-medium">Language</p>
<p class="text-sm text-gray-500">App language</p>
</div>
<select class="bg-gray-100 border-0 rounded-lg px-3 py-1 text-sm">
<option>English</option>
<option>Irish</option>
</select>
</div>
</div>
</div>
<!-- Support -->
<div class="bg-white rounded-xl shadow-sm p-4 mb-4">
<h2 class="font-semibold text-gray-700 mb-3">Support</h2>
<div class="space-y-3">
<button class="w-full text-left py-2">
<p class="font-medium">Help Center</p>
<p class="text-sm text-gray-500">Get help with BinGo</p>
</button>
<button class="w-full text-left py-2">
<p class="font-medium">Contact Support</p>
<p class="text-sm text-gray-500">Send us a message</p>
</button>
<button class="w-full text-left py-2">
<p class="font-medium">Rate BinGo</p>
<p class="text-sm text-gray-500">Share your experience</p>
</button>
</div>
</div>
<!-- Legal -->
<div class="bg-white rounded-xl shadow-sm p-4">
<h2 class="font-semibold text-gray-700 mb-3">Legal</h2>
<div class="space-y-3">
<button class="w-full text-left py-2 text-sm">
Privacy Policy
</button>
<button class="w-full text-left py-2 text-sm">
Terms of Service
</button>
</div>
</div>
</section>
<!-- 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="index.html" class="py-3 px-4 text-gray-500">
<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();
</script>
</body>
</html>