Add Snipcart product validation endpoint and improve product gallery
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
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:
parent
44ed53aae0
commit
22afa818f1
6 changed files with 83 additions and 22 deletions
|
|
@ -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
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue