01b6007b1c
CI / test (push) Has been cancelled
Self-contained HTML/CSS mockups proposing the brand-as-surface direction: - Camogli harbor photo as the permanent backdrop on every authenticated view - Six user themes rebuilt as atmospheric "dusks" (tinted overlays + accents) instead of cream variants - Frosted-glass cards on top of the photo - Same type system (Marcellus / Cormorant Garamond italic / Nunito body) shared between login and in-app Includes: - login-cinematic.html: canonical pre-auth example with Ken-Burns + grain - spa/home.html, library.html, settings.html: in-app views with the new chrome - spa/_tokens.css + _chrome.css: dusk system and frosted-glass primitives - favicons/A-D: in-progress icon directions - README.md with serving instructions and the porting checklist Saved as a durable design artifact so the iteration survives /tmp wipes and can be referred back to when porting to Vue. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
250 lines
9.8 KiB
HTML
250 lines
9.8 KiB
HTML
<!doctype html>
|
|
<html lang="en" data-theme="ocean-dusk">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
<title>Library — WeVisto</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;900&family=Marcellus&family=Cormorant+Garamond:ital,wght@1,400&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="_tokens.css">
|
|
<link rel="stylesheet" href="_chrome.css">
|
|
<style>
|
|
.library-empty {
|
|
padding: 56px 24px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
.library-empty__plate {
|
|
font: var(--type-label);
|
|
letter-spacing: 0.32em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
margin-bottom: var(--space-5);
|
|
display: flex; align-items: center; gap: 10px;
|
|
}
|
|
.library-empty__plate .roman { color: var(--brand-yellow); font-family: var(--font-display); font-size: var(--text-md); }
|
|
.library-empty__plate .sep { width: 24px; height: 1px; background: var(--glass-bord); }
|
|
|
|
.library-empty__halo { position: relative; margin-bottom: var(--space-5); }
|
|
.library-empty__halo::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%; left: 50%;
|
|
width: 240px; height: 240px;
|
|
transform: translate(-50%, -50%);
|
|
background: radial-gradient(circle, color-mix(in srgb, var(--brand-yellow) 25%, transparent), transparent 65%);
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
.library-empty__mark {
|
|
width: 112px;
|
|
height: 112px;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 1px 0 rgba(255,255,255,0.18) inset,
|
|
0 20px 40px -10px rgba(0,0,0,0.6),
|
|
0 8px 20px -6px rgba(0,0,0,0.4);
|
|
}
|
|
.library-empty__mark img { width: 100%; height: 100%; display: block; }
|
|
|
|
.library-empty__title {
|
|
font: var(--type-display-xl);
|
|
color: var(--text);
|
|
margin-bottom: var(--space-2);
|
|
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
|
}
|
|
.library-empty__title em {
|
|
font-family: var(--font-accent);
|
|
font-style: italic;
|
|
color: var(--brand-yellow);
|
|
font-weight: 400;
|
|
}
|
|
.library-empty__sub {
|
|
font: italic 400 18px/1.55 var(--font-accent);
|
|
color: var(--text-muted);
|
|
max-width: 36ch;
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
.library-empty__rule {
|
|
width: 96px; height: 1px;
|
|
background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
|
|
margin: 0 auto var(--space-6);
|
|
}
|
|
.library-empty__cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: var(--accent);
|
|
color: var(--accent-fg);
|
|
padding: 14px 28px;
|
|
border-radius: var(--radius-full);
|
|
font-family: var(--font-family);
|
|
font-weight: 700;
|
|
font-size: var(--text-base);
|
|
text-decoration: none;
|
|
box-shadow: 0 8px 22px -4px color-mix(in srgb, var(--accent) 50%, transparent);
|
|
transition: transform var(--duration-fast) var(--ease-out), filter var(--duration-fast) var(--ease-out);
|
|
}
|
|
.library-empty__cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
|
|
.library-empty__cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
|
|
.library-empty__or {
|
|
margin-top: var(--space-5);
|
|
font: italic 400 var(--text-md)/1.4 var(--font-accent);
|
|
color: var(--text-muted);
|
|
}
|
|
.library-empty__or a {
|
|
color: var(--text);
|
|
border-bottom: 1px solid var(--glass-bord);
|
|
text-decoration: none;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
/* steps card — frosted */
|
|
.intro-steps {
|
|
margin: 48px var(--space-5) 0;
|
|
padding: var(--space-5) var(--space-5) var(--space-6);
|
|
border-radius: var(--radius-lg);
|
|
position: relative;
|
|
}
|
|
.intro-steps__rule {
|
|
position: absolute;
|
|
top: -1px; left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60px; height: 1px;
|
|
background: var(--brand-yellow);
|
|
}
|
|
.intro-steps__title {
|
|
font: var(--type-display-md);
|
|
color: var(--text);
|
|
text-align: center;
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
.intro-steps__title .v-mark { color: var(--brand-yellow); }
|
|
.intro-steps__sub {
|
|
font: var(--type-accent-md);
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
margin-bottom: var(--space-5);
|
|
}
|
|
.intro-steps__list { display: flex; gap: var(--space-3); }
|
|
.step { flex: 1; text-align: center; padding: var(--space-3); }
|
|
.step__num {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-2xl);
|
|
color: var(--brand-yellow);
|
|
line-height: 1;
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
.step__label {
|
|
font-size: var(--text-xs);
|
|
color: var(--text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
.step__label strong {
|
|
font-family: var(--font-display);
|
|
font-weight: 400;
|
|
font-size: var(--text-sm);
|
|
color: var(--text);
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.signature { margin: 64px var(--space-5) 0; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="atmosphere"></div>
|
|
|
|
<header class="app-bar">
|
|
<div class="app-bar__mark"><img src="../assets/mark-photo-64.png" alt=""></div>
|
|
<div class="app-bar__title-group">
|
|
<div class="app-bar__wordmark">We<span class="v">V</span>isto</div>
|
|
<div class="app-bar__sub">— the library</div>
|
|
</div>
|
|
<div class="app-bar__spacer"></div>
|
|
<button class="app-bar__icon" aria-label="Filter">
|
|
<svg viewBox="0 0 24 24"><polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"/></svg>
|
|
</button>
|
|
</header>
|
|
|
|
<main class="main-scroll">
|
|
|
|
<div class="library-empty">
|
|
<div class="library-empty__plate"><span class="roman">○</span><span class="sep"></span><span>Accession no. 001</span></div>
|
|
<div class="library-empty__halo">
|
|
<div class="library-empty__mark"><img src="../assets/mark-photo.png" alt=""></div>
|
|
</div>
|
|
<h1 class="library-empty__title">A library, <em>waiting.</em></h1>
|
|
<p class="library-empty__sub">Photographs you upload will rotate through Margaret's frame, one at a time. We'll hold them here until the frame is ready.</p>
|
|
<div class="library-empty__rule"></div>
|
|
<a class="library-empty__cta" href="#">
|
|
<svg viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
|
Upload the first photograph
|
|
</a>
|
|
<div class="library-empty__or">— or <a href="#">invite someone else</a> to send one</div>
|
|
</div>
|
|
|
|
<div class="intro-steps glass">
|
|
<div class="intro-steps__rule"></div>
|
|
<div class="intro-steps__title">How <span class="v-mark">V</span>isto works, briefly</div>
|
|
<div class="intro-steps__sub">— three steps, then forever</div>
|
|
<div class="intro-steps__list">
|
|
<div class="step"><div class="step__num">I.</div><div class="step__label"><strong>You upload</strong>family photos</div></div>
|
|
<div class="step"><div class="step__num">II.</div><div class="step__label"><strong>We hold</strong>them in the library</div></div>
|
|
<div class="step"><div class="step__num">III.</div><div class="step__label"><strong>Frame picks</strong>one each interval</div></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="signature">
|
|
<div class="signature__mark"><img src="../assets/mark-photo-64.png" alt=""></div>
|
|
<div class="signature__text">WeVisto <span class="v-mark">·</span> a frame, gifted</div>
|
|
<div class="signature__version">Edizione I · MMXXVI</div>
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<nav class="bottom-nav">
|
|
<a class="bottom-nav__tab" href="home.html">
|
|
<svg viewBox="0 0 24 24"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9,22 9,12 15,12 15,22"/></svg>
|
|
<span class="label">Home</span>
|
|
</a>
|
|
<a class="bottom-nav__tab active" href="library.html">
|
|
<svg viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/></svg>
|
|
<span class="label">Library</span>
|
|
</a>
|
|
<a class="bottom-nav__tab" href="settings.html">
|
|
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
|
|
<span class="label">Settings</span>
|
|
</a>
|
|
</nav>
|
|
|
|
<div class="theme-switcher" role="region" aria-label="Theme switcher (mockup only)">
|
|
<span class="theme-switcher__label">Dusk</span>
|
|
<div class="theme-switcher__chips">
|
|
<button class="theme-switcher__chip active" data-theme="ocean-dusk" title="Ocean dusk"></button>
|
|
<button class="theme-switcher__chip" data-theme="amber-dusk" title="Amber dusk"></button>
|
|
<button class="theme-switcher__chip" data-theme="sage-dusk" title="Sage dusk"></button>
|
|
<button class="theme-switcher__chip" data-theme="rose-dusk" title="Rose dusk"></button>
|
|
<button class="theme-switcher__chip" data-theme="mauve-dusk" title="Mauve dusk"></button>
|
|
<button class="theme-switcher__chip" data-theme="honey-dusk" title="Honey dusk"></button>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
document.querySelectorAll('.theme-switcher__chip').forEach(chip => {
|
|
chip.addEventListener('click', () => {
|
|
document.documentElement.setAttribute('data-theme', chip.dataset.theme);
|
|
document.querySelectorAll('.theme-switcher__chip').forEach(c => c.classList.toggle('active', c === chip));
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|