Add onboarding/soft-paywall/free-tier design spec + Stitch design reference
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" 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=Epilogue:wght@500;600;700&family=Manrope:wght@400&family=JetBrains+Mono:wght@500&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": {
|
||||
"on-primary-fixed-variant": "#2e4f00",
|
||||
"inverse-primary": "#41690c",
|
||||
"surface": "#0c160d",
|
||||
"on-tertiary-fixed": "#171d15",
|
||||
"primary-container": "#a6d66f",
|
||||
"on-error-container": "#ffdad6",
|
||||
"surface-dim": "#0c160d",
|
||||
"surface-container-lowest": "#071008",
|
||||
"secondary-fixed-dim": "#b7ccb5",
|
||||
"secondary": "#b7ccb5",
|
||||
"secondary-container": "#394b39",
|
||||
"on-surface": "#dae6d6",
|
||||
"primary-fixed": "#c0f287",
|
||||
"primary": "#c1f388",
|
||||
"on-primary": "#1e3700",
|
||||
"surface-bright": "#313c31",
|
||||
"tertiary-fixed": "#dee5d6",
|
||||
"error-container": "#93000a",
|
||||
"background": "#0c160d",
|
||||
"on-tertiary-fixed-variant": "#42493e",
|
||||
"on-tertiary": "#2c3229",
|
||||
"on-surface-variant": "#c3c9b6",
|
||||
"inverse-surface": "#dae6d6",
|
||||
"on-secondary": "#233424",
|
||||
"on-primary-container": "#365d00",
|
||||
"inverse-on-surface": "#283328",
|
||||
"surface-variant": "#2d372d",
|
||||
"surface-container-low": "#141e14",
|
||||
"surface-container-highest": "#2d372d",
|
||||
"surface-container-high": "#222d22",
|
||||
"tertiary-fixed-dim": "#c2c9bb",
|
||||
"tertiary-container": "#c3cabc",
|
||||
"outline": "#8d9382",
|
||||
"on-background": "#dae6d6",
|
||||
"on-secondary-fixed": "#0f1f10",
|
||||
"on-error": "#690005",
|
||||
"secondary-fixed": "#d3e8d0",
|
||||
"outline-variant": "#43493a",
|
||||
"error": "#ffb4ab",
|
||||
"on-secondary-fixed-variant": "#394b39",
|
||||
"on-tertiary-container": "#4e554a",
|
||||
"surface-tint": "#a5d56e",
|
||||
"tertiary": "#dfe6d8",
|
||||
"surface-container": "#182218",
|
||||
"on-secondary-container": "#a6bba4",
|
||||
"primary-fixed-dim": "#a5d56e",
|
||||
"on-primary-fixed": "#0f2000"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"unit": "8px",
|
||||
"gutter": "24px",
|
||||
"margin-mobile": "16px",
|
||||
"margin-desktop": "64px",
|
||||
"container-max": "1280px",
|
||||
"xs": "8px",
|
||||
"xl": "32px",
|
||||
"base": "4px",
|
||||
"sm": "12px",
|
||||
"md": "16px",
|
||||
"lg": "24px",
|
||||
"container-margin": "20px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"display": [
|
||||
"Epilogue"
|
||||
],
|
||||
"headline-md": [
|
||||
"Epilogue"
|
||||
],
|
||||
"body-lg": [
|
||||
"Manrope"
|
||||
],
|
||||
"headline-lg": [
|
||||
"Epilogue"
|
||||
],
|
||||
"label-sm": [
|
||||
"JetBrains Mono"
|
||||
],
|
||||
"headline-lg-mobile": [
|
||||
"Epilogue"
|
||||
],
|
||||
"body-md": [
|
||||
"Manrope"
|
||||
],
|
||||
"label-lg": [
|
||||
"Epilogue"
|
||||
]
|
||||
},
|
||||
"fontSize": {
|
||||
"display": [
|
||||
"64px",
|
||||
{
|
||||
"lineHeight": "1.1",
|
||||
"letterSpacing": "-0.02em",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
],
|
||||
"headline-md": [
|
||||
"28px",
|
||||
{
|
||||
"lineHeight": "1.3",
|
||||
"fontWeight": "500"
|
||||
}
|
||||
],
|
||||
"body-lg": [
|
||||
"18px",
|
||||
{
|
||||
"lineHeight": "1.6",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
],
|
||||
"headline-lg": [
|
||||
"40px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"letterSpacing": "-0.01em",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"label-sm": [
|
||||
"12px",
|
||||
{
|
||||
"lineHeight": "1.0",
|
||||
"letterSpacing": "0.05em",
|
||||
"fontWeight": "500"
|
||||
}
|
||||
],
|
||||
"label-lg": [
|
||||
"16px",
|
||||
{
|
||||
"lineHeight": "1.4",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"headline-lg-mobile": [
|
||||
"32px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"body-md": [
|
||||
"16px",
|
||||
{
|
||||
"lineHeight": "1.6",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</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/50 via-transparent to-black/60"></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.2)]">
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user