cosmic-bio-explorer / index.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>Cosmic Bio Explorer | NASA Space Biology Dashboard</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 src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.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);
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
</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">
<!-- Navigation -->
<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="bg-cosmic-600 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">
<button 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>
</button>
<button class="ml-3 bg-gray-800 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<i data-feather="bell" class="h-5 w-5"></i>
</button>
<div class="ml-3 relative">
<div>
<button 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="">
</button>
</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>
<!-- Hero Section -->
<header class="py-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-extrabold mb-6">
<span class="block bg-gradient-to-r from-cosmic-400 to-nebula-500 bg-clip-text text-transparent">Explore NASA's Space Biology</span>
</h1>
<p class="mt-3 max-w-md mx-auto text-lg text-gray-300 sm:text-xl md:mt-5 md:max-w-3xl">
AI-powered insights from 608+ NASA bioscience publications. Simplified explanations for scientists and enthusiasts alike.
</p>
<div class="mt-10 flex justify-center">
<div class="relative w-full max-w-xl">
<input type="text" class="w-full px-5 py-4 rounded-full bg-gray-800 border border-gray-700 focus:outline-none focus:ring-2 focus:ring-cosmic-500 text-white placeholder-gray-400" placeholder="Search space biology studies...">
<a href="search.html" class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-cosmic-600 text-white p-2 rounded-full">
<i data-feather="search" class="h-5 w-5"></i>
</a>
</div>
</div>
</div>
</header>
<!-- Features Section -->
<section class="py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 card-hover border border-gray-700">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-cosmic-500 text-white mb-4">
<i data-feather="book-open" class="h-6 w-6"></i>
</div>
<h3 class="text-lg font-medium text-white mb-2">AI Summarization</h3>
<p class="text-gray-300">
Get concise summaries of complex research papers in simple language or detailed scientific format.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 card-hover border border-gray-700">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-nebula-500 text-white mb-4">
<i data-feather="globe" class="h-6 w-6"></i>
</div>
<h3 class="text-lg font-medium text-white mb-2">Knowledge Graph</h3>
<p class="text-gray-300">
Visualize connections between studies, organisms, and space missions in an interactive network.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 card-hover border border-gray-700">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-cosmic-600 text-white mb-4">
<i data-feather="message-circle" class="h-6 w-6"></i>
</div>
<h3 class="text-lg font-medium text-white mb-2">AI Assistant</h3>
<p class="text-gray-300">
Ask questions in natural language and get expert-level answers about space biology research.
</p>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-8 border border-gray-700">
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 text-center">
<div>
<div class="text-4xl font-bold text-cosmic-400">608+</div>
<div class="mt-1 text-sm font-medium text-gray-300">Research Papers</div>
</div>
<div>
<div class="text-4xl font-bold text-nebula-400">12</div>
<div class="mt-1 text-sm font-medium text-gray-300">Space Missions</div>
</div>
<div>
<div class="text-4xl font-bold text-cosmic-400">7</div>
<div class="mt-1 text-sm font-medium text-gray-300">Organism Types</div>
</div>
<div>
<div class="text-4xl font-bold text-nebula-400">15+</div>
<div class="mt-1 text-sm font-medium text-gray-300">Research Areas</div>
</div>
</div>
</div>
</div>
</section>
<!-- Recent Studies Section -->
<section class="py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<h2 class="text-2xl font-bold text-white mb-6">Recent Space Biology Studies</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Study Card 1 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl overflow-hidden card-hover border border-gray-700">
<img class="w-full h-48 object-cover" src="http://static.photos/science/640x360/1" alt="Space biology research">
<div class="p-6">
<div class="flex items-center text-sm text-gray-400 mb-2">
<span>Human Biology</span>
<span class="mx-2"></span>
<span>ISS</span>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Effects of Microgravity on Muscle Atrophy</h3>
<p class="text-gray-300 text-sm mb-4">Investigating molecular mechanisms behind muscle loss during spaceflight...</p>
<div class="flex justify-between items-center">
<span class="text-xs text-cosmic-300">Published: 2023</span>
<a href="study-detail.html" class="text-cosmic-400 hover:text-cosmic-300 text-sm font-medium flex items-center">
Read Summary <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
<!-- Study Card 2 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl overflow-hidden card-hover border border-gray-700">
<img class="w-full h-48 object-cover" src="http://static.photos/science/640x360/2" alt="Space biology research">
<div class="p-6">
<div class="flex items-center text-sm text-gray-400 mb-2">
<span>Plant Biology</span>
<span class="mx-2"></span>
<span>Moon Simulation</span>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Growth of Crops in Lunar Soil</h3>
<p class="text-gray-300 text-sm mb-4">Examining viability of lunar regolith for sustainable agriculture in space habitats...</p>
<div class="flex justify-between items-center">
<span class="text-xs text-cosmic-300">Published: 2023</span>
<a href="study-detail.html" class="text-cosmic-400 hover:text-cosmic-300 text-sm font-medium flex items-center">
Read Summary <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
<!-- Study Card 3 -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl overflow-hidden card-hover border border-gray-700">
<img class="w-full h-48 object-cover" src="http://static.photos/science/640x360/3" alt="Space biology research">
<div class="p-6">
<div class="flex items-center text-sm text-gray-400 mb-2">
<span>Microbial</span>
<span class="mx-2"></span>
<span>Mars Simulation</span>
</div>
<h3 class="text-xl font-semibold text-white mb-2">Microbial Survival in Martian Conditions</h3>
<p class="text-gray-300 text-sm mb-4">Studying extremophile bacteria under simulated Mars environment to assess contamination risks...</p>
<div class="flex justify-between items-center">
<span class="text-xs text-cosmic-300">Published: 2022</span>
<a href="study-detail.html" class="text-cosmic-400 hover:text-cosmic-300 text-sm font-medium flex items-center">
Read Summary <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
</a>
</div>
</div>
</div>
</div>
<div class="mt-8 text-center">
<a href="studies.html" class="px-6 py-3 bg-cosmic-600 hover:bg-cosmic-700 text-white font-medium rounded-full transition duration-300 inline-flex items-center">
View All Studies <i data-feather="chevron-right" class="ml-2 h-4 w-4"></i>
</a>
</div>
</div>
</section>
<!-- AI Assistant Preview -->
<section class="py-16 px-4 sm:px-6 lg:px-8 bg-gray-900 bg-opacity-50 mt-12">
<div class="max-w-4xl mx-auto">
<div class="bg-gray-800 rounded-xl p-6 border border-gray-700">
<div class="flex items-center mb-6">
<div class="bg-cosmic-600 p-2 rounded-full">
<i data-feather="message-circle" class="h-6 w-6 text-white"></i>
</div>
<h2 class="ml-3 text-xl font-bold text-white">Ask Our AI Assistant</h2>
</div>
<div class="space-y-4 mb-6">
<div class="flex items-start">
<img src="http://static.photos/technology/200x200/1" class="h-8 w-8 rounded-full mr-3" alt="User">
<div class="bg-gray-700 rounded-lg p-3 max-w-xs">
<p class="text-white">What are the main challenges for human biology in Mars missions?</p>
</div>
</div>
<div class="flex items-start justify-end">
<div class="bg-cosmic-600 rounded-lg p-3 max-w-xl">
<p class="text-white">The main challenges include radiation exposure, muscle and bone loss from reduced gravity, psychological effects of isolation, and maintaining proper nutrition. NASA studies show that during a 6-month Mars mission, astronauts could experience up to 20% muscle atrophy...</p>
</div>
<img src="http://static.photos/technology/200x200/2" class="h-8 w-8 rounded-full ml-3" alt="AI">
</div>
</div>
<div class="relative">
<input type="text" class="w-full px-4 py-3 rounded-full bg-gray-700 border border-gray-600 focus:outline-none focus:ring-2 focus:ring-cosmic-500 text-white placeholder-gray-400" placeholder="Ask about space biology...">
<a href="ai-assistant.html" class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-cosmic-600 text-white p-2 rounded-full">
<i data-feather="send" class="h-4 w-4"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="py-12 px-4 sm:px-6 lg:px-8 border-t border-gray-800 mt-12">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center">
<i data-feather="activity" class="text-cosmic-400 h-6 w-6"></i>
<span class="ml-2 text-lg font-bold text-white">Cosmic Bio Explorer</span>
</div>
<p class="mt-4 text-gray-400 text-sm">
Making NASA's space biology research accessible to everyone through AI-powered insights.
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-200 tracking-wider uppercase">Resources</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white text-sm">NASA OSDR</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Space Life Sciences</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Research Task Book</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-200 tracking-wider uppercase">Quick Links</h3>
<ul class="mt-4 space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white text-sm">All Publications</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Knowledge Graph</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Research Trends</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-200 tracking-wider uppercase">Connect</h3>
<div class="mt-4 flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="github" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin" class="h-5 w-5"></i>
</a>
</div>
</div>
</div>
<div class="mt-8 pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">
&copy; 2023 Cosmic Bio Explorer. All rights reserved.
</p>
<div class="mt-4 md:mt-0 flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Contact Us</a>
</div>
</div>
</div>
</footer>
</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();
// Simple animation for cards on load
document.addEventListener('DOMContentLoaded', function() {
anime({
targets: '.card-hover',
opacity: [0, 1],
translateY: [20, 0],
delay: anime.stagger(100),
easing: 'easeOutExpo'
});
});
</script>
</body>
</html>