Skip to content

feat: add asset watcher and sponsor logo embedding support#4

Merged
stiffneckjim merged 2 commits into
developfrom
feature/sponsor-images
May 26, 2026
Merged

feat: add asset watcher and sponsor logo embedding support#4
stiffneckjim merged 2 commits into
developfrom
feature/sponsor-images

Conversation

@stiffneckjim
Copy link
Copy Markdown
Contributor

Changes

  • Asset watcher: pnpm dev now rebuilds automatically when files in assets/ change, enabling smooth sponsor logo updates during local development.
  • Image embedding guidance: Documented how to reference images in slides using relative paths (./assets/sponsors/...) that work both locally and on GitHub Pages.
  • Gitflow reminder: Added explicit guidance in the README workflow section to always create a feature/fix branch from develop before making changes.
  • Sponsor assets: Added initial CodeHub sponsor logos in assets/sponsors/.

Why

This unblocks adding sponsor logos to the second slide while ensuring the build, local development, and GitHub Pages deployment all display images correctly.

- Watch assets/ directory during pnpm dev for automatic rebuilds
- Document relative image path patterns for local and GitHub Pages
- Add gitflow reminder to workflow section in README
Copilot AI review requested due to automatic review settings May 26, 2026 17:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automatic asset rebuilding for the dev server, documents image-embedding conventions for sponsor logos, reinforces gitflow guidance in the README, and ships the first set of CodeHub sponsor logos used on the new "Our sponsors" slide.

Changes:

  • Extend scripts/dev.mjs with a recursive assets/ directory watcher, a debounced rebuild queue, and a root-level watcher to react when the assets/ directory itself is created/renamed.
  • Update slides.md to add an "About me", sponsor logos section, and restructured "Why home networking matters" slide; add README guidance for image paths and gitflow.
  • Add sponsor logo assets (PNG, WEBP, SVG) under assets/sponsors/.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.

File Description
scripts/dev.mjs Adds recursive assets watcher and debounced rebuild logic
slides.md New about-me/sponsors content and restructured pain-points slide
README.md Documents image embedding, sponsor paths, and gitflow workflow
assets/sponsors/sponsors-tuppenny-well.svg New SVG sponsor logo asset

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread slides.md Outdated
Comment thread scripts/dev.mjs Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@stiffneckjim stiffneckjim merged commit 771ff6b into develop May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants