cosmic-bio-explorer / notifications.html
iamcrash's picture
buttons does not work . u just write index ??
2807afa verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notifications | Cosmic Bio Explorer</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></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.net.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
cosmic: {
100: '#e0e7ff',
200: '#c7d2fe',
300: '#a5b4fc',
400: '#818cf8',
500: '#6366f1',
600: '#4f46e5',
700: '#4338ca',
800: '#3730a3',
900: '#312e81',
},
nebula: {
100: '#f0f9ff',
200: '#e0f2fe',
300: '#bae6fd',
400: '#7dd3fc',
500: '#38bdf8',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
}
}
}
}
}
</script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover: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);
}
</style>
</head>
<body class="gradient-bg text-gray-100 min-h-screen">
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full z-0"></div>
<div class="relative z-10">
<nav class="bg-black bg-opacity-50 backdrop-blur-lg border-b border-gray-800">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="flex items-center">
<i data-feather="activity" class="text-cosmic-400 h-8 w-8"></i>
<span class="ml-2 text-xl font-bold bg-gradient-to-r from-cosmic-400 to-nebula-500 bg-clip-text text-transparent">Cosmic Bio Explorer</span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="dashboard.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
<a href="publications.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Publications</a>
<a href="knowledge-graph.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Knowledge Graph</a>
<a href="trends.html" class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Trends</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<a href="search.html" class="bg-gray-800 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<i data-feather="search" class="h-5 w-5"></i>
</a>
<a href="notifications.html" class="bg-cosmic-600 p-1 rounded-full text-white focus:outline-none">
<i data-feather="bell" class="h-5 w-5"></i>
</a>
<div class="ml-3 relative">
<div>
<a href="profile.html" class="max-w-xs bg-gray-800 rounded-full flex items-center text-sm focus:outline-none">
<span class="sr-only">Open user menu</span>
<img class="h-8 w-8 rounded-full" src="http://static.photos/space/200x200/42" alt="">
</a>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="bg-gray-800 inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none" aria-controls="mobile-menu" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<i data-feather="menu" class="h-6 w-6"></i>
</button>
</div>
</div>
</div>
</nav>
<main class="py-10 px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold text-white">Notifications</h1>
<button class="text-cosmic-400 hover:text-cosmic-300 text-sm font-medium">
Mark all as read
</button>
</div>
<div class="space-y-3">
<!-- Notification 1 -->
<a href="study-detail.html" class="block bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-4 border border-gray-700 hover:border-cosmic-500 transition">
<div class="flex">
<div class="bg-cosmic-600 p-2 rounded-full mr-3 flex-shrink-0">
<i data-feather="file-plus" class="h-4 w-4 text-white"></i>
</div>
<div>
<h3 class="text-sm font-medium text-white">New study added to your saved topics</h3>
<p class="text-xs text-gray-400 mt-1">"Effects of radiation on plant growth" was published today</p>
<p class="text-xs text-gray-500 mt-1">2 hours ago</p>
</div>
<div class="ml-auto bg-cosmic-500 rounded-full h-2 w-2 mt-1"></div>
</div>
</a>
<!-- Notification 2 -->
<a href="study-detail.html" class="block bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-4 border border-gray-700 hover:border-cosmic-500 transition">
<div class="flex">
<div class="bg-nebula-600 p-2 rounded-full mr-3 flex-shrink-0">
<i data-feather="download" class="h-4 w-4 text-white"></i>
</div>
<div>
<h3 class="text-sm font-medium text-white">Dataset downloaded</h3>
<p class="text-xs text-gray-400 mt-1">"Muscle atrophy in microgravity" dataset is ready</p>
<p class="text-xs text-gray-500 mt-1">1 day ago</p>
</div>
</div>
</a>
<!-- Notification 3 -->
<a href="knowledge-graph.html" class="block bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-4 border border-gray-700 hover:border-cosmic-500 transition">
<div class="flex">
<div class="bg-green-600 p-2 rounded-full mr-3 flex-shrink-0">
<i data-feather="link" class="h-4 w-4 text-white"></i>
</div>
<div>
<h3 class="text-sm font-medium text-white">New connections found</h3>
<p class="text-xs text-gray-400 mt-1">5 new links between your saved studies</p>
<p class="text-xs text-gray-500 mt-1">3 days ago</p>
</div>
</div>
</a>
<!-- Notification 4 -->
<a href="trends.html" class="block bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-4 border border-gray-700 hover:border-cosmic-500 transition">
<div class="flex">
<div class="bg-purple-600 p-2 rounded-full mr-3 flex-shrink-0">
<i data-feather="trending-up" class="h-4 w-4 text-white"></i>
</div>
<div>
<h3 class="text-sm font-medium text-white">Trending topic alert</h3>
<p class="text-xs text-gray-400 mt-1">"Microbiome studies" increased by 23% this month</p>
<p class="text-xs text-gray-500 mt-1">1 week ago</p>
</div>
</div>
</a>
</div>
</div>
</main>
</div>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x6366f1,
backgroundColor: 0x0f172a,
points: 12.00,
maxDistance: 20.00,
spacing: 16.00
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>