Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>ImpactChain | Blockchain Social Impact Platform</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
body { | |
font-family: 'Poppins', sans-serif; | |
background-color: #f8fafc; | |
} | |
.gradient-bg { | |
background: linear-gradient(135deg, #4f46e5 0%, #10b981 100%); | |
} | |
.impact-card:hover { | |
transform: translateY(-5px); | |
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
} | |
.token-animation { | |
animation: float 3s ease-in-out infinite; | |
} | |
@keyframes float { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-10px); } | |
100% { transform: translateY(0px); } | |
} | |
.progress-bar { | |
height: 6px; | |
border-radius: 3px; | |
background-color: #e5e7eb; | |
} | |
.progress-fill { | |
height: 100%; | |
border-radius: 3px; | |
background: linear-gradient(90deg, #4f46e5 0%, #10b981 100%); | |
} | |
</style> | |
</head> | |
<body> | |
<!-- Navigation --> | |
<nav class="bg-white shadow-sm"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="flex justify-between h-16"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 flex items-center"> | |
<i class="fas fa-link text-indigo-600 text-2xl mr-2"></i> | |
<span class="text-xl font-bold text-gray-900">ImpactChain</span> | |
</div> | |
<div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
<a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Discover</a> | |
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Invest</a> | |
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Rewards</a> | |
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Impact</a> | |
</div> | |
</div> | |
<div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
<button class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> | |
<i class="fas fa-bell"></i> | |
</button> | |
<div class="ml-3 relative"> | |
<div> | |
<button type="button" class="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true"> | |
<span class="sr-only">Open user menu</span> | |
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center"> | |
<i class="fas fa-user text-indigo-600"></i> | |
</div> | |
</button> | |
</div> | |
</div> | |
<button class="ml-4 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> | |
Connect Wallet | |
</button> | |
</div> | |
<div class="-mr-2 flex items-center sm:hidden"> | |
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"> | |
<i class="fas fa-bars"></i> | |
</button> | |
</div> | |
</div> | |
</div> | |
</nav> | |
<!-- Hero Section --> | |
<div class="gradient-bg text-white"> | |
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8"> | |
<div class="text-center"> | |
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl"> | |
Invest in Change, Earn Rewards | |
</h1> | |
<p class="mt-6 max-w-lg mx-auto text-xl"> | |
The blockchain platform connecting impact investors with social enterprises while rewarding your positive impact. | |
</p> | |
<div class="mt-10 flex justify-center space-x-4"> | |
<a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-600 bg-white hover:bg-gray-50"> | |
Explore Projects | |
</a> | |
<a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-800 bg-opacity-80 hover:bg-opacity-100"> | |
How It Works | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Stats Section --> | |
<div class="bg-white py-12"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">ImpactChain in Numbers</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
Creating measurable change | |
</p> | |
</div> | |
<div class="mt-10"> | |
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4"> | |
<div class="bg-white overflow-hidden shadow rounded-lg"> | |
<div class="px-4 py-5 sm:p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3"> | |
<i class="fas fa-project-diagram text-white text-xl"></i> | |
</div> | |
<div class="ml-5 w-0 flex-1"> | |
<dt class="text-sm font-medium text-gray-500 truncate">Active Projects</dt> | |
<dd class="flex items-baseline"> | |
<div class="text-2xl font-semibold text-gray-900">142</div> | |
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
<i class="fas fa-arrow-up"></i> | |
<span class="sr-only">Increased by</span> | |
12% from last month | |
</div> | |
</dd> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white overflow-hidden shadow rounded-lg"> | |
<div class="px-4 py-5 sm:p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 bg-green-500 rounded-md p-3"> | |
<i class="fas fa-hand-holding-usd text-white text-xl"></i> | |
</div> | |
<div class="ml-5 w-0 flex-1"> | |
<dt class="text-sm font-medium text-gray-500 truncate">Funds Deployed</dt> | |
<dd class="flex items-baseline"> | |
<div class="text-2xl font-semibold text-gray-900">$4.2M</div> | |
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
<i class="fas fa-arrow-up"></i> | |
<span class="sr-only">Increased by</span> | |
24% from last quarter | |
</div> | |
</dd> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white overflow-hidden shadow rounded-lg"> | |
<div class="px-4 py-5 sm:p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 bg-purple-500 rounded-md p-3"> | |
<i class="fas fa-users text-white text-xl"></i> | |
</div> | |
<div class="ml-5 w-0 flex-1"> | |
<dt class="text-sm font-medium text-gray-500 truncate">Community Members</dt> | |
<dd class="flex items-baseline"> | |
<div class="text-2xl font-semibold text-gray-900">8,742</div> | |
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
<i class="fas fa-arrow-up"></i> | |
<span class="sr-only">Increased by</span> | |
37% from last year | |
</div> | |
</dd> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white overflow-hidden shadow rounded-lg"> | |
<div class="px-4 py-5 sm:p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 bg-yellow-500 rounded-md p-3"> | |
<i class="fas fa-coins text-white text-xl"></i> | |
</div> | |
<div class="ml-5 w-0 flex-1"> | |
<dt class="text-sm font-medium text-gray-500 truncate">Impact Tokens Earned</dt> | |
<dd class="flex items-baseline"> | |
<div class="text-2xl font-semibold text-gray-900">2.8M</div> | |
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> | |
<i class="fas fa-arrow-up"></i> | |
<span class="sr-only">Increased by</span> | |
56% from last year | |
</div> | |
</dd> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Featured Projects --> | |
<div class="bg-gray-50 py-16"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Investment Opportunities</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
Featured Social Impact Projects | |
</p> | |
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto"> | |
Browse vetted social enterprises seeking funding and support | |
</p> | |
</div> | |
<div class="mt-10 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3"> | |
<!-- Project Card 1 --> | |
<div class="bg-white rounded-lg shadow overflow-hidden impact-card transition duration-300 ease-in-out"> | |
<div class="relative pb-48 overflow-hidden"> | |
<img class="absolute inset-0 h-full w-full object-cover" src="https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Solar project"> | |
<div class="absolute top-4 right-4 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded-full"> | |
SDG 7: Clean Energy | |
</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519242220831-09410926fbff?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80" alt="Company logo"> | |
</div> | |
<div class="ml-4"> | |
<h3 class="font-bold text-gray-900">SolarForAll</h3> | |
<p class="text-sm text-gray-500">Nairobi, Kenya</p> | |
</div> | |
</div> | |
<h4 class="mt-4 font-semibold text-lg">Off-grid Solar Solutions</h4> | |
<p class="mt-2 text-gray-600">Providing affordable solar home systems to rural communities without access to electricity.</p> | |
<div class="mt-6"> | |
<div class="flex justify-between text-sm text-gray-500"> | |
<span>$125,000 raised</span> | |
<span>85% of goal</span> | |
</div> | |
<div class="mt-1 progress-bar"> | |
<div class="progress-fill" style="width: 85%"></div> | |
</div> | |
</div> | |
<div class="mt-6 flex justify-between items-center"> | |
<div> | |
<span class="text-sm font-medium text-gray-500">Impact Tokens:</span> | |
<span class="ml-1 text-sm font-semibold text-indigo-600">1,250 per $100</span> | |
</div> | |
<button class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> | |
Invest Now | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Project Card 2 --> | |
<div class="bg-white rounded-lg shadow overflow-hidden impact-card transition duration-300 ease-in-out"> | |
<div class="relative pb-48 overflow-hidden"> | |
<img class="absolute inset-0 h-full w-full object-cover" src="https://images.unsplash.com/photo-1529310399831-ed472b81d589?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Education project"> | |
<div class="absolute top-4 right-4 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full"> | |
SDG 4: Quality Education | |
</div> | |
</div> | |
<div class="p-6"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0"> | |
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80" alt="Company logo"> | |
</div> | |
<div class="ml-4"> | |
<h3 class="font-bold text-gray-900">EduTech Africa</h3> | |
<p class="text-sm text-gray-500">Lagos, Nigeria</p> | |
</div> | |
</div> | |
<h4 class="mt-4 font-semibold text-lg">Digital Learning Platforms</h4> | |
<p class="mt-2 text-gray-600">Developing localized digital education content and hardware for underserved schools across Africa.</p> | |
<div class="mt-6"> | |
<div class="flex justify-between text-sm text-gray-500"> | |
<span>$89,500 raised</span> | |
<span>62% of goal</span> | |
</div> | |
<div class="mt-1 progress-bar"> | |
<div class="progress-fill" style="width: 62%"></div> | |
</div> | |
</div> | |
<div class="mt-6 flex justify-between items-center"> | |
<div> | |
<span class="text-sm font-medium text-gray-500">Impact Tokens:</span> | |
<span class="ml-1 text | |
</html> |