undefined / patterns.html
ttcgroup's picture
this is good. now flesh out the individual components of the "all in one life orchestrator" so that clicking on the individual boxes brings you to the examples of what that page/feature holds
1e37053 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pattern Finder | 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.topology.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, #0f2027 0%, #203a43 50%, #2c5364 100%);
}
.pattern-card {
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.08);
}
.pattern-item {
transition: all 0.2s ease;
}
.pattern-item:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.insight-card {
transition: all 0.3s ease;
}
.insight-card:hover {
transform: scale(1.02);
}
</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="media.html" class="hover:text-[#FFA07A] transition">Media</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="pattern-card rounded-3xl p-8 mb-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold">Pattern Finder</h1>
<button class="bg-[#FFA07A] px-4 py-2 rounded-lg font-medium">Run Analysis</button>
</div>
<div class="grid md:grid-cols-2 gap-4 mb-8">
<div class="pattern-card rounded-xl p-4">
<h3 class="font-medium mb-2">Patterns Detected</h3>
<p class="text-2xl font-bold mb-1">12</p>
<p class="text-sm opacity-80">This month</p>
</div>
<div class="pattern-card rounded-xl p-4">
<h3 class="font-medium mb-2">Most Significant</h3>
<p class="text-2xl font-bold mb-1">Sleep & Productivity</p>
<p class="text-sm opacity-80">85% correlation</p>
</div>
</div>
<div class="space-y-4">
<h3 class="font-medium">Recent Insights</h3>
<div class="pattern-item pattern-card rounded-xl p-4">
<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="activity" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Sleep & Productivity</div>
<div class="text-sm opacity-80">Discovered 2 days ago</div>
</div>
</div>
<p class="text-sm mb-3">When you get at least 7 hours of sleep, your next day productivity increases by 32% on average.</p>
<div class="bg-white/5 rounded-lg p-3">
<div class="flex justify-between text-xs mb-1">
<span>Productivity</span>
<span>+32%</span>
</div>
<div class="w-full bg-white/10 rounded-full h-2">
<div class="bg-[#FFA07A] h-2 rounded-full" style="width: 32%"></div>
</div>
</div>
</div>
<div class="pattern-item pattern-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="clock" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Creative Peak</div>
<div class="text-sm opacity-80">Discovered 1 week ago</div>
</div>
</div>
<p class="text-sm mb-3">Your most creative work consistently happens between 9:30 AM and 11:30 AM.</p>
<div class="flex items-center text-sm">
<i data-feather="alert-circle" class="w-4 h-4 mr-1 text-yellow-400"></i>
<span class="opacity-80">Consider scheduling creative tasks during this window</span>
</div>
</div>
<div class="pattern-item pattern-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="coffee" class="w-5 h-5"></i>
</div>
<div>
<div class="font-bold">Caffeine Impact</div>
<div class="text-sm opacity-80">Discovered 2 weeks ago</div>
</div>
</div>
<p class="text-sm mb-3">Caffeine consumption after 2 PM correlates with 27 minutes less sleep that night.</p>
<div class="bg-white/5 rounded-lg p-3">
<div class="flex justify-between text-xs">
<span>Before 2 PM</span>
<span>After 2 PM</span>
</div>
<div class="flex justify-between mt-1">
<div class="text-center">
<div class="text-lg font-bold">7h 12m</div>
<div class="text-xs opacity-80">Avg sleep</div>
</div>
<div class="text-center">
<div class="text-lg font-bold">6h 45m</div>
<div class="text-xs opacity-80">Avg sleep</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="pattern-card rounded-3xl p-8 mb-8">
<h2 class="text-2xl font-bold mb-6">Key Insights</h2>
<div class="space-y-4">
<div class="insight-card pattern-card rounded-xl p-4">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-lg bg-purple-600 flex items-center justify-center mr-3">
<i data-feather="trending-up" class="w-4 h-4"></i>
</div>
<div>
<div class="font-bold">Productivity Patterns</div>
<div class="text-xs opacity-80">Weekly trends</div>
</div>
</div>
<p class="text-sm opacity-80">Your most productive day is Wednesday, with productivity declining toward the weekend.</p>
</div>
<div class="insight-card pattern-card rounded-xl p-4">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-lg bg-blue-600 flex items-center justify-center mr-3">
<i data-feather="moon" class="w-4 h-4"></i>
</div>
<div>
<div class="font-bold">Sleep Quality</div>
<div class="text-xs opacity-80">Monthly average</div>
</div>
</div>
<p class="text-sm opacity-80">Your sleep quality is 18% better when you exercise during the day.</p>
</div>
<div class="insight-card pattern-card rounded-xl p-4">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-lg bg-green-600 flex items-center justify-center mr-3">
<i data-feather="clock" class="w-4 h-4"></i>
</div>
<div>
<div class="font-bold">Energy Levels</div>
<div class="text-xs opacity-80">Daily rhythm</div>
</div>
</div>
<p class="text-sm opacity-80">Your energy consistently dips between 2 PM and 3 PM - consider a power nap.</p>
</div>
</div>
</div>
<div class="pattern-card rounded-3xl p-8">
<h2 class="text-2xl font-bold mb-6">Pattern Analysis</h2>
<div class="space-y-4">
<div>
<label class="block mb-2 text-sm">Analyze</label>
<select class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 mb-4">
<option>Sleep vs. Productivity</option>
<option>Caffeine vs. Sleep</option>
<option>Exercise vs. Energy</option>
<option>Screen Time vs. Sleep</option>
<option>Custom Analysis</option>
</select>
</div>
<div>
<label class="block mb-2 text-sm">Time Frame</label>
<select class="w-full bg-white/10 border border-white/20 rounded-lg px-4 py-3 mb-4">
<option>Last 7 days</option>
<option>Last 30 days</option>
<option>Last 3 months</option>
<option>Last year</option>
<option>All time</option>
</select>
</div>
<button class="w-full bg-[#FFA07A] py-3 rounded-lg font-bold hover:bg-[#ff8a5c] transition">
Discover Patterns
</button>
</div>
</div>
</div>
</div>
<div class="pattern-card rounded-3xl p-8">
<h2 class="text-2xl font-bold mb-6">Visual Patterns</h2>
<div class="grid md:grid-cols-2 gap-6">
<div class="pattern-card rounded-xl p-6 h-64">
<h3 class="font-medium mb-4">Sleep vs. Productivity</h3>
<div class="h-40 bg-white/5 rounded-lg"></div>
</div>
<div class="pattern-card rounded-xl p-6 h-64">
<h3 class="font-medium mb-4">Weekly Energy Flow</h3>
<div class="h-40 bg-white/5 rounded-lg"></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>
// Initialize Vanta.js background
VANTA.TOPOLOGY({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xffa07a,
backgroundColor: 0x1a1b2f,
size: 1.20
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>