245 lines
11 KiB
HTML
245 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<title>Out of Credits</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;500;600&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"/>
|
|
<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",
|
|
"modal": "24px"
|
|
},
|
|
"spacing": {
|
|
"unit": "8px",
|
|
"gutter": "24px",
|
|
"margin-mobile": "16px",
|
|
"margin-desktop": "64px",
|
|
"container-max": "1280px"
|
|
},
|
|
"fontFamily": {
|
|
"display": [
|
|
"Epilogue"
|
|
],
|
|
"headline-md": [
|
|
"Epilogue"
|
|
],
|
|
"body-lg": [
|
|
"Manrope"
|
|
],
|
|
"headline-lg": [
|
|
"Epilogue"
|
|
],
|
|
"label-sm": [
|
|
"JetBrains Mono"
|
|
],
|
|
"headline-lg-mobile": [
|
|
"Epilogue"
|
|
],
|
|
"body-md": [
|
|
"Manrope"
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"headline-lg-mobile": [
|
|
"32px",
|
|
{
|
|
"lineHeight": "1.2",
|
|
"fontWeight": "600"
|
|
}
|
|
],
|
|
"body-md": [
|
|
"16px",
|
|
{
|
|
"lineHeight": "1.6",
|
|
"fontWeight": "400"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.icon-fill {
|
|
font-variation-settings: 'FILL' 1;
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background antialiased h-screen w-screen overflow-hidden flex justify-center items-center">
|
|
<!-- Mobile Frame Simulation -->
|
|
<div class="relative w-full h-full max-w-[430px] max-h-[932px] bg-black md:rounded-[48px] md:border-[8px] md:border-black overflow-hidden shadow-2xl">
|
|
<!-- Background (Blurred Camera Feed) -->
|
|
<div class="absolute inset-0 w-full h-full">
|
|
<img alt="Blurred plant background" class="w-full h-full object-cover blur-md scale-105" data-alt="A slightly blurred view of a lush, vibrant Monstera Deliciosa plant sitting in a modern terracotta pot indoors. The lighting is bright and natural, streaming from a nearby window, creating soft shadows. The overall mood is calm and botanical, fitting a premium plant care app. The focus is soft to act as a background canvas." src="https://lh3.googleusercontent.com/aida-public/AB6AXuA6czRRINu7xjGgvdD-yoc0YmUs2v89tYRPsgr4-uCdRpBWm0bqnfhTbV5KIx_KIm8yGs1AXeEQMoCV1dBUioReXPHv2-Jprro-G33clj1-lW3XLQgYg4ax6Y5Lsy_BJCVYM4uJ1kPHEi6OqGBzjV9M_jfJ3-bazQ2sIdUNJACfgRKoWOjibazJxke5zbQ9-TqG5UUJWRYzUR3UxpgCI0kqUjudZZvHlLPGuUekVZ2XwfdIrGxCip4b3roPP-1ZCFIJSdq1P06eRp8"/>
|
|
<!-- Dark Overlay for better contrast with the bottom sheet -->
|
|
<div class="absolute inset-0 bg-black/60"></div>
|
|
</div>
|
|
<!-- Top Status Bar Area (Safe Area) -->
|
|
<div class="absolute top-0 w-full h-12 z-20 flex justify-between items-center px-6 text-white">
|
|
<span class="font-label-sm text-label-sm">9:41</span>
|
|
<div class="flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-[16px]">signal_cellular_4_bar</span>
|
|
<span class="material-symbols-outlined text-[16px]">wifi</span>
|
|
<span class="material-symbols-outlined text-[16px]">battery_full</span>
|
|
</div>
|
|
</div>
|
|
<!-- Bottom Sheet Modal -->
|
|
<div class="absolute bottom-0 w-full bg-surface-container-lowest rounded-t-[32px] shadow-[0px_-8px_40px_rgba(0,0,0,0.15)] flex flex-col items-center pt-4 pb-10 px-gutter transform transition-transform duration-300 translate-y-0">
|
|
<!-- Drag Handle -->
|
|
<div class="w-12 h-1.5 bg-surface-variant rounded-full mb-8"></div>
|
|
<!-- Zero Scans Icon -->
|
|
<div class="relative mb-6">
|
|
<div class="w-20 h-20 bg-secondary-container rounded-full flex items-center justify-center">
|
|
<span class="material-symbols-outlined text-4xl text-on-secondary-container icon-fill">eco</span>
|
|
</div>
|
|
<!-- Badge -->
|
|
<div class="absolute -top-1 -right-1 w-8 h-8 bg-error text-on-error rounded-full flex items-center justify-center font-headline-md text-headline-md shadow-sm border-2 border-surface-container-lowest">
|
|
0
|
|
</div>
|
|
</div>
|
|
<!-- Text Content -->
|
|
<div class="text-center mb-8 px-4">
|
|
<h2 class="font-headline-lg text-headline-lg text-on-surface mb-3">You're out of free scans</h2>
|
|
<p class="font-body-md text-body-md text-on-surface-variant">Your 3 free scans renew on August 1. Upgrade to Pro for unlimited scanning.</p>
|
|
</div>
|
|
<!-- Primary Action -->
|
|
<button class="w-full h-[56px] bg-primary-container text-on-primary-container font-body-md text-body-md font-bold rounded-xl mb-4 hover:opacity-90 active:scale-[0.98] transition-all flex items-center justify-center gap-2">
|
|
<span class="material-symbols-outlined text-xl">workspace_premium</span>
|
|
See Pro Plans
|
|
</button>
|
|
<!-- Credit Top-ups -->
|
|
<div class="w-full mb-6">
|
|
<p class="font-label-sm text-label-sm text-outline mb-3 text-center uppercase tracking-wider">Or buy single credits</p>
|
|
<div class="flex justify-between gap-3">
|
|
<button class="flex-1 py-3 px-2 bg-surface-container-low border border-outline-variant rounded-xl flex flex-col items-center justify-center hover:bg-surface-container transition-colors">
|
|
<span class="font-headline-md text-headline-md text-primary">+30</span>
|
|
<span class="font-label-sm text-label-sm text-on-surface-variant mt-1">credits</span>
|
|
</button>
|
|
<button class="flex-1 py-3 px-2 bg-surface-container-low border border-outline-variant rounded-xl flex flex-col items-center justify-center hover:bg-surface-container transition-colors">
|
|
<span class="font-headline-md text-headline-md text-primary">+100</span>
|
|
<span class="font-label-sm text-label-sm text-on-surface-variant mt-1">credits</span>
|
|
</button>
|
|
<button class="flex-1 py-3 px-2 bg-surface-container-low border border-outline-variant rounded-xl flex flex-col items-center justify-center hover:bg-surface-container transition-colors relative overflow-hidden">
|
|
<!-- Best Value Badge -->
|
|
<div class="absolute top-0 w-full bg-secondary text-on-secondary text-[10px] font-bold py-0.5 text-center">BEST</div>
|
|
<span class="font-headline-md text-headline-md text-primary mt-3">+250</span>
|
|
<span class="font-label-sm text-label-sm text-on-surface-variant mt-1">credits</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<!-- Secondary Action -->
|
|
<button class="font-body-md text-body-md font-bold text-primary hover:text-primary-container transition-colors py-2 px-4">
|
|
Maybe later
|
|
</button>
|
|
</div>
|
|
<!-- Bottom Home Indicator Area -->
|
|
<div class="absolute bottom-2 w-full flex justify-center z-50">
|
|
<div class="w-32 h-1 bg-on-surface rounded-full opacity-50"></div>
|
|
</div>
|
|
</div>
|
|
</body></html> |