Animate the Inner Breeze homepage
Cloudflare Pages / Build and verify the site (push) Failing after 3m9s

This commit is contained in:
waozi committed 2026-11-20 12:18:38 -03:00
1 parent 313cffba7c
commit 6109de053d
3 files changed
+149 -28

No files matched your search

+1
View File
@@ -5,6 +5,7 @@
- Fix Backspace, editing and backup restores. Find Photos and Radio faster. Buy Dew with Telegram Stars.
- Start practices cleanly, switch smoothly, resume sessions, and see download progress and Android picture-in-picture.
- Reset break timers after time away, match coins and timers to the theme, and claim daily coins in Habits.
- See the animated Inner Breeze homepage, with a pause control and reduced-motion support.
## [2.1.63] - 2026-11-05
+125 -20
View File
@@ -6,7 +6,7 @@
--muted: #486057;
--accent: #29584a;
--line: #cbd6c9;
background: radial-gradient(ellipse at 88% 13%, #dce8d9 0%, transparent 39rem), var(--paper);
background: var(--paper);
}
.home h1, .home h2, .home h3, .home .brand { font-family: var(--serif); font-weight: 400; }
.home .brand { min-height: 44px; font-size: clamp(24px, 4vw, 33px); }
@@ -14,24 +14,129 @@
.home .site-header { min-height: 76px; }
.home .site-actions { flex-wrap: wrap; gap: 4px 24px; }
.home .text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--accent); font-size: 14px; }
.home .hero { min-height: 535px; gap: 40px; padding-block: 62px; }
.home .hero h1 { margin: 0 0 22px; font-size: clamp(65px, 9.3vw, 125px); line-height: .9; }
.home .hero {
isolation: isolate;
grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
min-height: 535px;
gap: clamp(20px, 3vw, 40px);
margin-block: 12px 42px;
padding: clamp(32px, 5.2vw, 70px) clamp(24px, 5vw, 72px);
border: 1px solid #c0d5cb;
border-radius: 36px;
background: #e6eee2;
}
.home .hero h1 { margin: 0 0 22px; font-size: clamp(56px, 7.3vw, 100px); line-height: .9; }
.home .hero h1 em { color: var(--accent); font-weight: inherit; }
.home .hero-lede { font-size: clamp(16px, 2.3vw, 20px); line-height: 1.6; }
.home .small-note { font-size: 13px; }
.home .hero-copy, .home .botanical { position: relative; }
.home .hero-copy { z-index: 1; }
.home .button { min-height: 48px; border: 1px solid var(--ink); background: var(--ink); color: #fff; box-shadow: none; font-size: 14px; }
.home .button:hover { background: #345b4e; color: #fff; box-shadow: none; }
.home .botanical {
width: min(100%, 445px);
justify-self: end;
padding: 22px;
border: 1px solid #aabfae;
border-radius: 49% 49% 46% 46%;
animation: botanical-arrive 950ms ease-out both;
.home .button:hover, .home .button:focus-visible { background: #345b4e; color: #fff; box-shadow: none; }
.hero-atmosphere {
position: absolute;
z-index: -1;
inset: 0;
overflow: hidden;
border-radius: inherit;
background: linear-gradient(128deg, #f6f3e7 6%, #e8f2dc 43%, #cee6de 75%, #b9dae3);
pointer-events: none;
}
.home .botanical img { border-radius: inherit; mask-image: radial-gradient(ellipse, #000 54%, transparent 72%); }
@keyframes botanical-arrive {
from { opacity: .6; transform: translateY(10px); }
.hero-glow {
position: absolute;
inset: -40% -20%;
background:
radial-gradient(ellipse at 74% 42%, #82c5cbad, transparent 38%),
radial-gradient(ellipse at 43% 57%, #f4ffcbdd, transparent 41%);
}
.hero-contours {
position: absolute;
inset: -20% -17%;
width: 134%;
height: 140%;
color: #39766e52;
stroke: currentColor;
}
.hero-contours g { stroke-width: 1; }
.hero-ribbon { fill: #fcfff455; stroke: none; }
.home .botanical {
width: min(100%, 420px);
justify-self: end;
padding: clamp(12px, 2vw, 24px);
border: 1px solid #507c70a6;
border-radius: 50%;
background: #f7f5e93b;
box-shadow: 0 0 0 9px #f4fff23d;
mix-blend-mode: normal;
}
.home .botanical img { border-radius: inherit; mask-image: radial-gradient(ellipse, #000 54%, transparent 72%); mix-blend-mode: multiply; }
.motion-toggle, .motion-control { display: none; }
@media (prefers-reduced-motion: no-preference) {
.hero-contours { animation: drift-contours 11s ease-in-out infinite alternate; }
.hero-glow { animation: drift-glow 9s ease-in-out infinite alternate; }
.home .botanical img { animation: botanical-breathe 7s ease-in-out infinite; }
.home .hero-copy > :not(h1) { animation: hero-arrive 620ms ease-out both; }
.home .hero-copy .actions { animation-delay: 90ms; }
.home .hero-copy .small-note { animation-delay: 165ms; }
.motion-toggle {
display: block;
position: absolute;
width: 1px;
height: 1px;
clip-path: inset(50%);
}
.motion-control {
position: absolute;
z-index: 2;
inset: auto 18px 15px auto;
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 44px;
padding-inline: 13px;
border: 1px solid #73958a;
border-radius: 99px;
background: #f5faf2;
color: var(--ink);
font-size: 12px;
font-weight: 700;
cursor: pointer;
}
.motion-control::before { content: ''; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.motion-toggle:focus-visible + .motion-control { outline: 2px solid var(--ink); outline-offset: 3px; }
.motion-resume, .motion-toggle:checked + .motion-control .motion-pause { display: none; }
.motion-toggle:checked + .motion-control .motion-resume { display: inline; }
.motion-toggle:checked + .motion-control::before {
border: 5px solid transparent;
border-left: 7px solid currentColor;
border-right: 0;
width: 0;
height: 0;
}
.motion-toggle:checked ~ .hero-atmosphere > *, .motion-toggle:checked ~ .botanical img { animation-play-state: paused; }
.practice-grid article, .download-grid article { transition: transform .24s ease, border-color .24s ease; }
.download-grid article:focus-within { border-color: var(--accent); transform: translateY(-3px); }
@media (hover: hover) {
.practice-grid article:hover, .download-grid article:hover { border-color: var(--accent); transform: translateY(-3px); }
}
@supports (animation-timeline: view()) and (animation-range: entry) {
.practice-grid article > img { animation: hero-arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
}
@keyframes drift-contours {
from { transform: translate3d(-3%, 7%, 0) rotate(-7deg) scale(1.05); }
to { transform: translate3d(8%, -8%, 0) rotate(8deg) scale(1.17); }
}
@keyframes drift-glow {
from { transform: translate3d(-10%, 10%, 0) scale(.92); }
to { transform: translate3d(10%, -10%, 0) scale(1.15); }
}
@keyframes botanical-breathe {
0%, 100% { transform: scale(.95); }
50% { transform: translateY(-5px) scale(1.06); }
}
@keyframes hero-arrive {
from { opacity: .82; transform: translateY(9px); }
to { opacity: 1; transform: translateY(0); }
}
.practice-features { padding-block: 40px 34px; border-top: 1px solid var(--line); }
@@ -62,17 +167,17 @@
.download-grid p, .migration p { color: var(--muted); margin-top: 8px; }
.link-row { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 7px; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.migration { padding-top: 24px; border-top: 1px solid var(--line); }
.migration:not(details) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; }
.web-migration { margin-top: 24px; }
.web-migration summary { padding-block: 9px; cursor: pointer; font-weight: 700; }
.migration { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.home .site-footer { margin-top: 0; }
.home .footer-links { margin-top: 0; gap: 0 22px; }
.home .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.home .footer-bottom { font-size: 12px; }
@media (max-width: 680px) {
.home .hero { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding-block: 42px; }
.home .botanical { width: min(66%, 250px); padding: 12px; margin: 0 !important; }
.home .hero { grid-template-columns: 1fr; min-height: 0; gap: 25px; margin-top: 4px; padding: 32px 20px 70px; border-radius: 25px; }
.home .hero h1 { font-size: clamp(46px, 12vw, 77px); }
.home .botanical { width: min(66%, 250px); justify-self: center; margin: 0 !important; }
.hero-contours { inset: -13% -36%; width: 172%; height: 126%; }
.motion-control { right: 12px; bottom: 10px; }
.download-grid, .practice-grid, .privacy-band, .dew-band { grid-template-columns: 1fr; }
.dew-band .button { justify-self: start; }
}
+23 -8
View File
@@ -6,6 +6,8 @@
<title>Inner Breeze — breathing, meditation, and habits</title>
<meta name="description" content="Inner Breeze is a calm, local-first app for guided breathing, meditation, and habit tracking on the web, Android, and desktop.">
<link rel="canonical" href="https://innerbreeze.org/">
<link rel="preload" href="/assets/editorial/newsreader.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/assets/editorial/manrope.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="/css/landing.css?v=${asset_version}">
<link rel="manifest" href="/manifest.json?v=${asset_version}">
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png?v=${asset_version}">
@@ -49,6 +51,27 @@
</div>
<p class="small-note">Free to start. No account needed for local practice.</p>
</div>
<input class="motion-toggle" id="hero-motion" type="checkbox" aria-label="Pause motion">
<label class="motion-control" for="hero-motion" aria-hidden="true">
<span class="motion-pause">Pause motion</span><span class="motion-resume">Resume motion</span>
</label>
<div class="hero-atmosphere" aria-hidden="true">
<div class="hero-glow"></div>
<svg class="hero-contours" viewBox="0 0 1200 790" preserveAspectRatio="xMidYMid slice" focusable="false">
<path class="hero-ribbon" d="M-100 552C189 684 398 638 612 467S989 168 1300 296V436C974 280 808 489 610 604S174 778-100 644Z"/>
<g fill="none">
<path d="M-100 474C210 677 412 589 630 387S1004 126 1300 252"/>
<path d="M-100 500C213 681 416 610 628 413S1008 146 1300 275"/>
<path d="M-100 526C213 685 416 627 618 442S1008 166 1300 298"/>
<path d="M-100 552C189 684 398 638 612 467S989 168 1300 321"/>
<path d="M-100 575C190 713 405 650 610 493S987 194 1300 344"/>
<path d="M-100 598C188 737 410 672 612 519S983 216 1300 367"/>
<path d="M-100 621C181 755 408 695 611 547S981 241 1300 390"/>
<path d="M-100 644C174 778 405 720 610 574S977 265 1300 413"/>
<path d="M-100 667C166 801 401 745 610 604S974 280 1300 436"/>
</g>
</svg>
</div>
<figure class="hero-art botanical"><img src="/images/botanical.webp" width="1254" height="1254" alt="" fetchpriority="high"></figure>
</section>
<section class="practice-features" id="practices" aria-labelledby="practices-title">
@@ -138,14 +161,6 @@
</div>
<a class="text-link" href="/legacy-converter/">Convert old history <span aria-hidden="true">→</span></a>
</aside>
<details class="migration web-migration">
<summary>Used Inner Breeze on the previous website?</summary>
<p>Open the old app in the same browser you used before. Use its data export or export your sync key, then import it in Settings on this website. The two sites have separate browser storage.</p>
<div class="link-row">
<a href="https://inbe.waozi.xyz/build/web/?legacy-origin=1">Open the previous app on inbe.waozi.xyz</a>
<a href="https://breeze.waozi.xyz/build/web/?legacy-origin=1">Open the previous app on breeze.waozi.xyz</a>
</div>
</details>
</section>
</main>
<footer class="site-footer container">