mirror of
https://github.com/tiennm99/ghstats.git
synced 2026-08-05 22:24:57 +00:00
chore(readme): mirror profile layout in preview, demo uses Monday start
- Project README preview section collapses the two side-by-side tables into one centred table matching tiennm99/tiennm99's stats table (row order identical to the per-theme demo pages). - demo.yml now renders with -start-of-week monday so the gallery showcases the new flag and stays visually consistent with the author profile.
This commit is contained in:
@@ -40,6 +40,7 @@ jobs:
|
||||
-user "${{ github.repository_owner }}" \
|
||||
-themes all \
|
||||
-tz Asia/Saigon \
|
||||
-start-of-week monday \
|
||||
-out demo
|
||||
|
||||
- name: Write demo READMEs (index + per-theme)
|
||||
|
||||
@@ -34,48 +34,24 @@ Cards rendered:
|
||||
|
||||
## Preview — dracula theme
|
||||
|
||||
Live render against the author's profile, committed by [`.github/workflows/demo.yml`](./.github/workflows/demo.yml) on every push to `main`. Other 64 themes in the [**demo gallery**](./demo).
|
||||
Live render against the author's profile, committed by [`.github/workflows/demo.yml`](./.github/workflows/demo.yml) on every push to `main`. Rendered with `start_of_week: monday` so the heatmap rows and weekday bars start on Mon. Other 64 themes in the [**demo gallery**](./demo).
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/profile-details.svg" alt="profile details" /></td>
|
||||
<td><img src="./demo/dracula/stats.svg" alt="stats" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/streak.svg" alt="streak" /></td>
|
||||
<td><img src="./demo/dracula/top-starred-repos.svg" alt="top starred repos" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/repos-per-language.svg" alt="repos per language" /></td>
|
||||
<td><img src="./demo/dracula/contributions-heatmap.svg" alt="contributions heatmap" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><img src="./demo/dracula/contributions-by-year.svg" alt="contributions by year" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Last year vs all time
|
||||
<div align="center">
|
||||
|
||||
<table>
|
||||
<tr><td><img src="./demo/dracula/profile-details.svg" alt="profile-details" /></td><td><img src="./demo/dracula/stats.svg" alt="stats" /></td></tr>
|
||||
<tr><td><img src="./demo/dracula/repos-per-language.svg" alt="repos-per-language" /></td><td><img src="./demo/dracula/top-starred-repos.svg" alt="top-starred-repos" /></td></tr>
|
||||
<tr><td><img src="./demo/dracula/contributions-by-year.svg" alt="contributions-by-year" /></td><td><img src="./demo/dracula/contributions-heatmap.svg" alt="contributions-heatmap" /></td></tr>
|
||||
<tr><td colspan="2" align="center"><img src="./demo/dracula/streak.svg" alt="streak" /></td></tr>
|
||||
<tr><th>Last year</th><th>All time</th></tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/most-commit-language.svg" alt="most commit language last year" /></td>
|
||||
<td><img src="./demo/dracula/most-commit-language-all-time.svg" alt="most commit language all time" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/productive-time.svg" alt="productive time last year" /></td>
|
||||
<td><img src="./demo/dracula/productive-time-all-time.svg" alt="productive time all time" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/productive-weekday.svg" alt="productive weekday last year" /></td>
|
||||
<td><img src="./demo/dracula/productive-weekday-all-time.svg" alt="productive weekday all time" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="./demo/dracula/contributions.svg" alt="contributions last year" /></td>
|
||||
<td><img src="./demo/dracula/contributions-all-time.svg" alt="contributions all time" /></td>
|
||||
</tr>
|
||||
<tr><td><img src="./demo/dracula/most-commit-language.svg" alt="most-commit-language" /></td><td><img src="./demo/dracula/most-commit-language-all-time.svg" alt="most-commit-language-all-time" /></td></tr>
|
||||
<tr><td><img src="./demo/dracula/contributions.svg" alt="contributions" /></td><td><img src="./demo/dracula/contributions-all-time.svg" alt="contributions-all-time" /></td></tr>
|
||||
<tr><td><img src="./demo/dracula/productive-weekday.svg" alt="productive-weekday" /></td><td><img src="./demo/dracula/productive-weekday-all-time.svg" alt="productive-weekday-all-time" /></td></tr>
|
||||
<tr><td><img src="./demo/dracula/productive-time.svg" alt="productive-time" /></td><td><img src="./demo/dracula/productive-time-all-time.svg" alt="productive-time-all-time" /></td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
## In the wild
|
||||
|
||||
- [**tiennm99/tiennm99**](https://github.com/tiennm99/tiennm99) — author's profile README, refreshed daily via `tiennm99/ghstats@v1`. Two-per-row layout, dracula theme.
|
||||
|
||||
Reference in New Issue
Block a user