Skip to content

Add marketing site + GitHub Pages deploy, swap in new logo everywhere#1

Merged
Muawiya-contact merged 2 commits into
mainfrom
feat/marketing-site-and-logo-swap
Jul 20, 2026
Merged

Add marketing site + GitHub Pages deploy, swap in new logo everywhere#1
Muawiya-contact merged 2 commits into
mainfrom
feat/marketing-site-and-logo-swap

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

Summary

  • Adds a React + Vite + React Router marketing site under site/ — dark/light theme toggle (in-memory, no localStorage), GitHub-release-based per-OS download buttons, "How it works" section — deployed to GitHub Pages via .github/workflows/deploy-pages.yml on push to main.
  • Regenerates the full desktop-app icon set (Windows/macOS/Linux/Android/iOS/Store tiles) from the new logo (site/public/favicon.svg), and deletes the old logo source (app/src/img/deskearn.png), which was unreferenced in code.

To go live after merge

Settings → Pages → Build and deployment → Source → GitHub Actions (one-time toggle). Site will be at https://coding-moves.github.io/diskern/.

Test plan

  • npm run build in site/ and app/
  • cargo check --workspace
  • npm run lint in site/
  • npx tauri icon regenerated all icon files; spot-checked icon.png/32x32.png render correctly, not stretched/cropped
  • Repo-wide grep -ri deskearn — zero remaining references to the old logo
  • Verified site in browser preview: nav, theme toggle, hero, downloads fallback state, how-it-works all render correctly in both themes

React + Vite + React Router site under site/, styled with plain CSS
custom properties for dark/light theming (in-memory toggle, no
localStorage). Fetches the latest GitHub release on load and renders
per-OS download buttons parsed from asset filenames, with a loading
state and a graceful fallback to the Releases page on API failure or
when no release is published yet.

Deploys via .github/workflows/deploy-pages.yml on push to main
(paths: site/**), using actions/deploy-pages. Copies index.html to
404.html post-build so React Router's client-side routing survives
direct links once more pages (e.g. /docs) are added.

vite.config.js base is set to /diskern/ to match the GitHub Pages
project-site URL.
Regenerated the full app icon set (Windows/macOS/Linux/Android/iOS,
Store tiles) via `tauri icon site/public/favicon.svg`, replacing the
artwork that was previously generated from app/src/img/deskearn.png.

Deleted deskearn.png — it was already unreferenced in code (the app
header is plain text), confirmed via repo-wide search before removal.
The new logo is now the only logo anywhere in the repo.
@Muawiya-contact
Muawiya-contact merged commit 9d0025f into main Jul 20, 2026
1 check passed

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

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.

1 participant