Commit 4acf2b0
authored
feat: show deploy version on select-all (#2)
## Summary
- Inject git commit hash and build timestamp at build time via Vite's
`define` option
- Display deploy info in a hidden `<p>` element at the bottom of the
download page
- Text color matches background (`#fafafa`), only visible when user
selects all text (Ctrl+A / Cmd+A)
## Test plan
- [x] Build and deploy, then visit the page — deploy info should be
invisible
- [x] Press Ctrl+A / Cmd+A to select all text — deploy info (commit +
timestamp) should appear
- [x] Verify commit hash matches the deployed commit
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent a24f767 commit 4acf2b0
6 files changed
Lines changed: 461 additions & 210 deletions
File tree
- .github/workflows
- routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments