Skip to content

Commit b206aea

Browse files
committed
store
1 parent e61a3b4 commit b206aea

2 files changed

Lines changed: 41 additions & 32 deletions

File tree

packages/docs/src/lib/data/store.yaml

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,36 @@
11
productCustomAttributes:
2+
- id: 479479
3+
media:
4+
- type: image
5+
sm: https://img.daisyui.com/images/store/small/blink/blink-08.webp
6+
lg: https://img.daisyui.com/images/store/large/blink/blink-08.webp
7+
- type: image
8+
sm: https://img.daisyui.com/images/store/small/blink/blink-01.webp
9+
lg: https://img.daisyui.com/images/store/large/blink/blink-01.webp
10+
- type: image
11+
sm: https://img.daisyui.com/images/store/small/blink/blink-03.webp
12+
lg: https://img.daisyui.com/images/store/large/blink/blink-03.webp
13+
- type: image
14+
sm: https://img.daisyui.com/images/store/small/blink/blink-06.webp
15+
lg: https://img.daisyui.com/images/store/large/blink/blink-06.webp
16+
- type: image
17+
sm: https://img.daisyui.com/images/store/small/blink/blink-05.webp
18+
lg: https://img.daisyui.com/images/store/large/blink/blink-05.webp
19+
- type: image
20+
sm: https://img.daisyui.com/images/store/small/blink/blink-04.webp
21+
lg: https://img.daisyui.com/images/store/large/blink/blink-04.webp
22+
- type: image
23+
sm: https://img.daisyui.com/images/store/small/blink/blink-07.webp
24+
lg: https://img.daisyui.com/images/store/large/blink/blink-07.webp
25+
links:
26+
license: https://api.daisyui.com/license/agency-landing@1.txt
27+
screenshot: https://img.daisyui.com/images/store/screenshots/blink.webp
28+
tech: [react, svelte, vite]
29+
tags: [landing]
30+
badge:
31+
class: badge-success
32+
icon: check
33+
text: Updated to daisyUI 5.0
234
- id: 426780
335
faq:
436
- Q: Can I use this template without Lemon Squeezy?
@@ -272,32 +304,6 @@ productCustomAttributes:
272304
class: badge-success
273305
icon: check
274306
text: Updated to daisyUI 5.0
275-
- id: 144550
276-
media:
277-
- type: image
278-
sm: https://img.daisyui.com/images/store/small/agency-landing/agency-landing-2.webp
279-
lg: https://img.daisyui.com/images/store/large/agency-landing/agency-landing-2.webp
280-
- type: image
281-
sm: https://img.daisyui.com/images/store/small/agency-landing/agency-landing-1.webp
282-
lg: https://img.daisyui.com/images/store/large/agency-landing/agency-landing-1.webp
283-
- type: image
284-
sm: https://img.daisyui.com/images/store/small/agency-landing/agency-landing-3.webp
285-
lg: https://img.daisyui.com/images/store/large/agency-landing/agency-landing-3.webp
286-
- type: image
287-
sm: https://img.daisyui.com/images/store/small/agency-landing/agency-landing-4.webp
288-
lg: https://img.daisyui.com/images/store/large/agency-landing/agency-landing-4.webp
289-
- type: image
290-
sm: https://img.daisyui.com/images/store/small/agency-landing/agency-landing-5.webp
291-
lg: https://img.daisyui.com/images/store/large/agency-landing/agency-landing-5.webp
292-
links:
293-
license: https://api.daisyui.com/license/agency-landing@1.txt
294-
screenshot: https://img.daisyui.com/images/store/screenshots/agency-landingpage-react.webp
295-
tech: [react, svelte, vite, framer]
296-
tags: [landing]
297-
badge:
298-
class: badge-info
299-
icon: wait
300-
text: daisyUI 5.0 update coming soon
301307
- id: 130237
302308
media:
303309
- type: image
@@ -386,7 +392,7 @@ tech:
386392
techFilters: [all, html, react, vue, svelte, astro]
387393

388394
futureProducts:
389-
- Updates for Tailwind CSS 4 and daisyUI 5
395+
- Scalo startup template
390396
- Official daisyUI Figma Library v2.0 update
391397
- Headless UI + daisyUI component pack for Vue
392398

packages/docs/src/routes/(routes)/store/[productId]/+page.svelte

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,19 +202,22 @@
202202
<!-- Thumbnail Navigation -->
203203
{#if data.product.media.length > 1}
204204
<div class="-mx-4 overflow-x-auto">
205-
<div class="flex flex-wrap gap-2 p-4">
205+
<div
206+
class="grid grid-cols-6 gap-2 p-4 sm:grid-cols-8 md:grid-cols-10 lg:grid-cols-12 xl:grid-cols-8"
207+
>
206208
{#each data.product.media as media, i}
207209
<button
208-
class="border-base-content/15 h-8 w-11 shrink-0 cursor-pointer overflow-hidden rounded-sm border outline-2 outline-offset-2"
210+
class="border-base-content/15 aspect-[4/3] shrink-0 cursor-pointer overflow-hidden rounded-sm border outline-2 outline-offset-2"
209211
class:outline-base-content={i === currentIndex}
210212
class:outline-transparent={i !== currentIndex}
211213
onclick={() => (currentIndex = i)}
212214
>
213215
{#if media.type === "image"}
214216
<img
215-
src={media.sm}
217+
src={media.lg}
216218
alt={`${data.product.attributes.name} thumbnail ${i + 1}`}
217-
class="h-full w-full object-cover brightness-90"
219+
class="h-full w-full bg-cover object-cover brightness-90"
220+
style={`background-image:url(${media.sm});`}
218221
/>
219222
{:else}
220223
<div
@@ -226,7 +229,7 @@
226229
alt={data.product.attributes.name}
227230
/>
228231
<svg
229-
class="z-1 size-5 text-black"
232+
class="z-1 size-6 text-black"
230233
xmlns="http://www.w3.org/2000/svg"
231234
viewBox="0 0 24 24"
232235
><g

0 commit comments

Comments
 (0)