Skip to content

Commit 94ac178

Browse files
committed
wip
1 parent 41fb058 commit 94ac178

24 files changed

Lines changed: 182 additions & 0 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@
3838
!/app/assets/builds/.keep
3939

4040
/node_modules
41+
42+
# Compression marker
43+
app/assets/images/samples/.compressed

CLAUDE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ bun run build:css # CSS via Tailwind CLI
4242
- **Models**: User and Session (standard Rails auth models).
4343
- **Routes**: Root is `home#index`. Public pages: `/organizer`, `/stamp-samples`. Session/password resources for auth. Avo admin mounted.
4444

45+
## Stamp Samples Gallery
46+
47+
The stamp samples page (`/stamp-samples`) displays images in **reverse-chronological order** — newest stamps go first, like a feed. When adding new stamp images:
48+
49+
1. Drop the image files into `app/assets/images/samples/`
50+
2. Run `bin/compress-samples` to compress them (requires ImageMagick and ffmpeg)
51+
3. Add locale entries in `config/locales/home/stamp_samples.en.yml`
52+
4. Add the card markup at the **top** of the grid in `app/views/home/stamp_samples.html.erb`
53+
4554
## Design Guidelines
4655

4756
See `agents.md` for the full design style guide. Key points:
33 Bytes
Loading
32.5 KB
Binary file not shown.
15.9 KB
Binary file not shown.
25.4 KB
Binary file not shown.
71.5 KB
Binary file not shown.
52.9 KB
Binary file not shown.
35.6 KB
Binary file not shown.
-11 Bytes
Loading

0 commit comments

Comments
 (0)