155 lines
9.1 KiB
HTML
155 lines
9.1 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<title>GreenLens - Onboarding</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"
|
|
},
|
|
"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 {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-surface-dim flex items-center justify-center min-h-screen">
|
|
<div class="w-full max-w-md h-[884px] md:h-[844px] md:max-h-[839px] bg-background md:rounded-[40px] md:shadow-2xl relative overflow-hidden flex flex-col mx-auto border-0 md:border-[8px] md:border-black">
|
|
<!-- Top 60% Image Area -->
|
|
<div class="relative flex-grow h-[60%] w-full" data-alt="A high-resolution, bright, natural lighting photograph of a smartphone held in front of a lush, large green Monstera leaf. The style is premium minimalist lifestyle photography, emphasizing crisp details and fresh greenery. Soft cream and white blurred background behind the plant. A clear focus on the phone screen framing the vibrant leaf." style="background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAUZPCiN64BDhHkPH2NIYPISrIugWbCp_EkjOkaMh3fiNS7ryUPfGspVCfH2uBadQkMHwjferaQCp08IRybFzVTWEwlamSXufp2jVmvwmyX95-xy2emX1T_vA22-KJ47FEjXNZXdiUrcXXe2IcpYPEJKr3kXqYMWWUcIscNC5ML8XENdrXkQHq9gi9oIewApl-N0tazA5Go8VUUuz3bl_OQKf74TXzd38fEAw7m0V4OMkx5rJhirV4ngl-afOe9exyyM2kmWWqfACg'); background-size: cover; background-position: center;">
|
|
<!-- Scan Overlay Frame -->
|
|
<div class="absolute inset-0 flex items-center justify-center pointer-events-none pb-12">
|
|
<div class="w-56 h-56 border-2 border-primary-fixed/50 rounded-2xl relative shadow-[0_0_40px_rgba(43,95,11,0.2)]">
|
|
<!-- Corner Accents -->
|
|
<div class="absolute -top-[2px] -left-[2px] w-8 h-8 border-t-[3px] border-l-[3px] border-primary-fixed rounded-tl-2xl"></div>
|
|
<div class="absolute -top-[2px] -right-[2px] w-8 h-8 border-t-[3px] border-r-[3px] border-primary-fixed rounded-tr-2xl"></div>
|
|
<div class="absolute -bottom-[2px] -left-[2px] w-8 h-8 border-b-[3px] border-l-[3px] border-primary-fixed rounded-bl-2xl"></div>
|
|
<div class="absolute -bottom-[2px] -right-[2px] w-8 h-8 border-b-[3px] border-r-[3px] border-primary-fixed rounded-br-2xl"></div>
|
|
<!-- Scanning line animation simulation -->
|
|
<div class="absolute top-1/2 left-0 w-full h-[2px] bg-primary-fixed shadow-[0_0_8px_rgba(182,243,144,0.8)] opacity-70"></div>
|
|
</div>
|
|
</div>
|
|
<!-- Result Chip -->
|
|
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 translate-y-[140px] bg-surface-container-lowest/90 backdrop-blur-xl px-4 py-2.5 rounded-full shadow-[0px_8px_24px_rgba(16,28,18,0.12)] flex items-center space-x-2.5 border border-surface-variant">
|
|
<span class="material-symbols-outlined text-primary text-[18px]" style="font-variation-settings: 'FILL' 1;">temp_preferences_eco</span>
|
|
<span class="font-label-md text-label-md text-on-surface">Monstera identified · 98%</span>
|
|
</div>
|
|
</div>
|
|
<!-- Bottom 40% Sheet -->
|
|
<div class="relative h-[40%] bg-surface-container-lowest rounded-t-[32px] w-full px-gutter py-8 flex flex-col justify-between z-10 shadow-[0px_-8px_32px_rgba(16,28,18,0.06)] -mt-8">
|
|
<!-- Text Content -->
|
|
<div class="flex flex-col space-y-4 text-center mt-4">
|
|
<h1 class="font-display text-display text-on-surface">Scan Any Plant</h1>
|
|
<p class="font-body-lg text-body-lg text-on-surface-variant max-w-[300px] mx-auto">
|
|
Point your camera at a plant and GreenLens identifies it in seconds.
|
|
</p>
|
|
</div>
|
|
<!-- Bottom Controls -->
|
|
<div class="flex flex-col space-y-8 items-center w-full pb-6">
|
|
<!-- Progress Dots -->
|
|
<div class="flex space-x-2.5">
|
|
<div class="w-8 h-2 bg-primary rounded-full transition-all duration-300"></div>
|
|
<div class="w-2 h-2 bg-surface-variant rounded-full transition-all duration-300"></div>
|
|
<div class="w-2 h-2 bg-surface-variant rounded-full transition-all duration-300"></div>
|
|
</div>
|
|
<!-- Action Button -->
|
|
<button class="w-full h-[56px] bg-primary-container text-on-primary rounded-[14px] font-label-lg text-label-lg flex items-center justify-center hover:opacity-90 active:scale-95 transition-all shadow-sm">
|
|
CONTINUE
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body></html> |