|
1 | 1 | # Sample Galleries Index |
2 | 2 |
|
3 | | -This page links to screenshot galleries for sample apps and the management portal to make them easier to discover. |
| 3 | +A visual index of sample app galleries and the management portal. Click a card to open the gallery page with full-size screenshots and captions. |
4 | 4 |
|
5 | 5 | ## Galleries |
6 | 6 |
|
7 | | -### Management Portal |
8 | | - |
9 | | -[](management-portal/docs/SCREENSHOTS.md) |
10 | | - |
11 | | -- Link: [Management Portal screenshots](management-portal/docs/SCREENSHOTS.md) |
12 | | - |
13 | | -### TaskTracker Sample |
14 | | - |
15 | | -[](samples/tasktracker/docs/SCREENSHOTS.md) |
16 | | - |
17 | | -- Link: [TaskTracker screenshots](samples/tasktracker/docs/SCREENSHOTS.md) |
18 | | - |
| 7 | +<style> |
| 8 | +/* lightweight responsive grid for markdown viewers */ |
| 9 | +.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;align-items:start} |
| 10 | +.gallery-card{background:#fff;border-radius:8px;padding:12px;box-shadow:0 6px 18px rgba(0,0,0,0.06);transition:transform .12s ease} |
| 11 | +.gallery-card:hover{transform:translateY(-4px)} |
| 12 | +.gallery-thumb{width:100%;height:auto;border-radius:6px;display:block} |
| 13 | +.gallery-title{margin:10px 0 4px 0;font-size:1.05rem} |
| 14 | +.gallery-desc{margin:0;color:#6b7280;font-size:0.95rem} |
| 15 | +</style> |
| 16 | + |
| 17 | +<div class="gallery-grid"> |
| 18 | + <a class="gallery-card" href="management-portal/docs/SCREENSHOTS.md"> |
| 19 | + <img class="gallery-thumb" src="management-portal/docs/thumbnails/ManagmentPortal-Dashboard-Screenshot-thumb.png" alt="Management Portal dashboard thumbnail" /> |
| 20 | + <div> |
| 21 | + <div class="gallery-title">Management Portal</div> |
| 22 | + <div class="gallery-desc">Overview dashboard, tenant and cell management screenshots.</div> |
| 23 | + </div> |
| 24 | + </a> |
| 25 | + |
| 26 | + <a class="gallery-card" href="samples/tasktracker/docs/SCREENSHOTS.md"> |
| 27 | + <img class="gallery-thumb" src="samples/tasktracker/docs/thumbnails/TaskTrack-HomePage-screenshot.png" alt="TaskTracker home page thumbnail" /> |
| 28 | + <div> |
| 29 | + <div class="gallery-title">TaskTracker</div> |
| 30 | + <div class="gallery-desc">TaskTracker sample app UI screenshots (home, new task, edit task).</div> |
| 31 | + </div> |
| 32 | + </a> |
| 33 | + |
| 34 | +</div> |
| 35 | + |
| 36 | +--- |
19 | 37 |
|
20 | 38 | ## How to add a gallery |
21 | 39 |
|
22 | 40 | 1. Create a `docs/SCREENSHOTS.md` in your sample folder. |
23 | 41 | 2. Add images to the same folder and (optionally) a `thumbnails/` subfolder. |
24 | | -3. If you want automated thumbnails, add or reuse `.github/workflows/generate-thumbnails.yml` and the helper script `management-portal/docs/generate-thumbnails.ps1`. |
| 42 | +3. To validate galleries locally, run: |
| 43 | + |
| 44 | +```powershell |
| 45 | +pwsh -NoProfile -ExecutionPolicy Bypass -File .\scripts\validate-galleries.ps1 |
| 46 | +``` |
| 47 | + |
| 48 | +This script checks all `SCREENSHOTS.md` files in the repo for missing image references. |
25 | 49 |
|
0 commit comments