Files
Greenlens/design/stitch-onboarding/welcome_to_greenlens/code.html
2026-07-06 22:25:52 +02:00

174 lines
11 KiB
HTML

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
<title>GreenLens - Welcome</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"tertiary": "#375d00",
"on-surface": "#191d16",
"on-secondary-fixed": "#012104",
"on-secondary-fixed-variant": "#2d4e2b",
"surface-container-lowest": "#ffffff",
"surface-container-low": "#f2f5e9",
"error-container": "#ffdad6",
"secondary": "#446741",
"outline": "#72796a",
"on-secondary": "#ffffff",
"surface-container": "#ecefe4",
"on-error": "#ffffff",
"on-surface-variant": "#42493c",
"background": "#f8fbef",
"error": "#ba1a1a",
"outline-variant": "#c2c9b7",
"on-secondary-container": "#486b45",
"secondary-fixed": "#c5edbd",
"on-tertiary": "#ffffff",
"primary": "#2b5f0b",
"surface-dim": "#d8dbd0",
"primary-container": "#437824",
"tertiary-fixed-dim": "#a5d56e",
"inverse-on-surface": "#eff2e7",
"surface-container-high": "#e7e9de",
"surface-bright": "#f8fbef",
"inverse-surface": "#2e322a",
"on-background": "#191d16",
"on-primary-fixed": "#092100",
"secondary-container": "#c2eaba",
"on-tertiary-container": "#cbfd91",
"primary-fixed": "#b6f390",
"tertiary-container": "#4d771b",
"primary-fixed-dim": "#9bd776",
"tertiary-fixed": "#c0f287",
"surface-tint": "#366a17",
"secondary-fixed-dim": "#aad1a2",
"surface-variant": "#e1e4d9",
"on-error-container": "#93000a",
"on-tertiary-fixed-variant": "#2e4f00",
"on-primary": "#ffffff",
"on-primary-container": "#c1ff99",
"surface-container-highest": "#e1e4d9",
"on-tertiary-fixed": "#0f2000",
"on-primary-fixed-variant": "#205100",
"inverse-primary": "#9bd776",
"surface": "#f8fbef"
},
"borderRadius": {
"DEFAULT": "0.25rem",
"lg": "0.5rem",
"xl": "0.75rem",
"full": "9999px"
},
"spacing": {
"xs": "8px",
"xl": "32px",
"base": "4px",
"sm": "12px",
"gutter": "16px",
"md": "16px",
"lg": "24px",
"container-margin": "20px"
},
"fontFamily": {
"label-md": ["Plus Jakarta Sans"],
"body-lg": ["Plus Jakarta Sans"],
"label-lg": ["Plus Jakarta Sans"],
"body-md": ["Plus Jakarta Sans"],
"headline-lg": ["Plus Jakarta Sans"],
"display": ["Plus Jakarta Sans"],
"headline-md": ["Plus Jakarta Sans"]
},
"fontSize": {
"label-md": ["12px", { "lineHeight": "16px", "fontWeight": "600" }],
"body-lg": ["17px", { "lineHeight": "26px", "fontWeight": "500" }],
"label-lg": ["13px", { "lineHeight": "18px", "letterSpacing": "0.05em", "fontWeight": "700" }],
"body-md": ["15px", { "lineHeight": "22px", "fontWeight": "400" }],
"headline-lg": ["28px", { "lineHeight": "36px", "letterSpacing": "-0.01em", "fontWeight": "800" }],
"display": ["34px", { "lineHeight": "42px", "letterSpacing": "-0.02em", "fontWeight": "800" }],
"headline-md": ["22px", { "lineHeight": "28px", "fontWeight": "700" }]
}
}
}
}
</script>
<style>
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="bg-background text-on-surface h-screen w-full overflow-hidden flex flex-col font-body-md select-none">
<!-- Top 55%: Hero Image Area -->
<div class="h-[440px] md:h-[480px] w-full relative shrink-0">
<!-- Hero Background Image -->
<div class="absolute inset-0 bg-cover bg-center" data-alt="A stunning, high-resolution botanical photograph of a lush indoor jungle featuring large Monstera deliciosa and Calathea plants. The composition is shot from a slightly elevated angle, capturing the vibrant green, textured leaves bathed in soft, natural morning light pouring through a nearby window. The background features a subtle, warm cream-colored wall that perfectly aligns with a premium minimalist light-mode app aesthetic. The depth of field is shallow, keeping the foreground leaves razor-sharp while gently blurring the background, creating a calm, focused, and high-end lifestyle magazine mood." style="background-image: url('../../../assets/welcome_hero_vertical.png')"></div>
<!-- Subtle Top Gradient for Text Legibility -->
<div class="absolute top-0 left-0 w-full h-32 bg-gradient-to-b from-on-surface/50 to-transparent"></div>
<!-- Header: Logo & App Store Badge -->
<div class="absolute top-12 left-0 w-full px-container-margin flex items-center justify-between">
<div class="flex items-center gap-2 text-surface-container-lowest">
<span class="material-symbols-outlined text-[28px]" style="font-variation-settings: 'FILL' 1;">spa</span>
<span class="font-display text-display tracking-tight leading-none text-surface-container-lowest pt-1">Green<span class="text-[#8ba885]">Lens</span></span>
</div>
<div class="flex items-center gap-1 bg-surface-container-lowest/20 backdrop-blur-md border border-surface-container-lowest/10 rounded-full px-3 py-1.5 shadow-sm">
<span class="material-symbols-outlined text-[14px] text-surface-container-lowest" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="font-label-md text-label-md text-surface-container-lowest">4.8</span>
</div>
</div>
<!-- Floating Testimonial Card -->
<div class="absolute bottom-12 left-container-margin right-container-margin bg-surface-container-lowest/75 backdrop-blur-md rounded-[16px] p-4 shadow-[0px_4px_20px_rgba(16,28,18,0.12)] border border-surface-variant/50">
<p class="font-body-md text-body-md text-on-surface mb-3 italic leading-relaxed">"Finally my plants stay alive! Highly recommend."</p>
<div class="flex items-center justify-between">
<div class="flex items-center gap-3">
<img class="w-8 h-8 rounded-full object-cover shadow-sm" data-alt="A professional, high-quality portrait photograph of a young woman with a warm, friendly smile, designed to be used as a circular avatar in a premium app interface. She has natural, effortless styling and is softly lit by diffused natural daylight. The background is a very soft, out-of-focus hint of an indoor plant shop or greenhouse, featuring muted greens and warm cream tones to perfectly match a sophisticated, minimalist light-mode aesthetic. The image exudes trust and approachability." src="https://lh3.googleusercontent.com/aida-public/AB6AXuCqKHPbHjvPxBBSroxRXwyNuYGln0ydKqum11jR-kIoUoBeWzrSqByhgdt-maLp0b9HbdyDabUsv2PBnqZy8oIBAGSjHmtG9PhPiWARa9AcQrlRAtKWOAVYdD3y03G9Y0ilbQMz4MvFDBv57IqGO7xcp4cEAddUgjS1sgPskTA6Rl-9vXibnYMo2ScPYD6r0ch02eNjaCfxNq1sP0OGSBIksgW1o1CUuw6Brzl0WQbmoVaRaflVdiDp25qFXfG1woIYJw0qF6LZ3_E"/>
<span class="font-label-md text-label-md text-on-surface-variant">Anna M.</span>
</div>
<div class="flex items-center gap-0.5 text-[#F5B041]">
<span class="material-symbols-outlined text-[16px]" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined text-[16px]" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined text-[16px]" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined text-[16px]" style="font-variation-settings: 'FILL' 1;">star</span>
<span class="material-symbols-outlined text-[16px]" style="font-variation-settings: 'FILL' 1;">star</span>
</div>
</div>
</div>
</div>
<!-- Bottom 45%: Cream Sheet Area -->
<div class="flex-1 bg-background rounded-t-[32px] -mt-6 relative z-10 px-container-margin pt-10 pb-8 flex flex-col items-center text-center shadow-[0px_-8px_30px_rgba(0,0,0,0.04)]">
<!-- Sheet Handle (Subtle UI Detail) -->
<div class="absolute top-4 left-1/2 -translate-x-1/2 w-12 h-1.5 bg-surface-variant rounded-full"></div>
<h1 class="font-headline-lg text-headline-lg text-on-surface mb-3 mt-2">Welcome to GreenLens!</h1>
<p class="font-body-lg text-body-lg text-on-surface-variant mb-auto px-4 max-w-sm">Identify, understand and care for your plants — effortlessly.</p>
<!-- Actions -->
<div class="w-full mt-8 mb-6">
<button class="w-full h-[56px] bg-primary-container text-on-primary font-label-lg text-label-lg rounded-[14px] flex items-center justify-center transition-transform hover:scale-[0.98] active:scale-95 shadow-[0px_8px_16px_rgba(67,120,36,0.15)] mb-4">
Let's Go
</button>
<button class="w-full h-[44px] font-label-lg text-label-lg text-primary-container hover:opacity-80 transition-opacity flex items-center justify-center">
Log in
</button>
</div>
<!-- Legal -->
<p class="font-label-md text-label-md text-outline px-4 max-w-xs">
By continuing you agree to our <a class="underline hover:text-on-surface transition-colors" href="#">Privacy Policy</a> and <a class="underline hover:text-on-surface transition-colors" href="#">Terms</a>
</p>
</div>
</body></html>