|
1 | 1 | <script lang="ts"> |
| 2 | + import { goto } from '$app/navigation'; |
| 3 | + import { Brain, Heart, BarChart3, Sparkles } from 'lucide-svelte'; |
2 | 4 | // Minimal welcome screen |
3 | | - const go = () => (window.location.href = '/dashboard'); |
| 5 | + const go = () => goto('/dashboard'); |
4 | 6 | </script> |
5 | 7 |
|
6 | 8 | <div |
7 | 9 | class="min-h-screen flex items-center justify-center px-4" |
8 | 10 | style="background: var(--petalytics-bg);" |
9 | 11 | > |
10 | | - <main class="w-full max-w-xl text-center"> |
11 | | - <img |
12 | | - src="/favicon.svg" |
13 | | - alt="Petalytic logo" |
14 | | - width="72" |
15 | | - height="72" |
16 | | - class="mx-auto mb-4" |
17 | | - decoding="async" |
18 | | - loading="eager" |
19 | | - /> |
20 | | - <h1 |
21 | | - class="mb-4 font-extrabold tracking-tight" |
22 | | - style="color: var(--petalytics-text); font-size: clamp(2.25rem, 6vw, 4rem);" |
23 | | - > |
24 | | - Petalytic |
25 | | - </h1> |
26 | | - <p |
27 | | - class="mx-auto mb-8" |
28 | | - style="color: var(--petalytics-subtle); font-size: clamp(1rem, 2.5vw, 1.125rem);" |
29 | | - > |
30 | | - A free, open pet journaling and insights app. No upsell—just a friendly welcome. |
31 | | - </p> |
| 12 | + <main class="w-full max-w-4xl text-center"> |
| 13 | + <!-- Logo Section --> |
| 14 | + <div class="mb-8"> |
| 15 | + <img |
| 16 | + src="/favicon.svg" |
| 17 | + alt="Petalytics logo" |
| 18 | + width="120" |
| 19 | + height="120" |
| 20 | + class="mx-auto mb-6 drop-shadow-lg" |
| 21 | + decoding="async" |
| 22 | + loading="eager" |
| 23 | + /> |
| 24 | + <h1 |
| 25 | + class="mb-4 font-extrabold tracking-tight" |
| 26 | + style="color: var(--petalytics-text); font-size: clamp(2.5rem, 8vw, 5rem);" |
| 27 | + > |
| 28 | + Petalytics |
| 29 | + </h1> |
| 30 | + <p |
| 31 | + class="mx-auto mb-12 max-w-2xl" |
| 32 | + style="color: var(--petalytics-subtle); font-size: clamp(1.125rem, 3vw, 1.25rem);" |
| 33 | + > |
| 34 | + AI-powered pet journaling that actually gets your furry friend. Track behaviors, get |
| 35 | + insights, catch health trends early. |
| 36 | + </p> |
| 37 | + </div> |
| 38 | + |
| 39 | + <!-- Feature Cards --> |
| 40 | + <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-12 max-w-3xl mx-auto"> |
| 41 | + <div |
| 42 | + class="p-6 rounded-xl border backdrop-blur-sm" |
| 43 | + style="background: color-mix(in oklab, var(--petalytics-surface) 80%, transparent); border-color: var(--petalytics-border);" |
| 44 | + > |
| 45 | + <Brain size={32} style="color: var(--petalytics-accent);" class="mx-auto mb-4" /> |
| 46 | + <h3 class="font-semibold mb-2" style="color: var(--petalytics-text);">Smart AI Insights</h3> |
| 47 | + <p class="text-sm" style="color: var(--petalytics-subtle);"> |
| 48 | + Ruixen AI analyzes your pet's daily notes and spots patterns you might miss |
| 49 | + </p> |
| 50 | + </div> |
32 | 51 |
|
33 | | - <div class="flex items-center justify-center gap-3"> |
| 52 | + <div |
| 53 | + class="p-6 rounded-xl border backdrop-blur-sm" |
| 54 | + style="background: color-mix(in oklab, var(--petalytics-surface) 80%, transparent); border-color: var(--petalytics-border);" |
| 55 | + > |
| 56 | + <Heart size={32} style="color: var(--petalytics-love);" class="mx-auto mb-4" /> |
| 57 | + <h3 class="font-semibold mb-2" style="color: var(--petalytics-text);">Health Monitoring</h3> |
| 58 | + <p class="text-sm" style="color: var(--petalytics-subtle);"> |
| 59 | + Early warning system for mood changes, appetite shifts, and behavior trends |
| 60 | + </p> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + |
| 64 | + <!-- CTA Section --> |
| 65 | + <div class="flex flex-col sm:flex-row items-center justify-center gap-4"> |
34 | 66 | <button |
35 | | - class="px-6 py-3 rounded-md font-medium" |
36 | | - style="background: var(--petalytics-accent); color: var(--petalytics-base);" |
| 67 | + class="px-8 py-4 rounded-lg font-semibold text-lg shadow-lg transition-all hover:scale-105 flex items-center gap-2" |
| 68 | + style="background: var(--petalytics-accent); color: var(--petalytics-bg);" |
37 | 69 | onclick={go} |
38 | 70 | > |
39 | | - ENTER |
| 71 | + <Sparkles size={20} /> |
| 72 | + Start Journaling |
40 | 73 | </button> |
41 | 74 | <a |
42 | | - class="px-5 py-3 rounded-md font-medium border" |
43 | | - style="border-color: var(--petalytics-border); color: var(--petalytics-text);" |
| 75 | + class="px-6 py-4 rounded-lg font-medium border transition-all hover:scale-105" |
| 76 | + style="border-color: var(--petalytics-border); color: var(--petalytics-text); background: color-mix(in oklab, var(--petalytics-surface) 50%, transparent);" |
44 | 77 | href="https://github.com/gitcoder89431/petalytics" |
45 | 78 | target="_blank" |
46 | 79 | rel="noreferrer noopener" |
47 | 80 | > |
48 | | - GitHub ↗ |
| 81 | + View on GitHub ↗ |
49 | 82 | </a> |
50 | 83 | </div> |
51 | 84 |
|
52 | | - <div class="mt-10 text-xs" style="color: var(--petalytics-subtle);">:: Petalytic ::</div> |
| 85 | + <!-- Stats Badge --> |
| 86 | + <div |
| 87 | + class="mt-16 flex items-center justify-center gap-8 text-sm" |
| 88 | + style="color: var(--petalytics-subtle);" |
| 89 | + > |
| 90 | + <div class="flex items-center gap-2"> |
| 91 | + <BarChart3 size={16} /> |
| 92 | + <span>Open Source</span> |
| 93 | + </div> |
| 94 | + <div class="w-1 h-1 rounded-full" style="background: var(--petalytics-subtle);"></div> |
| 95 | + <div>Privacy First</div> |
| 96 | + <div class="w-1 h-1 rounded-full" style="background: var(--petalytics-subtle);"></div> |
| 97 | + <div>No Upsells</div> |
| 98 | + </div> |
| 99 | + |
| 100 | + <div class="mt-8 text-xs" style="color: var(--petalytics-muted);"> |
| 101 | + Built with ❤️ for pet parents everywhere |
| 102 | + </div> |
53 | 103 | </main> |
54 | 104 | </div> |
0 commit comments