Commit graph

16 commits

Author SHA1 Message Date
Tolaria
9f179b1ead Pages and keep in touch updates
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
2026-06-04 20:22:49 +08:00
Tolaria
11921aa07a fix the menu blur overlay issue 2026-06-04 13:33:25 +08:00
Tolaria
4421378529 Merge action-points feature: interactive checklist w/ kill switch
All checks were successful
Deploy Docs / deploy (push) Successful in 14s
Brings in the interactive action-points checklist (nav badges, heading
pills, first-load totals manifest, confetti) with:
- a zensical.toml kill switch ([project.extra.action_points] enabled)
- perf fixes (store cache, in-place badge updates, pooled confetti)
- white-on-green legibility fix

Conflicts resolved below.

# Conflicts:
#	.forgejo/workflows/docs.yml
#	docs/stylesheets/extra.css
2026-06-03 23:48:33 +08:00
Tolaria
c7a3fe9412 feat(action-points): add zensical.toml kill switch + perf + legibility
Feature flag:
- [project.extra.action_points] enabled (default true) in zensical.toml.
- overrides/main.html exposes it as window.TOA_ACTION_POINTS_ENABLED in
  <head>, before extra_javascript loads.
- extra.js bails at the top of the IIFE when the flag is false: no
  storage, no nav badges, no heading pills, no confetti, no per-click
  work. Checkboxes fall back to Material's read-only tasklist.
  Verified inert when disabled (0 badges/pills/canvases, no localStorage,
  no JS errors).

Perf:
- In-memory write-through cache for the parsed store: a single toggle
  went from 15 localStorage JSON.parse reads to 0.
- updateNavBadges() updates badges in place (reuse span, only write on
  change) instead of removing+rebuilding every badge each toggle, which
  forced a full Material nav relayout. JS/toggle ~0.37->0.26ms,
  layout delta ~0.73->0.63ms.

Legibility:
- Override -webkit-text-fill-color (headings set it; pseudo-elements
  inherit it and it beats `color`) to #fff on completed green pills and
  nav badges, so the count/checkmark is white on green. h2 text color
  itself untouched.
2026-06-03 23:46:14 +08:00
Tolaria
69f69be5e4 fix(action-points): correct nav badges, first-load totals, legibility
- Fix nav badge mis-targeting: scope to .md-nav--primary, skip #anchor
  (TOC) links so 'On this page' entries no longer show the page total;
  detect active-leaf sections via md-nav__item--nested instead of the
  secondary (TOC) nav, so the active page gets its own badge.
- Add build-time totals manifest (main.py -> docs/javascripts/toa-totals.json)
  so nav badges show correct totals on first load before a user has
  visited each page. Fetched once, browser-cached, zero runtime cost.
  Wired into CI before zensical build.
- Exclude fenced code blocks when counting tasks, so the Markdown
  reference doc's example checkboxes don't produce a phantom 0/3 badge.
- Force white text (#fff !important) on completed green pills/badges,
  incl. badge-inside-complete-link, to beat the nav link's green color.
- Convert prose practice/strategy steps into interactive tasklist items.
- Add action-points PRD under planning/.
2026-06-03 23:03:17 +08:00
Tolaria
06f0c739df card design 2026-06-03 22:24:49 +08:00
Tolaria
d1f405bde1 fix: force comments iframe to 500px min-height
All checks were successful
Deploy Docs / deploy (push) Successful in 24s
2026-06-03 19:44:45 +08:00
Tolaria
a31d6ac095 update comments plugin display
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
2026-06-03 19:34:36 +08:00
Tolaria
4e9e16b735 feat: overlay image captions on bottom-right corner
- Captions now positioned over the image (absolute, bottom-right)
- Semi-transparent white background with subtle blur
- Smaller text (0.68rem), no emojis
- Remove markdown='1' from figure tags so img is direct child
- Merged .page-hero and .page-infographic styles
2026-06-03 17:30:24 +08:00
Tolaria
12494bf0f0 feat: full-width images, Grebedoc badge, footer polish
- Make hero and infographic images full-width with minimal caption area
- Remove frosted glass card chrome from image figures (cleaner look)
- Add Grebedoc 88x31 banner to footer next to Zensical link
- Change 'Made with' to 'Built with Zensical'
- Right-align image captions, reduce font size for subtlety
- Add footer badge flex layout CSS
2026-06-03 17:06:41 +08:00
Tolaria
8b0a086d37 feat: add hero images and infographics to all content pages
- Add Unsplash hero images with photographer credits to 4 pages:
  collective-awakening, community-sovereignty, daily-sadhana, digital-wellness
- Add AI-generated hero images (GPT-5.4-Image-2) to 5 pages:
  finding-purpose, spiritual-hygiene, digital-sovereignty,
  nourishing-body, grounding-nature
- Add AI-generated infographics to 4 content-rich pages:
  collective-awakening (4-step circle practice + compass),
  community-sovereignty (freedom network wheel),
  spiritual-hygiene (frequency chart + rhythm),
  daily-sadhana (sadhana mandala)
- Add CSS for .page-hero, .page-infographic, and .ai-credit styling
- All images include alt text, lazy loading, and proper credits
- Created empty overrides directory for Zensical build compatibility
2026-06-03 16:45:05 +08:00
Tolaria
50c5fa340e feat: theme refinements, contributing guide, captcha, new content sections
- Enlarge header logo (3.2rem) and hide site name via extra.css
- Darken link color (#4a8262) and green-to-sage table header gradient
- Add contributing/ section with leaf captcha email reveal
- Move markdown.md to contributing/; theming.md stays root (unpublished)
- Add practices/ and teachings/ content sections
- Update zensical.toml config
2026-06-03 16:19:15 +08:00
Tolaria
07ad1d4772 Premium interactive homepage: animated borders, beacons block, nature image 2026-06-03 12:58:13 +08:00
Tolaria
b074845b9c Homepage beauty upgrade: refined hero, divider, contribution card, reveal classes 2026-06-03 12:42:46 +08:00
Tolaria
658802994d Checkpoint: iridescent theme upgrade + docs index redesign 2026-06-03 12:40:32 +08:00
Tolaria
b9dda6802a Checkpoint: nature palette, toolbar fix, hero placeholder 2026-06-03 12:07:53 +08:00