Add marketing site + GitHub Pages deploy, swap in new logo everywhere#1
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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.ymlon push tomain.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 athttps://coding-moves.github.io/diskern/.Test plan
npm run buildinsite/andapp/cargo check --workspacenpm run lintinsite/npx tauri iconregenerated all icon files; spot-checkedicon.png/32x32.pngrender correctly, not stretched/croppedgrep -ri deskearn— zero remaining references to the old logo