Match the Breeze website to Studio and open the full web app directly

This commit is contained in:
waozi committed 2026-11-03 08:08:39 -03:00
1 parent 635c968633
commit dad571002f
6 files changed
+164 -42

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
## [Unreleased]
- Open the full web app directly from a website styled to match Waozi Studio, without the mini preview.
- Open Arcade with its console artwork, framed player HUD and game Home navigation.
## [2.1.62] - 2026-11-03
+1 -1
View File
@@ -5,7 +5,7 @@ set -eu
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
root_dir=$(dirname -- "$script_dir")
out_dir="$root_dir/build/site"
web_dir="$root_dir/build/dist/web"
web_dir=${SITE_WEB_DIR:-"$root_dir/build/dist/web"}
kryon_dir=${KRYON_DIR:-"$root_dir/build/packages/kryon"}
require_path() {
+54 -21
View File
@@ -4,19 +4,14 @@
.site-header .site-return { display: inline-flex; align-items: center; }
.botanical { width: 83%; max-width: 340px; justify-self: end; }
.hero .text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding-inline: 9px; }
.practice-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 30px 60px; padding-block: 40px 30px; border-top: 1px solid var(--line); }
.preview-copy { max-width: 460px; }
.preview-copy h2 { margin: 16px 0 20px; }
.preview-description { color: var(--muted); }
.practice-options { display: grid; gap: 20px; margin: 28px 0; }
.practice-options dt { display: flex; align-items: center; gap: 12px; font: 400 25px/1.2 var(--serif); }
.practice-options dt img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }
.practice-options dd { margin: 6px 0 0 36px; color: var(--muted); font-size: 13px; }
.preview-full-app { display: block; padding-block: 16px; border-top: 1px solid var(--line); }
.preview-app { min-width: 0; }
.preview-frame { height: 560px; overflow: hidden; border: 6px solid var(--sage); border-radius: 28px; background: var(--paper); }
.preview-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.preview-app .small-note { text-align: center; }
.practice-features { padding-block: 40px 30px; border-top: 1px solid var(--line); }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 32px; }
.practice-grid article { min-width: 0; padding: 28px; border: 2px solid var(--ink); border-radius: 20px; background: var(--surface); box-shadow: 0 5px 0 var(--ink); }
.practice-grid article:nth-child(2) { background: var(--sage); }
.practice-grid article:nth-child(3) { background: #fff0bd; }
.practice-grid img { margin-bottom: 24px; }
.practice-grid h3 { margin-bottom: 12px; }
.practice-grid p { color: var(--muted); font-size: 14px; }
.practice-safety { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.practice-safety strong { color: var(--ink); font-weight: 600; }
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
@@ -40,17 +35,17 @@
.site-header { gap: 18px; }
.site-header .brand { font-size: 25px; }
.site-header .brand img { width: 32px; }
.practice-preview { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.preview-copy { max-width: none; }
.preview-app { width: min(100%, 420px); justify-self: center; }
.practice-grid { gap: 16px; }
.practice-grid article { padding: 22px; }
.privacy-band { gap: 30px; }
}
@media (max-width: 650px) {
.download-grid { grid-template-columns: 1fr; }
.download-grid, .practice-grid { grid-template-columns: 1fr; }
.privacy-band { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 540px) {
.site-header { flex-wrap: nowrap; gap: 12px; }
.site-header { flex-wrap: wrap; gap: 16px; padding-block: 18px; }
.site-actions { width: 100%; justify-content: space-between; }
.site-header .brand { gap: 8px; }
.site-header .site-return { flex-shrink: 0; }
.botanical { width: 55% !important; max-width: 200px; margin-top: -40px !important; margin-bottom: -5px !important; }
@@ -68,7 +63,7 @@
.policy-hero em, .converter-intro em { font-style: normal; }
.policy-lede, .converter-lede { color: var(--muted); font-size: 15px; }
.policy-date { margin-top: 20px; color: var(--muted); font-size: 11px; }
.policy-promise { padding: 26px; border: 1px solid var(--line); background: #edf0e5; }
.policy-promise { padding: 26px; border: 1px solid var(--line); background: var(--sage); }
.policy-promise-label, .policy-kicker, .policy-toc > p { margin-bottom: 15px; color: var(--green); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.policy-promise ul { margin: 0; padding: 0; list-style: none; }
.policy-promise li { display: grid; grid-template-columns: 24px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; }
@@ -87,7 +82,7 @@
.policy-section li { margin-bottom: 10px; }
.policy-section strong { color: var(--ink); }
.policy-section code { overflow-wrap: anywhere; font-size: 12px; }
.policy-callout { padding: 20px; margin-block: 24px; border-left: 2px solid var(--green); background: #e8ede0; }
.policy-callout { padding: 20px; margin-block: 24px; border-left: 2px solid var(--green); background: var(--sage); }
.policy-callout strong { display: block; margin-bottom: 10px; font-size: 13px; }
.policy-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 28px; }
.policy-service-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
@@ -98,7 +93,7 @@
.converter-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding-bottom: 30px; }
.converter-steps > div { display: flex; gap: 12px; align-items: start; font-size: 12px; }
.converter-steps b { color: var(--green); font: 400 24px var(--serif); }
.converter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 35px; border: 1px solid var(--line); background: #eff0e7; }
.converter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 35px; border: 1px solid var(--line); background: var(--surface); }
.converter-panel h2 { margin: 15px 0; }
.converter-panel-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.converter-controls label { display: block; font-size: 12px; margin-bottom: 12px; }
@@ -132,3 +127,41 @@ body > footer:not(.site-footer) div { display: flex; flex-wrap: wrap; gap: 18px;
@media (max-width: 450px) {
.policy-service-grid { grid-template-columns: 1fr; }
}
/* Waozi Studio's shared palette, type and outlined controls. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
--paper: #fff8ee;
--surface: #ffffff;
--ink: #1d1631;
--muted: #5d5670;
--violet: #6a4cff;
--coral: #ff6b57;
--sun: #ffc93c;
--green: var(--violet);
--rust: var(--coral);
--accent: var(--violet);
--sage: #efe8ff;
--line: #e8dfd0;
--display: 'Bricolage Grotesque', Manrope, system-ui, sans-serif;
}
body::before { opacity: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 750; letter-spacing: -.03em; }
::selection { background: var(--sun); color: var(--ink); }
.brand { color: var(--ink); font: 800 28px/1 var(--display); letter-spacing: -.035em; }
.site-actions { display: flex; align-items: center; gap: 24px; }
.site-actions a { flex-shrink: 0; }
.site-return { font-size: 13px; font-weight: 700; }
.button { min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.button:hover { background: var(--sun); color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.button-primary, .button-primary:hover { border-color: var(--ink); background: var(--violet); color: #fff; }
.text-link { color: var(--violet); font-weight: 700; }
.hero h1 { font-size: clamp(52px, 6.8vw, 88px); line-height: .98; letter-spacing: -.045em; }
@media (max-width: 760px) {
.site-header { flex-wrap: wrap; padding-block: 18px; }
.site-actions { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
.button { transition: none; }
.button:hover { transform: none; }
}
+15 -20
View File
@@ -5,18 +5,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<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://inbe.waozi.xyz/">
<link rel="canonical" href="https://breeze.waozi.xyz/">
<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}">
<link rel="icon" type="image/png" sizes="192x192" href="/site-icons/icon-192x192.png?v=${asset_version}">
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png?v=${asset_version}">
<meta name="theme-color" content="#f7f3eb">
<meta name="theme-color" content="#fff8ee">
<meta property="og:type" content="website">
<meta property="og:url" content="https://inbe.waozi.xyz/">
<meta property="og:url" content="https://breeze.waozi.xyz/">
<meta property="og:title" content="Inner Breeze">
<meta property="og:description" content="A quieter place for breathing, meditation, and habits.">
<meta property="og:image" content="https://inbe.waozi.xyz/og.png">
<meta property="og:image" content="https://breeze.waozi.xyz/og.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
@@ -25,39 +25,34 @@
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Inner Breeze">
<meta name="twitter:description" content="A quieter place for breathing, meditation, and habits.">
<meta name="twitter:image" content="https://inbe.waozi.xyz/og.png">
<meta name="twitter:image" content="https://breeze.waozi.xyz/og.png">
<meta name="twitter:image:alt" content="Inner Breeze, breathing, meditation, and habits">
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
<header class="site-header">
<a class="brand" href="/" aria-label="Inner Breeze home"><img src="/assets/editorial/lotus.svg" width="43" height="36" alt="">Inner Breeze</a>
<a class="site-return" href="https://waozi.xyz/#apps">← Waozi</a>
<nav class="site-actions" aria-label="Main navigation"><a class="site-return" href="https://waozi.xyz/studio/">← Waozi Studio</a><a class="button button-primary" href="/build/web/index.html">Open web app <span aria-hidden="true">→</span></a></nav>
</header>
<main class="container" id="main-content">
<section class="hero" aria-labelledby="hero-title">
<div class="hero-copy">
<h1 id="hero-title">Make room<br>to breathe.</h1>
<p class="hero-lede">Guided breathing, meditation, and simple habits, at your own pace.</p>
<div class="actions"><a class="button button-primary" href="#practices">Try a practice <span aria-hidden="true">↓</span></a><a class="text-link" href="#download">Get the app <span aria-hidden="true">→</span></a></div>
<div class="actions"><a class="button button-primary" href="/build/web/index.html">Open full web app <span aria-hidden="true">→</span></a><a class="text-link" href="#download">Get the app <span aria-hidden="true">→</span></a></div>
<p class="small-note">Free to use · Works offline · No account required</p>
</div>
<figure class="hero-art botanical"><img src="/images/botanical.webp" width="1254" height="1254" alt="A delicate sage-green botanical branch, drawn in ink and watercolor" fetchpriority="high"></figure>
</section>
<section class="practice-preview" id="practices" aria-labelledby="preview-title">
<div class="preview-copy">
<p class="eyebrow">A pause, right here</p>
<h2 id="preview-title">Start with a breath.</h2>
<p class="preview-description">Choose a practice in the panel and settle in.</p>
<dl class="practice-options">
<div><dt><img src="/icons/breathe.png" width="24" height="24" alt="">Breathe</dt><dd>Follow guided patterns or set your own pace.</dd></div>
<div><dt><img src="/icons/meditate.png" width="24" height="24" alt="">Meditate</dt><dd>Set a timer and choose a soft background sound.</dd></div>
</dl>
<a class="text-link preview-full-app" href="/build/web/index.html" target="_blank" rel="noopener">For habits and saved history, open the full app <span aria-hidden="true">↗</span></a>
<section class="practice-features" id="practices" aria-labelledby="practices-title">
<div class="section-heading">
<p class="eyebrow">At your own pace</p>
<h2 id="practices-title">A little space for you.</h2>
</div>
<div class="preview-app">
<div class="preview-frame"><iframe src="/build/web/index.html?mini&amp;theme=waozi" title="Inner Breeze: try a breathing or meditation practice" loading="lazy" allow="autoplay; clipboard-write" aria-describedby="preview-session-note"></iframe></div>
<p class="small-note" id="preview-session-note">This preview does not save session history.</p>
<div class="practice-grid">
<article><img src="/icons/breathe.png" width="32" height="32" alt=""><h3>Breathe</h3><p>Follow guided patterns or set your own pace.</p></article>
<article><img src="/icons/meditate.png" width="32" height="32" alt=""><h3>Meditate</h3><p>Set a timer and choose a soft background sound.</p></article>
<article><img src="/icons/habits.png" width="32" height="32" alt=""><h3>Build habits</h3><p>Keep your daily routines and saved history together in the full app.</p></article>
</div>
<aside class="practice-safety" id="safety" aria-labelledby="safety-title">
<p><strong id="safety-title">Stay seated. Stay gentle.</strong> Intense breathing can cause light-headedness. Never practice while driving, swimming, in water, or anywhere losing consciousness could be dangerous.</p>
@@ -0,0 +1,93 @@
Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.