From 98710dd3a828579a585381acb96e3000fe6e0174 Mon Sep 17 00:00:00 2001 From: brooke Date: Tue, 23 Jul 2024 20:50:39 -0400 Subject: [PATCH] update --- config.yaml | 2 +- content/catalog/index.md | 19 +-- .../layouts/partials/catalog-gallery.html | 140 ++++++++++++++++++ .../layouts/partials/rental_catalog.html | 96 +++++------- themes/gallo/static/css/tailwind.min.css | 2 +- 5 files changed, 187 insertions(+), 72 deletions(-) create mode 100644 themes/gallo/layouts/partials/catalog-gallery.html diff --git a/config.yaml b/config.yaml index f2b64f3..bf5f30f 100644 --- a/config.yaml +++ b/config.yaml @@ -28,7 +28,7 @@ params: - categoryName: 'Chandeliers' img: /img/catalog/AerialWave.png.webp alt: - - categoryName: 'Signaturepieces' + - categoryName: 'Signature Pieces' img: /img/catalog/7ftMirror1.jpg.webp alt: style: "transform: translateY(-25%);" diff --git a/content/catalog/index.md b/content/catalog/index.md index 6dfabfb..9bdc3e6 100644 --- a/content/catalog/index.md +++ b/content/catalog/index.md @@ -54,7 +54,7 @@ catalog: deliveryPickup: $30 installBreakdown: $50 purchaseCost: $260 - cat: Centerpieces + cat: Backdrops thumbnail: /img/catalog/SteelSmallFrameAcylicBackdrop3.jpg.webp gallery: - image: /img/catalog/SteelSmallFrameAcylicBackdrop.jpg.webp @@ -103,15 +103,6 @@ catalog: - image: /img/catalog/ChandelierStands3.jpg.webp - image: /img/catalog/ChandelierStands4.jpg.webp -- item: Steel Small-frame Acylic Backdrop - quant: 3 - dimensions: 96" x 24", 72" x 18", 72" x 12" - baseCost: $60 - deliveryPickup: $30 - installBreakdown: $50 - purchaseCost: $330 - cat: Backdrops - - item: Curvy Stands quant: 5 dimensions: 84" tall, 14" wide @@ -119,7 +110,7 @@ catalog: deliveryPickup: $40 installBreakdown: $50 purchaseCost: $340 - cat: Signaturepieces + cat: Signature Pieces thumbnail: /img/catalog/CurvyStands2.jpg.webp gallery: - image: /img/catalog/CurvyStands.png.webp @@ -198,7 +189,7 @@ catalog: deliveryPickup: $80 installBreakdown: $120 purchaseCost: $440 - cat: Signaturepieces + cat: Signature Pieces thumbnail: /img/catalog/ChicTreeStand.png.webp gallery: - image: /img/catalog/ChicTreeStand.png.webp @@ -281,7 +272,7 @@ catalog: deliveryPickup: $120 installBreakdown: $200 purchaseCost: $580 - cat: Signaturepieces + cat: Signature Pieces thumbnail: /img/catalog/9ftTreeStand2.png.webp gallery: - image: /img/catalog/9ftTreeStand.png.webp @@ -517,7 +508,7 @@ catalog: deliveryPickup: $160 installBreakdown: $400 purchaseCost: $1,450 - cat: Signaturepieces + cat: Signature Pieces thumbnail: /img/catalog/7ftMirror.jpg.webp gallery: - image: /img/catalog/7ftMirror.jpg.webp diff --git a/themes/gallo/layouts/partials/catalog-gallery.html b/themes/gallo/layouts/partials/catalog-gallery.html new file mode 100644 index 0000000..0ce5280 --- /dev/null +++ b/themes/gallo/layouts/partials/catalog-gallery.html @@ -0,0 +1,140 @@ + + + diff --git a/themes/gallo/layouts/partials/rental_catalog.html b/themes/gallo/layouts/partials/rental_catalog.html index e15018d..79f5b0c 100644 --- a/themes/gallo/layouts/partials/rental_catalog.html +++ b/themes/gallo/layouts/partials/rental_catalog.html @@ -42,7 +42,7 @@ loading="lazy" src="{{ .thumbnail }}" alt="Thumbnail" - class="w-full h-52 rounded-md object-cover" + class="w-full aspect-square rounded-md object-cover" /> {{ else }} @@ -136,83 +136,60 @@ >
-
- -
- {{ if .gallery }} -
- {{ range .gallery }} -
- -
- {{ end }} -
- {{ end }} -
-
+ {{ partial "catalog-gallery.html" . }} +
+
{{ if ne .quant "" }}
Quantity: {{ .quant }}
{{ end }} {{ if ne .dimensions "" }} -
+
Dimensions: {{ .dimensions }}
{{ end }} {{ if ne .baseCost "" }}
- Base Cost: + Rental Cost: {{ .baseCost }}
{{ end }} {{ if ne .deliveryPickup "" }}
- Pickup & Delivery: + + Pickup & Delivery: {{ .deliveryPickup }}
{{ end }} {{ if ne .installBreakdown "" }}
- Setup & Breakdown: + + Setup & Breakdown: {{ .installBreakdown }}
- {{ end }} {{ if ne .purchaseCost "" }} + {{ end }} +
+
+ {{ if ne .baseCost "" }} +
+ Rental Cost: + {{ .baseCost }} +
+ {{ else }}
+ Rental Unavailable +
+ {{ end }} {{ if ne .purchaseCost "" }} +
Purchase Cost: {{ .purchaseCost }}
{{ else }}
Purchase Unavailable
@@ -225,7 +202,7 @@