Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
public omg
Browse files
src/lib/components/models/drawer/Drawer.svelte
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
import { modelStore } from "$lib/stores/use-model";
|
9 |
import UserIsLogged from '$lib/components/UserIsLogged.svelte';
|
10 |
import Comments from '$lib/components/models/drawer/comments/Comments.svelte';
|
|
|
11 |
|
12 |
let data = get(modelStore);
|
13 |
|
@@ -64,7 +65,7 @@
|
|
64 |
<div class="grid grid-cols-3 md:grid-cols-5 lg:grid-cols-6 gap-5 mt-2">
|
65 |
{#each data?.gallery as example}
|
66 |
<div class="w-full h-[120px] relative z-[1] mb-3 overflow-hidden">
|
67 |
-
<img src="
|
68 |
</div>
|
69 |
{/each}
|
70 |
</div>
|
|
|
8 |
import { modelStore } from "$lib/stores/use-model";
|
9 |
import UserIsLogged from '$lib/components/UserIsLogged.svelte';
|
10 |
import Comments from '$lib/components/models/drawer/comments/Comments.svelte';
|
11 |
+
import { env } from '$env/dynamic/public';
|
12 |
|
13 |
let data = get(modelStore);
|
14 |
|
|
|
65 |
<div class="grid grid-cols-3 md:grid-cols-5 lg:grid-cols-6 gap-5 mt-2">
|
66 |
{#each data?.gallery as example}
|
67 |
<div class="w-full h-[120px] relative z-[1] mb-3 overflow-hidden">
|
68 |
+
<img src="{env.PUBLIC_FILE_UPLOAD_DIR}/{example.image}" class="w-full h-full bg-center bg-cover rounded-lg object-cover object-center bg-neutral-800" alt={example.prompt} />
|
69 |
</div>
|
70 |
{/each}
|
71 |
</div>
|