199 lines
10 KiB
HTML
199 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="light" lang="en"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" name="viewport"/>
|
|
<title>GreenLens Onboarding - Health Check</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&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&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",
|
|
"2xl": "1rem",
|
|
"3xl": "1.5rem"
|
|
},
|
|
"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-tap-highlight-color: transparent;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.material-symbols-outlined.fill {
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
/* Soft, natural shadow for cards */
|
|
.shadow-soft {
|
|
box-shadow: 0px 4px 20px rgba(16, 28, 18, 0.06);
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background h-screen w-full flex justify-center items-center overflow-hidden antialiased">
|
|
<!-- Mobile Device Container (iPhone 15 Aspect Ratio roughly 19.5:9) -->
|
|
<main class="w-full h-full max-w-md mx-auto relative flex flex-col bg-surface-container-lowest md:rounded-[40px] md:h-[852px] md:w-[393px] md:shadow-2xl overflow-hidden">
|
|
<!-- Top 60% Image Area -->
|
|
<div class="relative h-[60%] w-full">
|
|
<div class="absolute inset-0 bg-cover bg-center w-full h-full" data-alt="A close-up, high-resolution lifestyle photograph of an indoor houseplant with a few visibly yellowing, slightly droopy leaves, set against a bright, airy cream-colored background. Soft, natural daylight streams in from an unseen window, creating a calm, minimalist aesthetic. The focus is sharp on the plant, embodying a premium, organic visual style typical of high-end botanical magazines." style="background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDpIiAXrV02PGrV2kch25aBf36rzqZdzaUc3ve1x0O45wHQPSl-ZOiRyEK995UDMBRzUpAbTluxb-uEwFy83lmwfoXWhd7vjABtHpIatmirSuuR_22Nn5ixXze3DthIbP-ZKdfS-x7HBrSgcZ3oASanUHs4CUJc56uZvW_QIZX1IQnz2v32cl-Ro1jRK58xBuyWAfbgxmk3UnM1ibKRpufE6HKt0pXZjoqYKmnlYv2303rmMJENdBE-PaUu1BCAuPg3YKXCBpX6y4w')"></div>
|
|
<!-- Safe Area Overlay / Gradient -->
|
|
<div class="absolute inset-0 bg-gradient-to-b from-black/20 via-transparent to-black/10"></div>
|
|
<!-- Diagnosis Card Overlay -->
|
|
<div class="absolute inset-x-container-margin bottom-6">
|
|
<div class="bg-surface-container-lowest/95 backdrop-blur-xl rounded-2xl p-sm shadow-soft animate-[slideUp_0.5s_ease-out_forwards]">
|
|
<!-- Card Header -->
|
|
<div class="flex items-center gap-xs mb-sm">
|
|
<div class="bg-error-container text-error rounded-full p-2 flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-[18px]">medical_services</span>
|
|
</div>
|
|
<h3 class="font-headline-md text-headline-md text-on-surface">Health Check</h3>
|
|
</div>
|
|
<!-- Diagnosis Rows -->
|
|
<div class="flex flex-col gap-xs">
|
|
<!-- Problem Row -->
|
|
<div class="flex items-center justify-between bg-error-container/30 px-sm py-xs rounded-lg">
|
|
<div class="flex items-center gap-xs">
|
|
<span class="material-symbols-outlined text-error text-[20px] fill">warning</span>
|
|
<span class="font-body-md text-body-md text-error font-medium">Overwatering detected</span>
|
|
</div>
|
|
</div>
|
|
<!-- Solution Row -->
|
|
<div class="flex items-center justify-between bg-surface-container-low px-sm py-xs rounded-lg">
|
|
<div class="flex items-center gap-xs">
|
|
<span class="material-symbols-outlined text-primary text-[20px] fill">check_circle</span>
|
|
<span class="font-body-md text-body-md text-on-surface font-medium">7-day rescue plan ready</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Bottom 40% Content Area -->
|
|
<div class="relative h-[40%] bg-surface-container-lowest rounded-t-3xl -mt-6 z-10 flex flex-col justify-between p-container-margin shadow-[0px_-8px_24px_rgba(0,0,0,0.04)]">
|
|
<!-- Text Content -->
|
|
<div class="mt-xs">
|
|
<h2 class="font-headline-lg text-headline-lg text-on-surface mb-xs">Health Check & Care Plan</h2>
|
|
<p class="font-body-lg text-body-lg text-on-surface-variant">GreenLens spots problems early and builds a rescue plan for you.</p>
|
|
</div>
|
|
<!-- Footer Controls -->
|
|
<div class="flex flex-col gap-lg pb-safe">
|
|
<!-- Progress Dots -->
|
|
<div class="flex items-center justify-center gap-2">
|
|
<div class="w-2 h-2 rounded-full bg-surface-variant"></div>
|
|
<!-- Active Dot -->
|
|
<div class="w-8 h-2 rounded-full bg-primary-container"></div>
|
|
<div class="w-2 h-2 rounded-full bg-surface-variant"></div>
|
|
</div>
|
|
<!-- Primary Action -->
|
|
<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 active:scale-95 transition-transform duration-150">
|
|
Continue
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<style>
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
</style>
|
|
</body></html> |