Add Snipcart product validation endpoint and improve product gallery
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s

- Add route handler for /validate.json to enable Snipcart product validation
- Update product gallery to display all product images instead of just the first one
- Fix CSS styling for product gallery list items
- Update home page to use first sorted image as product cover

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2025-12-19 16:39:16 +01:00
parent 44ed53aae0
commit 22afa818f1
6 changed files with 83 additions and 22 deletions

View file

@ -1106,10 +1106,13 @@ body.is-fullscreen {
content: "← ";
}
.section__product figure {
.section__product .product-gallery li {
list-style: none;
}
.section__product .product-gallery figure {
aspect-ratio: 1/1;
}
.section__product figure img {
.section__product .product-gallery figure img {
width: 100%;
height: 100%;
-o-object-fit: contain;

File diff suppressed because one or more lines are too long

View file

@ -22,13 +22,18 @@
}
.section__product {
figure {
aspect-ratio: 1/1;
.product-gallery {
li {
list-style: none;
}
figure {
aspect-ratio: 1/1;
img {
width: 100%;
height: 100%;
object-fit: contain;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
}