File size: 19,719 Bytes
1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 3200020 1e37053 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Research Hub | CircaSnooze</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.cells.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Space Grotesk', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}
.research-card {
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.08);
}
.research-item {
transition: all 0.2s ease;
}
.research-item:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.tag {
transition: all 0.2s ease;
}
.tag:hover {
transform: scale(1.05);
}
</style>
</head>
<body class="min-h-screen text-white gradient-bg" id="vanta-bg">
<div class="container mx-auto px-4 py-8">
<header class="flex justify-between items-center mb-12">
<a href="index.html" class="flex items-center space-x-2">
<i data-feather="moon" class="w-6 h-6"></i>
<span class="text-xl font-bold">CircaSnooze</span>
</a>
<nav class="hidden md:flex space-x-6">
<a href="index.html" class="hover:text-[#FFA07A] transition">Home</a>
<a href="sleep-calculator.html" class="hover:text-[#FFA07A] transition">Sleep</a>
<a href="scheduling.html" class="hover:text-[#FFA07A] transition">Schedule</a>
<a href="tasks.html" class="hover:text-[#FFA07A] transition">Tasks</a>
<a href="#" class="text-[#FFA07A] font-medium">Research</a>
</nav>
<button class="bg-[#FFA07A] px-4 py-2 rounded-lg text-sm font-medium hover:bg-[#ff8a5c] transition">
My Account
</button>
</header>
<main>
<div class="grid lg:grid-cols-3 gap-8 mb-8">
<div class="lg:col-span-2">
<div class="research-card rounded-3xl p-8 mb-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold">Research Hub</h1>
<button class="bg-[#FFA07A] px-4 py-2 rounded-lg font-medium">Add Resource</button>
</div>
<div class="grid md:grid-cols-2 gap-4 mb-8">
<div class="research-card rounded-xl p-4">
<h3 class="font-medium mb-2">Recent Activity</h3>
<p class="text-2xl font-bold mb-1">12 items</p>
<p class="text-sm opacity-80">Added this week</p>
</div>
<div class="research-card rounded-xl p-4">
<h3 class="font-medium mb-2">Top Category</h3>
<p class="text-2xl font-bold mb-1">Neuroscience</p>
<p class="text-sm opacity-80">8 resources</p>
</div>
</div>
<div class="space-y-4">
<div class="research-card rounded-3xl p-6 mb-8">
<h2 class="text-2xl font-bold mb-6">Recommended For You</h2>
<div class="grid md:grid-cols-2 gap-4">
<div class="research-item research-card rounded-xl p-4 hover:cursor-pointer" onclick="window.open('https://example.com/sleep-science', '_blank')">
<div class="flex items-start">
<img src="http://static.photos/science/320x240/1" class="w-16 h-16 rounded-lg object-cover mr-3">
<div>
<div class="font-bold">Sleep Science Weekly</div>
<div class="text-sm opacity-80">Based on your interest in sleep optimization</div>
</div>
</div>
</div>
<div class="research-item research-card rounded-xl p-4 hover:cursor-pointer" onclick="window.open('https://example.com/productivity-hacks', '_blank')">
<div class="flex items-start">
<img src="http://static.photos/office/320x240/2" class="w-16 h-16 rounded-lg object-cover mr-3">
<div>
<div class="font-bold">Productivity Hacks</div>
<div class="text-sm opacity-80">Matching your work patterns</div>
</div>
</div>
</div>
</div>
</div>
<div class="research-item research-card rounded-xl p-4 hover:cursor-pointer" onclick="window.open('https://journalofsleepmedicine.org/circadian-rhythm', '_blank')">
<div class="flex items-start mb-3">
<div class="w-10 h-10 rounded-lg bg-purple-600 flex items-center justify-center mr-3">
<i data-feather="file-text" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Circadian Rhythm Research</div>
<div class="text-sm opacity-80">Journal of Sleep Medicine • 2022</div>
</div>
</div>
<p class="text-sm mb-3">Latest findings on how circadian rhythms affect cognitive performance and productivity.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-purple-600/30 px-2 py-1 rounded-full text-xs">sleep</span>
<span class="tag bg-blue-600/30 px-2 py-1 rounded-full text-xs">neuroscience</span>
<span class="tag bg-green-600/30 px-2 py-1 rounded-full text-xs">productivity</span>
</div>
</div>
<div class="research-item research-card rounded-xl p-4">
<div class="flex items-start mb-3">
<div class="w-10 h-10 rounded-lg bg-blue-600 flex items-center justify-center mr-3">
<i data-feather="link" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Productivity Techniques</div>
<div class="text-sm opacity-80">Website • Medium Article</div>
</div>
</div>
<p class="text-sm mb-3">Comparison of different productivity methods and their neurological basis.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-blue-600/30 px-2 py-1 rounded-full text-xs">productivity</span>
<span class="tag bg-yellow-600/30 px-2 py-1 rounded-full text-xs">methods</span>
</div>
</div>
<div class="research-item research-card rounded-xl p-4">
<div class="flex items-start mb-3">
<div class="w-10 h-10 rounded-lg bg-green-600 flex items-center justify-center mr-3">
<i data-feather="book" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Why We Sleep</div>
<div class="text-sm opacity-80">Book • Matthew Walker</div>
</div>
</div>
<p class="text-sm mb-3">Groundbreaking exploration of sleep, examining how it affects every aspect of our physical and mental well-being.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-purple-600/30 px-2 py-1 rounded-full text-xs">sleep</span>
<span class="tag bg-red-600/30 px-2 py-1 rounded-full text-xs">health</span>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="research-card rounded-3xl p-8 mb-8">
<h2 class="text-2xl font-bold mb-6">Categories</h2>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 hover:bg-white/10 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 rounded-lg bg-purple-600 flex items-center justify-center mr-3">
<i data-feather="moon" class="w-4 h-4"></i>
</div>
<span>Sleep Science</span>
</div>
<span class="text-xs bg-white/10 px-2 py-1 rounded-full">24</span>
</div>
<div class="flex items-center justify-between p-3 hover:bg-white/10 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 rounded-lg bg-blue-600 flex items-center justify-center mr-3">
<i data-feather="zap" class="w-4 h-4"></i>
</div>
<span>Productivity</span>
</div>
<span class="text-xs bg-white/10 px-2 py-1 rounded-full">18</span>
</div>
<div class="flex items-center justify-between p-3 hover:bg-white/10 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 rounded-lg bg-green-600 flex items-center justify-center mr-3">
<i data-feather="activity" class="w-4 h-4"></i>
</div>
<span>Neuroscience</span>
</div>
<span class="text-xs bg-white/10 px-2 py-1 rounded-full">15</span>
</div>
<div class="flex items-center justify-between p-3 hover:bg-white/10 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 rounded-lg bg-yellow-600 flex items-center justify-center mr-3">
<i data-feather="heart" class="w-4 h-4"></i>
</div>
<span>Health & Wellness</span>
</div>
<span class="text-xs bg-white/10 px-2 py-1 rounded-full">12</span>
</div>
<div class="flex items-center justify-between p-3 hover:bg-white/10 rounded-lg">
<div class="flex items-center">
<div class="w-8 h-8 rounded-lg bg-red-600 flex items-center justify-center mr-3">
<i data-feather="cpu" class="w-4 h-4"></i>
</div>
<span>Technology</span>
</div>
<span class="text-xs bg-white/10 px-2 py-1 rounded-full">9</span>
</div>
</div>
</div>
<div class="research-card rounded-3xl p-8">
<h2 class="text-2xl font-bold mb-6">Quick Add</h2>
<div class="space-y-4">
<div>
<label class="block mb-2 text-sm">Resource Type</label>
<select class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3">
<option>Article</option>
<option>Book</option>
<option>Video</option>
<option>Podcast</option>
<option>Paper</option>
</select>
</div>
<div>
<label class="block mb-2 text-sm">Title</label>
<input type="text" class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3">
</div>
<div>
<label class="block mb-2 text-sm">URL/Link</label>
<input type="text" class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3">
</div>
<div>
<label class="block mb-2 text-sm">Tags</label>
<input type="text" class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3" placeholder="Comma separated">
</div>
<button onclick="saveResource()" class="w-full bg-[#FFA07A] py-3 rounded-lg font-bold hover:bg-[#ff8a5c] transition">
Save Resource
</button>
</div>
</div>
</div>
</div>
<div class="research-card rounded-3xl p-8">
<h2 class="text-2xl font-bold mb-6">Recommended Reading</h2>
<div class="grid md:grid-cols-3 gap-6">
<div class="research-item research-card rounded-xl p-6">
<div class="w-12 h-12 rounded-lg bg-purple-600 flex items-center justify-center mb-4">
<i data-feather="book-open" class="w-6 h-6"></i>
</div>
<h3 class="font-medium mb-2">The Circadian Code</h3>
<p class="text-sm opacity-80 mb-4">How optimizing your body clock can improve sleep, lose weight, and transform health.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-purple-600/30 px-2 py-1 rounded-full text-xs">sleep</span>
<span class="tag bg-green-600/30 px-2 py-1 rounded-full text-xs">health</span>
</div>
</div>
<div class="research-item research-card rounded-xl p-6">
<div class="w-12 h-12 rounded-lg bg-blue-600 flex items-center justify-center mb-4">
<i data-feather="file-text" class="w-6 h-6"></i>
</div>
<h3 class="font-medium mb-2">Ultradian Rhythms</h3>
<p class="text-sm opacity-80 mb-4">New research on 90-minute productivity cycles and how to harness them.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-blue-600/30 px-2 py-1 rounded-full text-xs">productivity</span>
<span class="tag bg-purple-600/30 px-2 py-1 rounded-full text-xs">neuroscience</span>
</div>
</div>
<div class="research-item research-card rounded-xl p-6">
<div class="w-12 h-12 rounded-lg bg-green-600 flex items-center justify-center mb-4">
<i data-feather="link" class="w-6 h-6"></i>
</div>
<h3 class="font-medium mb-2">Digital Minimalism</h3>
<p class="text-sm opacity-80 mb-4">How reducing screen time can improve sleep quality and cognitive function.</p>
<div class="flex flex-wrap gap-2">
<span class="tag bg-green-600/30 px-2 py-1 rounded-full text-xs">health</span>
<span class="tag bg-red-600/30 px-2 py-1 rounded-full text-xs">technology</span>
</div>
</div>
</div>
</div>
</main>
<footer class="border-t border-white/20 mt-12 pt-8 pb-12">
<div class="text-center opacity-70 text-sm">
© 2023 CircaSnooze. All rights reserved.
</div>
</footer>
</div>
<script>
// Save resource function
function saveResource() {
const type = document.querySelector('select').value;
const title = document.querySelector('input[type="text"]').value;
const url = document.querySelector('input[type="text"]:nth-of-type(2)').value;
const tags = document.querySelector('input[placeholder="Comma separated"]').value;
if(title && url) {
// In a real app, this would save to a database
console.log('Saving resource:', {type, title, url, tags});
alert('Resource saved!');
// Analyze patterns (mock implementation)
analyzeUserPatterns(tags);
} else {
alert('Please fill in all fields');
}
}
// Mock pattern analysis
function analyzeUserPatterns(tags) {
console.log('Analyzing user patterns based on:', tags);
// This would connect to AI service in production
}
// Initialize Vanta.js background
VANTA.CELLS({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
color1: 0xffa07a,
color2: 0x1a1b2f,
size: 1.20,
speed: 1.30
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html> |