Skip to content

About

Personal yoga teaching portfolio — RYT 200, vinyasa, Friday Flows. Built with HTML/CSS. Features an embedded Spotify playlist.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

michaelako.github.io

Personal site for Michaela Kotarba — one page, two modes. 5–9 is the yoga/movement side (photo card stack, about, playlist); 9–5 is the product/tech side (work card stack, writing list). Both share the hero, the drifting cloud background, and the contact section; a header toggle swaps data-theme on <html> and CSS does the rest.

Built with Astro and vanilla CSS. No UI kit, no animation library.

Develop

npm install
npm run dev
command what it does
npm run dev dev server at http://localhost:4321
npm run build static build into dist/
npm run preview serve the built output
npm run check type-check .astro and .ts files

Where things live

  • src/content.ts — every word on the site. Edit copy here, not in components.
  • src/styles/tokens.css — every color, radius, and motion value, for both themes. Retheming is this one file.
  • src/styles/global.css — layout, the card stack, the 900px mobile breakpoint, reduced-motion handling.
  • src/components/CardStack.astro — the expanding card row, used once per mode.
  • src/components/CloudCanvas.astro — the drifting background. Intentionally has no mouse interaction.
  • src/assets/photos/ — the four 5–9 photographs. They live here rather than in public/ so Astro runs them through sharp at build time and emits sized WebP. To swap one, replace the file and keep the name. Supply ~2400px wide at 4:3, subject slightly left of centre — a collapsed card shows only the left edge of the frame.
  • archive/ — the previous single-file version of the site, kept for reference.

CI and deploy

workflow when what
.github/workflows/ci.yml push to any branch except main npm ci → npm run check → npm run build, and uploads dist/ as an artifact
.github/workflows/deploy.yml push to main builds with withastro/action and publishes via actions/deploy-pages

The repo's Pages source must be set to GitHub Actions (not a branch) for the deploy to publish.

The site is served from michaelako.com. public/CNAME carries the domain into every build so the custom domain survives each deploy; michaelako.github.io redirects there. Apex DNS points at GitHub's four Pages A/AAAA records, and www is a CNAME to michaelako.github.io.

About

Personal yoga teaching portfolio — RYT 200, vinyasa, Friday Flows. Built with HTML/CSS. Features an embedded Spotify playlist.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages