bingo / profile.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 Profile</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>
<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 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">Profile</h1>
</div>
<button class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="edit"></i>
</button>
</div>
</header>
<!-- Profile Info -->
<section class="container mx-auto px-4 py-6">
<div class="text-center">
<div class="w-20 h-20 bg-green-100 rounded-full mx-auto mb-4 flex items-center justify-center">
<i data-feather="user" class="w-10 h-10 text-green-600"></i>
</div>
<h2 class="text-xl font-bold text-gray-800">Sarah Johnson</h2>
<p class="text-gray-600">Dublin, Ireland</p>
<div class="mt-2">
<span class="inline-block bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">
Premium Member
</span>
</div>
</div>
</section>
<!-- Stats -->
<section class="container mx-auto px-4 mb-6">
<div class="bg-white rounded-xl shadow-sm p-5">
<div class="grid grid-cols-3 gap-4 text-center">
<div>
<div class="text-2xl font-bold text-green-600">12</div>
<div class="text-xs text-gray-500">Day Streak</div>
</div>
<div>
<div class="text-2xl font-bold text-blue-600">47</div>
<div class="text-xs text-gray-500">Items Recycled</div>
</div>
<div>
<div class="text-2xl font-bold text-purple-600">5</div>
<div class="text-xs text-gray-500">Challenges</div>
</div>
</div>
</div>
</section>
<!-- Profile Sections -->
<section class="container mx-auto px-4">
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<button class="w-full text-left p-4 border-b border-gray-100 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
<i data-feather="award" class="w-4 h-4 text-blue-600"></i>
</div>
<span class="font-medium">Achievements</span>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</button>
<button class="w-full text-left p-4 border-b border-gray-100 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 bg-green-100 rounded-lg flex items-center justify-center mr-3">
<i data-feather="bar-chart-2" class="w-4 h-4 text-green-600"></i>
</div>
<span class="font-medium">Statistics</span>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</button>
<button class="w-full text-left p-4 border-b border-gray-100 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 bg-yellow-100 rounded-lg flex items-center justify-center mr-3">
<i data-feather="dollar-sign" class="w-4 h-4 text-yellow-600"></i>
</div>
<span class="font-medium">Subscription</span>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</button>
<a href="settings.html" class="w-full text-left p-4 border-b border-gray-100 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 bg-gray-100 rounded-lg flex items-center justify-center mr-3">
<i data-feather="settings" class="w-4 h-4 text-gray-600"></i>
</div>
<span class="font-medium">Settings</span>
</div>
<i data-feather="chevron-right" class="text-gray-400"></i>
</a>
<button class="w-full text-left p-4 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 bg-red-100 rounded-lg flex items-center justify-center mr-3">
<i data-feather="log-out" class="w-4 h-4 text-red-600"></i>
</div>
<span class="font-medium text-red-600">Sign Out</span>
</div>
</button>
</div>
</section>
<!-- App Version -->
<section class="container mx-auto px-4 mt-6 text-center">
<p class="text-xs text-gray-500">BinGo App v1.2.0</p>
</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="#" class="py-3 px-4 text-green-600 border-t-2 border-green-600">
<i data-feather="user" class="w-5 h-5 mx-auto"></i>
</a>
</div>
</div>
</nav>
<script>
AOS.init();
feather.replace();
</script>
</body>
</html>