Breathe
Follow guided patterns or set your own pace.
diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml new file mode 100644 index 000000000..4036662fa --- /dev/null +++ b/.gitea/workflows/pages.yml @@ -0,0 +1,88 @@ +name: Cloudflare Pages + +on: + push: + branches: [master] + pull_request: + workflow_dispatch: + +concurrency: + group: breeze-pages-${{ gitea.ref }} + cancel-in-progress: false + +jobs: + site: + name: Build and verify the site + if: gitea.event_name == 'pull_request' || gitea.ref == 'refs/heads/master' + # The Ubuntu label is registered by the Build runners. + runs-on: alpha-ubuntu24.04 + timeout-minutes: 45 + env: + PACKAGE_FLAGS: --locked + SITE_ASSET_VERSION: ${{ gitea.sha }} + steps: + - name: Check out Breeze from Gitea + uses: https://github.com/actions/checkout@v4 + with: + lfs: true + persist-credentials: false + + - name: Set up Node.js + uses: https://github.com/actions/setup-node@v4 + with: + node-version: 22 + + - name: Install site build dependencies + run: .github/scripts/install-apt-packages.sh .github/apt/empty-packages.txt apt-utils gnupg ripgrep unzip zip zstd + + - name: Resolve locked package sources on Gitea + env: + GIT_CONFIG_COUNT: '3' + GIT_CONFIG_KEY_0: url.https://git.waozi.xyz/waozi/.insteadOf + GIT_CONFIG_VALUE_0: https://github.com/waozixyz/ + GIT_CONFIG_KEY_1: url.https://git.waozi.xyz/kryonlabs/.insteadOf + GIT_CONFIG_VALUE_1: https://github.com/kryonlabs/ + GIT_CONFIG_KEY_2: url.https://git.waozi.xyz/ziranlang/.insteadOf + GIT_CONFIG_VALUE_2: https://github.com/ziranlang/ + run: make packages + + - name: Select the verified web app origin + if: gitea.event_name != 'pull_request' + run: | + set -eu + host=innerbreeze.org + if ! sh site/check-account-origin.sh "$host"; then + host=inbe.waozi.xyz + sh site/check-account-origin.sh "$host" + fi + printf 'SITE_APP_HOST=%s\n' "$host" >> "$GITHUB_ENV" + + - name: Build site with the published web app and signed download repository + env: + APT_SIGNING_KEY: ${{ gitea.event_name != 'pull_request' && secrets.APT_SIGNING_KEY || '' }} + run: sh site/build-production.sh + + - name: Test website routes, assets and Telegram bridge + run: | + make site-assets-test apt-repo-test + node tests/telegram_bridge_test.mjs + + - name: Deploy current master to Cloudflare Pages + if: gitea.event_name != 'pull_request' + env: + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + WRANGLER_SEND_METRICS: 'false' + REVISION: ${{ gitea.sha }} + run: | + set -euo pipefail + test "$(git rev-parse HEAD)" = "$REVISION" + test "$(git ls-remote origin refs/heads/master | cut -f1)" = "$REVISION" + : "${CLOUDFLARE_API_TOKEN:?Missing Gitea Pages deployment token}" + : "${CLOUDFLARE_ACCOUNT_ID:?Missing Gitea Pages account ID}" + # Verify the public domain and the selected app origin before uploading. + curl -fsS --max-time 25 https://innerbreeze.org/ -o /dev/null + sh site/check-account-origin.sh "$SITE_APP_HOST" + npm exec --yes --package=wrangler@4.152.0 -- wrangler pages deploy build/site \ + --project-name=inbe --branch=master --commit-hash="$REVISION" --commit-dirty=false + sh site/verify-deployment.sh "$REVISION" diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f9243c0dd..2036410c7 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,200 +1,31 @@ -name: Cloudflare Pages +name: Refresh Gitea Pages after release on: - push: - branches: - - master - # Refresh available downloads after a release; pushes deploy independently. workflow_run: workflows: [Release] types: [completed] branches: [master] - pull_request: - workflow_dispatch: - inputs: - released_web: - description: Use the published web app for a website-only update - type: boolean - default: false -permissions: - contents: read - -concurrency: - # A failed Release produces a skipped refresh, which must not cancel a push. - group: pages-${{ github.ref }}-${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success' && 'skipped' || 'deploy' }} - # Finish the active deployment; newer pushes replace only the pending refresh. - cancel-in-progress: false +permissions: {} jobs: - build: - name: Build Site + refresh-gitea-after-release: + name: Refresh Gitea Pages after a successful release + if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest - timeout-minutes: 60 - if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' - env: - # Production follows the phone-verified release; previews test new source. - USE_RELEASED_WEB: ${{ github.event_name != 'pull_request' || inputs.released_web }} - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - lfs: true - - - name: Fetch Ziran packages - uses: ./.github/actions/ziran-packages - - - name: Set up Node.js for the web build - uses: actions/setup-node@v4 - with: - node-version: 22 - - - name: Resolve published downloads + - name: Dispatch the current Gitea master workflow env: - GH_TOKEN: ${{ github.token }} + BREEZE_PAGES_DISPATCH_TOKEN: ${{ secrets.BREEZE_PAGES_DISPATCH_TOKEN }} run: | set -euo pipefail - gh api repos/waozixyz/breeze/releases/latest > "$RUNNER_TEMP/inbe-published-release.json" - python3 - "$RUNNER_TEMP/inbe-published-release.json" >> "$GITHUB_ENV" <<'PY' - import json - import re - import sys - from pathlib import Path - - release = json.loads(Path(sys.argv[1]).read_text()) - tag = release["tag_name"] - version = tag.removeprefix("v") - assert re.fullmatch(r"(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)", version), "Invalid published release version" - assets = {asset["name"] for asset in release["assets"]} - candidates = [f"inbe-{version}-arm64-v8a.apk", f"inbe-{version}.apk"] - android = next((name for name in candidates if name in assets), None) - assert android is not None, "Published release has no compatible Android APK" - print(f"SITE_RELEASE_VERSION={version}") - print(f"SITE_ANDROID_APK_ASSET={android}") - PY - - - name: Install Packages - if: ${{ env.USE_RELEASED_WEB != 'true' }} - timeout-minutes: 15 - run: .github/scripts/install-apt-packages.sh .github/apt/web-packages.txt python3-pil - - - name: Set Up Emscripten - if: ${{ env.USE_RELEASED_WEB != 'true' }} - uses: ./.github/actions/emscripten - - - name: Download Released Web App - if: ${{ env.USE_RELEASED_WEB == 'true' }} - env: - GH_TOKEN: ${{ github.token }} - run: | - set -euo pipefail - version="$SITE_RELEASE_VERSION" - test -n "$version" - mkdir -p build/released-web build/dist/web - gh release download "v$version" --pattern inbe-web.zip --dir build/released-web - unzip -q build/released-web/inbe-web.zip -d build/dist/web - test -s build/dist/web/index.wasm - - - name: Web runner diagnostics - if: ${{ env.USE_RELEASED_WEB != 'true' }} - run: | - set -euo pipefail - lscpu - free -m - for browser in chromium chromium-browser google-chrome google-chrome-stable; do - if command -v "$browser" >/dev/null 2>&1; then - "$browser" --version - fi - done - - - name: Build Site - run: | - set -euo pipefail - if [ "$USE_RELEASED_WEB" = "true" ]; then - make package-unpackaged-assets - sh site/build.sh - else - export PATH="$INBE_NODE_BIN:$PATH" - node --version - make build-laws - make site + if [ -z "$BREEZE_PAGES_DISPATCH_TOKEN" ]; then + echo '::warning::BREEZE_PAGES_DISPATCH_TOKEN is missing' + exit 0 fi - test -f build/site/index.html - test -f build/site/build/web/index.html - test -f build/site/build/web/index.js - test -f build/site/build/web/index.wasm || test -f build/site/build/web/index.wasm.gz || test -f build/site/build/web/index.wasm.parts.json - if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then - make site-release-assets-check - else - echo "Skipping release asset availability check for pull request build" - fi - env: - GH_TOKEN: ${{ github.token }} - - # apt users follow the published release at https://breeze.waozi.xyz/apt. - - name: Build APT Repository - if: github.event_name != 'pull_request' - env: - GH_TOKEN: ${{ github.token }} - APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }} - run: | - set -euo pipefail - command -v apt-ftparchive >/dev/null || sudo apt-get install -y --no-install-recommends apt-utils - sh scripts/build-apt-repo.sh build/site/apt "$SITE_RELEASE_VERSION" - - - name: Upload Web diagnostics after a failed build - if: ${{ failure() && env.USE_RELEASED_WEB != 'true' }} - uses: actions/upload-artifact@v4 - with: - name: inbe-web-diagnostics - path: build/dist/web - if-no-files-found: warn - retention-days: 3 - - - name: Upload Site Artifact - uses: actions/upload-artifact@v4 - with: - name: inbe-site - path: build/site - if-no-files-found: error - - deploy-preview: - name: Deploy Preview - runs-on: ubuntu-latest - needs: build - if: github.event_name == 'pull_request' - - steps: - - name: Download Site Artifact - uses: actions/download-artifact@v4 - with: - name: inbe-site - path: build/site - - - name: Deploy Preview To Cloudflare Pages - uses: cloudflare/wrangler-action@v3 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy build/site --project-name=inbe --branch=${{ github.head_ref || github.ref_name }} --commit-hash=${{ github.sha }} - - deploy-production: - name: Deploy Production - runs-on: ubuntu-latest - needs: build - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' - - steps: - - name: Download Site Artifact - uses: actions/download-artifact@v4 - with: - name: inbe-site - path: build/site - - - name: Deploy Production To Cloudflare Pages - uses: cloudflare/wrangler-action@v3 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy build/site --project-name=inbe --branch=master --commit-hash=${{ github.sha }} + curl --fail-with-body --silent --show-error --max-time 30 \ + --request POST \ + --header "Authorization: token $BREEZE_PAGES_DISPATCH_TOKEN" \ + --header 'Content-Type: application/json' \ + --data '{"ref":"master"}' \ + 'https://git.waozi.xyz/api/v1/repos/waozi/breeze/actions/workflows/pages.yml/dispatches' diff --git a/site/build-production.sh b/site/build-production.sh new file mode 100644 index 000000000..30fe2cf6a --- /dev/null +++ b/site/build-production.sh @@ -0,0 +1,50 @@ +#!/bin/sh +# Package current website source with the public, phone-verified app release. +set -eu +cd "$(dirname "$0")/.." + +release_dir=build/released-web +mkdir -p "$release_dir" +curl -fsSL --retry 3 https://api.github.com/repos/waozixyz/breeze/releases/latest -o "$release_dir/release.json" +python3 - "$release_dir/release.json" > "$release_dir/release.env" <<'PY' +import json +import re +import sys +from pathlib import Path + +release = json.loads(Path(sys.argv[1]).read_text()) +match = re.fullmatch(r"v((?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*)\.(?:0|[1-9][0-9]*))", release["tag_name"]) +if not match: + raise SystemExit("Unexpected published release tag") +version = match[1] +assets = {asset["name"] for asset in release["assets"]} +android = next((name for name in (f"inbe-{version}-arm64-v8a.apk", f"inbe-{version}.apk") if name in assets), None) +if not android or "inbe-web.zip" not in assets: + raise SystemExit("Published release is missing an Android APK or the web bundle") +print(f"export SITE_RELEASE_VERSION={version}") +print(f"export SITE_ANDROID_APK_ASSET={android}") +PY +. "./$release_dir/release.env" +release_url="https://github.com/waozixyz/breeze/releases/download/v$SITE_RELEASE_VERSION" +curl -fsSL --retry 3 "$release_url/inbe-web.zip" -o "$release_dir/inbe-web.zip" +rm -rf "$release_dir/app" +mkdir -p "$release_dir/app" +unzip -q "$release_dir/inbe-web.zip" -d "$release_dir/app" +test -s "$release_dir/app/index.wasm" + +make package-unpackaged-assets +SITE_WEB_DIR="$PWD/$release_dir/app" sh site/build.sh +# Gitea's job token is only valid on Gitea. Downloads still follow the public release. +env -u GITHUB_TOKEN -u GH_TOKEN make site-release-assets-check + +if [ -n "${APT_SIGNING_KEY:-}" ]; then + deb_dir="$release_dir/debs" + mkdir -p "$deb_dir" + for arch in amd64 arm64; do + deb="inbe_${SITE_RELEASE_VERSION}_${arch}.deb" + curl -fsSL --retry 3 "$release_url/$deb" -o "$deb_dir/$deb" + done + APT_DEB_DIR="$deb_dir" sh scripts/build-apt-repo.sh build/site/apt "$SITE_RELEASE_VERSION" +else + python3 site/preserve-apt.py build/site/apt +fi diff --git a/site/build.sh b/site/build.sh index 29cc9a428..766b3ce78 100755 --- a/site/build.sh +++ b/site/build.sh @@ -46,6 +46,7 @@ expand_template_file() { sed \ -e "s#\\\${version}#$version#g" \ -e "s#\\\${asset_version}#$asset_version#g" \ + -e "s#\\\${app_host}#$app_host#g" \ -e "s#\\\${android_apk_asset}#$android_apk_asset#g" \ -e "s#\\\${android_apk_label}#$android_apk_label#g" \ "$src" > "$dst" @@ -97,13 +98,15 @@ write_site_imports() { write_web_app_csp_html() { src=$1 dst=$2 - cache_version=$(date +%s) + cache_version=$asset_version csp="default-src 'self' data: blob:; connect-src 'self' https: wss: http: ws:; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org https://account.waozi.xyz; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'" meta="" awk -v meta="$meta" -v version="$cache_version" ' { gsub(/src="index\.js(\?v=[0-9A-Za-z._-]+)?"/, "src=\"index.js?v=" version "\"") + gsub(/https:\/\/(inbe|breeze)\.waozi\.xyz\//, "https://innerbreeze.org/") + if ($0 ~ /<\/head>/) print " " if ($0 ~ /&2; exit 1 ;; +esac if [ -z "$asset_version" ]; then if git -C "$root_dir" diff --quiet --ignore-submodules HEAD -- 2>/dev/null; then asset_version=$(git -C "$root_dir" rev-parse --short HEAD 2>/dev/null || date +%s) @@ -242,6 +250,7 @@ python3 "$root_dir/scripts/prepare-site-assets.py" "$out_dir" for path in \ index.html \ + 404.html \ privacy.html \ install-apt.html \ delete-account.html \ @@ -253,6 +262,7 @@ for path in \ robots.txt \ sitemap.xml \ og.png \ + og.jpg \ web-assets/dl/inbe-meditation-audio-v1.zip \ web-assets/icons/inbe.png \ web-assets/icons/github.png \ @@ -269,6 +279,7 @@ for path in \ site-icons/favicon-32x32.png \ css/base.css \ css/components.css \ + css/landing.css \ theme.css do require_output "$path" diff --git a/site/check-account-origin.sh b/site/check-account-origin.sh new file mode 100644 index 000000000..f6bbf121a --- /dev/null +++ b/site/check-account-origin.sh @@ -0,0 +1,25 @@ +#!/bin/sh +set -eu +host=${1:?Usage: check-account-origin.sh HOST} +case "$host" in + innerbreeze.org|inbe.waozi.xyz) ;; + *) exit 2 ;; +esac +for route in account/delete-with-key sync/challenge sync/login; do + headers=$(curl -fsS --max-time 20 -D - -o /dev/null -X OPTIONS \ + -H "Origin: https://$host" \ + -H 'Access-Control-Request-Method: POST' \ + -H 'Access-Control-Request-Headers: content-type' \ + "https://api.waozi.xyz/api/v1/$route") || exit 1 + if ! printf '%s\n' "$headers" | awk -v origin="https://$host" ' + { sub(/\r$/, ""); line = tolower($0) } + line == "access-control-allow-origin: " origin { allowed = 1 } + line ~ /^access-control-allow-methods:/ { post = line ~ /[ ,:]post([ ,]|$)/ } + line ~ /^access-control-allow-headers:/ { json = line ~ /[ ,:]content-type([ ,]|$)/ } + END { exit !(allowed && post && json) } + '; then + printf 'Account API does not allow https://%s on %s\n' "$host" "$route" >&2 + exit 1 + fi +done +printf 'Verified sync and account deletion from https://%s\n' "$host" diff --git a/site/css/landing.css b/site/css/landing.css index 098d9de89..8ad9737ec 100644 --- a/site/css/landing.css +++ b/site/css/landing.css @@ -1,56 +1,80 @@ @import url('/assets/editorial/shared.css'); -.site-header .brand, .site-header .site-return { min-height: 44px; } -.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-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; } -.privacy-band h2 { margin-top: 17px; } -.privacy-band > div > p:not(.eyebrow) { color: var(--muted); } -.privacy-band .text-link { display: inline-block; margin-top: 17px; } +.home { + --paper: #f5f3e9; + --ink: #182e28; + --muted: #486057; + --accent: #29584a; + --line: #cbd6c9; + background: radial-gradient(ellipse at 88% 13%, #dce8d9 0%, transparent 39rem), 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); } +.home .brand img { width: 34px; } +.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 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 .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 .botanical img { border-radius: inherit; mask-image: radial-gradient(ellipse, #000 54%, transparent 72%); } +@keyframes botanical-arrive { + from { opacity: .6; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } +} +.practice-features { padding-block: 40px 34px; border-top: 1px solid var(--line); } +.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block: 30px; } +.practice-grid article { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #f8faf2; } +.practice-grid article:nth-child(2) { background: #deebdd; } +.practice-grid article:nth-child(3) { background: #f5e8cc; } +.practice-grid img { margin-bottom: 20px; } +.practice-grid h3 { margin-bottom: 9px; } +.practice-grid p, .practice-safety { color: var(--muted); font-size: 14px; } +.practice-safety { padding-top: 18px; border-top: 1px solid var(--line); } +.practice-safety strong { color: var(--ink); } +.dew-band, .privacy-band { display: grid; gap: 24px 56px; align-items: center; } +.dew-band { + grid-template-columns: minmax(0, 1fr) auto; + padding: clamp(24px, 5vw, 52px); + border: 1px solid #bdcebf; + border-radius: 26px; + background: #e5eee2; +} +.dew-band p { max-width: 60ch; margin-top: 14px; } +.privacy-band { grid-template-columns: 1fr 1fr; margin-top: 42px; } +.privacy-band p, .dew-band p { color: var(--muted); } .download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; } -.download-grid article { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 0 18px; padding: 28px 0; border-top: 1px solid var(--line); } -.platform-icon { width: 28px; height: 28px; margin-top: 4px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; } -.download-grid h3 { font-size: 25px; } -.download-grid p { color: var(--muted); font-size: 12px; margin-top: 9px; } -.link-row { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 15px; } -.link-row a { font-size: 11px; } -.migration { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding-top: 28px; border-top: 1px solid var(--line); } -.migration h3 { font-size: 25px; } -.migration p { margin-top: 8px; color: var(--muted); font-size: 13px; } -.migration .text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; } -.site-footer { margin-top: 0; } -.site-footer .footer-links { margin-top: 0; } -@media (max-width: 850px) { - .site-header { gap: 18px; } - .site-header .brand { font-size: 25px; } - .site-header .brand img { width: 32px; } - .practice-grid { gap: 16px; } - .practice-grid article { padding: 22px; } - .privacy-band { gap: 30px; } -} -@media (max-width: 650px) { - .download-grid, .practice-grid { grid-template-columns: 1fr; } - .privacy-band { grid-template-columns: 1fr; gap: 24px; } -} -@media (max-width: 540px) { - .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; } - .hero-copy { position: relative; z-index: 1; } - .hero .small-note { max-width: 20ch; } +.download-grid article { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 0 18px; padding: 22px 0; border-top: 1px solid var(--line); } +.platform-icon { width: 28px; height: 28px; margin-top: 4px; object-fit: contain; filter: grayscale(1); } +.download-grid h3, .migration h3 { font-size: 27px; } +.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; } +.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; } + .download-grid, .practice-grid, .privacy-band, .dew-band { grid-template-columns: 1fr; } + .dew-band .button { justify-self: start; } } /* The information and migration pages share the same editorial family. */ diff --git a/site/index.html b/site/index.html index 55afa5810..4fce44956 100644 --- a/site/index.html +++ b/site/index.html @@ -5,63 +5,73 @@
Guided breathing, meditation, and simple habits, at your own pace.
- -Free to use · Works offline · No account required
+Guided breathing, meditation, and habit tracking. Take a quiet moment now and build a routine at your own pace.
+ +Free to start. No account needed for local practice.


At your own pace
-Follow guided patterns or set your own pace.
Set a timer and choose a soft background sound.
Keep your daily routines and saved history together in the full app.
Follow a guided breathing pattern or set your own pace.
Set a timer and choose a background sound for your session.
Track your goals, routines, and progress in one place.
Private by default
Your history, habits, and preferences stay on your device. No ads or analytics. Sync is optional.
Read about privacy →Use Dew for optional unlocks in Inner Breeze. Sign in to Waozi Dew with the same account you use in the app to see the available payment methods and current rates.
Your history, habits, and preferences are stored on your device. You can turn on sync when you want to use them on other devices.
Read the privacy policyGet the app
Open Inner Breeze in your browser or install version ${version}.
Open a full session without installing anything.
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.
+ +This address no longer opens a page on Inner Breeze.
+ +