feat: add demo content (7 Japan/Korea entries) and update summary
Demo covers: Tokyo × 2, Mt. Fuji (snow), Kyoto, Nara, Osaka, Seoul. All entries have GPS — shows full map route, 2-country stats, weather variety including snow. Deploy/reset instructions in docs/demo/README.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
# Demo Content
|
||||
|
||||
Seven sample journal entries for a fictional Japan + South Korea trip (March–April 2026). Used to showcase a populated site during development, design review, and QA — without touching real trip content.
|
||||
|
||||
---
|
||||
|
||||
## What's included
|
||||
|
||||
| Entry | Date | Location | Weather | GPS |
|
||||
|---|---|---|---|---|
|
||||
| Wheels Down at Narita | 25 Mar · 15:40 | Tokyo, Japan | Sunny 16°C | 35.772, 140.393 |
|
||||
| Sakura in Ueno Park | 26 Mar · 10:00 | Tokyo, Japan | Partly cloudy 14°C | 35.716, 139.775 |
|
||||
| Summit Clouds and Snow | 27 Mar · 07:15 | Kawaguchiko, Japan | **Snow 1°C** | 35.510, 138.765 |
|
||||
| A Thousand Torii Gates | 28 Mar · 11:30 | Kyoto, Japan | Sunny 18°C | 34.967, 135.773 |
|
||||
| The Deer of Nara | 29 Mar · 14:00 | Nara, Japan | Partly cloudy 17°C | 34.685, 135.805 |
|
||||
| Dotonbori After Dark | 30 Mar · 18:00 | Osaka, Japan | Cloudy 19°C | 34.669, 135.502 |
|
||||
| Seoul Calling | 01 Apr · 09:00 | Seoul, South Korea | Rain 10°C | 37.564, 126.985 |
|
||||
|
||||
**Features demonstrated:**
|
||||
- Feed: 7 entry cards (all text-only; add photos to entries to test the photo card variant)
|
||||
- Map: full route from Tokyo → Osaka → Seoul, with visible polyline
|
||||
- Stats: 7 entries, 2 countries, ~1,300 km traveled (Tokyo → Seoul straight-line sum)
|
||||
- Weather variety: Sunny, Partly cloudy, Snow, Rain, Cloudy
|
||||
- Multi-day, multi-city, multi-country trip structure
|
||||
|
||||
---
|
||||
|
||||
## How to deploy demo content
|
||||
|
||||
Copy the tracker entries into the Grav pages tree:
|
||||
|
||||
```bash
|
||||
cp -r user/docs/demo/tracker/. user/pages/01.tracker/
|
||||
```
|
||||
|
||||
Then clear the Grav cache so the new pages appear immediately:
|
||||
|
||||
```bash
|
||||
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache"
|
||||
```
|
||||
|
||||
Open `http://localhost:8081/tracker` — all 7 entries should appear.
|
||||
|
||||
---
|
||||
|
||||
## How to reset (remove demo content)
|
||||
|
||||
Remove all demo entries (leaves the real `tracker.md` index page and any real entries untouched if they have different slugs):
|
||||
|
||||
```bash
|
||||
for dir in user/docs/demo/tracker/*/; do
|
||||
folder=$(basename "$dir")
|
||||
rm -rf "user/pages/01.tracker/$folder"
|
||||
done
|
||||
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Adding photos to demo entries
|
||||
|
||||
The demo entries have no photos (binary files aren't tracked in git). To test the photo card layout, drop one or more JPEG/PNG files into an entry folder:
|
||||
|
||||
```bash
|
||||
user/docs/demo/tracker/2026-03-27-0715-summit-clouds-and-snow.entry/
|
||||
entry.md
|
||||
fuji-lake.jpg ← add any image here
|
||||
```
|
||||
|
||||
Then copy the folder to the pages tree as above. The first image found will be used as the hero on the feed card and the entry hero.
|
||||
|
||||
---
|
||||
|
||||
## Notes
|
||||
|
||||
- Entries use the same frontmatter format as real posts created via `/post`
|
||||
- Slug format matches the current system: `YYYY-MM-DD-HHmm-title-slug`
|
||||
- GPS coordinates are real and will show on the map
|
||||
- The snow entry (Kawaguchiko, 27 Mar) demonstrates snow weather badge rendering
|
||||
- Seoul entry crosses into a second country — verifies the Stats country count logic
|
||||
Reference in New Issue
Block a user