Commit Graph
11 Commits
Author SHA1 Message Date
tiennm99 9be87cd573 chore(images): regenerate screenshot.png + tn.png after avatar/URL fixes v0.1.0 2026-05-01 16:43:47 +07:00
tiennm99 5287136599 fix(exampleSite): use Latin T glyph for avatar (font-portable)
Headless renderers and many systems lack Japanese fonts to render the
kanji glyph used previously. T is universally available and reads as
a Tien-Nguyen demo monogram.
2026-05-01 16:42:34 +07:00
tiennm99 d6ab987d71 fix(layouts): strip leading slash before relURL so subpath is honored
Hugo's relURL/absURL on a leading-slash path treats it as root-absolute
and skips the baseURL subpath. Strip the prefix first so user-supplied
paths like '/images/avatar.svg' resolve correctly under
https://*.github.io/<repo>/.
2026-05-01 16:41:16 +07:00
tiennm99 bed9259188 fix(layouts): use absURL for asset paths so subpath deploys work
relURL leaves leading-slash paths untouched, breaking sites served
from a subpath like https://*.github.io/bonsai/. absURL prepends the
full baseURL (including subpath) and works in both root and subpath
deployments. Affects: avatar img, favicon link, css link, theme-toggle
script.
2026-05-01 16:39:26 +07:00
tiennm99 da8da904c7 feat(exampleSite): bonsai monogram SVG avatar + recapture screenshots
avatar.svg: vermilion circle with kanji 盆 (bon, from 盆栽) in
washi-paper text. exampleSite/hugo.toml updated to reference it.
images/screenshot.png and images/tn.png recaptured against the demo
now showing all 6 working brand+ui icons.
2026-05-01 16:37:26 +07:00
tiennm99 284a64e812 fix(css): size brand icons to 20x20 (Simple Icons SVGs lack width/height)
Simple Icons ships SVGs with viewBox only — no explicit width/height —
so inline SVG rendered at 0x0 inside the link button flex container.
Add `.link__icon svg { width:20px; height:20px; fill:currentColor }` to
size all icons consistently. Lucide stroke-only icons opt out of the
fill via attribute selector.
2026-05-01 16:35:32 +07:00
tiennm99 f0d1e785f8 docs: README polish + CONTRIBUTING + CHANGELOG
- README: add badges (build/license/Hugo), live-demo callouts, full
  configuration parameter table, expanded features list
- CONTRIBUTING.md: dev setup, icon-add workflow, PR/style guidelines
- CHANGELOG.md: Keep-a-Changelog format with v0.1.0 + v0.0.1 entries
- theme.toml: point demosite at live GitHub Pages URL
2026-05-01 14:20:37 +07:00
tiennm99 0f14f4523d ci: add build workflow, dependabot config, and Pages deploy
- build.yml: hugo extended 0.154.0, runs on PR + main push, uploads
  exampleSite artifact for inspection
- deploy.yml: deploys exampleSite to GitHub Pages on main push using
  actions/configure-pages + actions/deploy-pages (modern flow, no
  gh-pages branch)
- dependabot.yml: weekly action version updates

One-time manual: enable Pages in repo settings (Source = GitHub Actions)
before deploy.yml will succeed.
2026-05-01 14:17:00 +07:00
tiennm99 49566ae735 feat(icons): vendor Lucide UI + Simple Icons brand sets, data-driven partial
- Add scripts/sync-icons.sh to fetch 25 brand (Simple Icons v13) + 10 UI
  (Lucide v0.460) SVGs; idempotent, pinned versions, currentColor-normalised
- Vendor SVGs into assets/icons/{brand,ui}/
- Add data/icons.yaml manifest mapping public names → {family, slug}
- Rewrite layouts/partials/icon.html (13 lines) to data-driven resources.Get
  with generic external-link fallback for unknown names
- Add layouts/icons/single.html gallery page; exampleSite demo link
- Add NOTICE crediting Simple Icons (CC0 1.0) and Lucide (ISC)
- Update README with available-icons <details> section
- Add mastodon + bsky demo links to exampleSite/hugo.toml
2026-05-01 14:16:05 +07:00
tiennm99 268ee81b88 chore(exampleSite): disable taxonomy/RSS/sitemap (single-page bio) 2026-05-01 10:11:01 +07:00
tiennm99 a1dc82f213 feat: initial Bonsai theme scaffold
Minimalist Hugo theme for link-in-bio pages, inspired by Linktree
and Japanese bonsai aesthetics.

- Single-page bio with avatar, tagline, bio, and links
- Data-driven via [params] in hugo.toml — no content files needed
- Light/dark mode via prefers-color-scheme + optional toggle
- Inline SVG icon set (github, globe, mail, twitter, linkedin, etc)
- Zero JS by default; opt-in theme toggle script
- exampleSite for local development
2026-05-01 10:04:59 +07:00