···5 import type { Item } from './types';
6 import { innerWidth } from 'svelte/reactivity/window';
7 import { setDidContext } from './website/context';
089 let { handle, did, items, data }: { handle: string; did: string; items: Item[]; data: any } =
10 $props();
···36 class="@container/grid relative col-span-3 px-2 py-8 lg:px-8 xl:col-span-2"
37 >
38 {#each items.toSorted(sortItems) as item}
39- <Card {item} />
0040 {/each}
41 <div style="height: {(maxHeight / 4) * 100}cqw;"></div>
42 </div>
43 </div>
4445- <div class="block text-xs font-light @5xl/wrapper:hidden mx-auto text-center pb-8">
46 made with <a
47 href="https://blento.app"
48 target="_blank"
···5 import type { Item } from './types';
6 import { innerWidth } from 'svelte/reactivity/window';
7 import { setDidContext } from './website/context';
8+ import BaseCard from './cards/BaseCard/BaseCard.svelte';
910 let { handle, did, items, data }: { handle: string; did: string; items: Item[]; data: any } =
11 $props();
···37 class="@container/grid relative col-span-3 px-2 py-8 lg:px-8 xl:col-span-2"
38 >
39 {#each items.toSorted(sortItems) as item}
40+ <BaseCard {item}>
41+ <Card {item} />
42+ </BaseCard>
43 {/each}
44 <div style="height: {(maxHeight / 4) * 100}cqw;"></div>
45 </div>
46 </div>
4748+ <div class="mx-auto block pb-8 text-center text-xs font-light @5xl/wrapper:hidden">
49 made with <a
50 href="https://blento.app"
51 target="_blank"
-1
src/lib/cards/BaseCard/BaseCard.svelte
···4 import type { WithElementRef } from 'bits-ui';
5 import type { Snippet } from 'svelte';
6 import type { HTMLAttributes } from 'svelte/elements';
7- import { innerWidth } from 'svelte/reactivity/window';
89 export type BaseCardProps = {
10 item: Item;
···4 import type { WithElementRef } from 'bits-ui';
5 import type { Snippet } from 'svelte';
6 import type { HTMLAttributes } from 'svelte/elements';
078 export type BaseCardProps = {
9 item: Item;