Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
style of button
Browse files
src/lib/components/models/drawer/Drawer.svelte
CHANGED
@@ -83,6 +83,13 @@
|
|
83 |
</header>
|
84 |
<main class="grid grid-cols-1 gap-6">
|
85 |
<div class="justify-start items-center gap-4 flex">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
<div class="bg-red-500 bg-opacity-20 border border-red-500 md:px-4 md:py-2 px-3 py-1.5 rounded-full text-neutral-100 flex items-center justify-center gap-1 md:gap-2 font-medium text-sm md:text-base">
|
87 |
<Icon icon="solar:heart-bold" class="lg:w-5 lg:h-5 w-4 h-4 text-red-500" />
|
88 |
{model?.likes ?? 0}
|
@@ -95,13 +102,6 @@
|
|
95 |
<Icon icon="solar:download-square-bold" class="lg:w-5 lg:h-5 w-4 h-4 text-blue-500" />
|
96 |
View files
|
97 |
</a>
|
98 |
-
<a
|
99 |
-
href="/generate?model={model?.id}"
|
100 |
-
class="bg-pink-500 bg-opacity-20 hover:bg-opacity-60 transition-all duration-200 border border-pink-500 md:px-4 md:py-2 px-3 py-1.5 rounded-full text-neutral-100 flex items-center justify-center gap-1 md:gap-2 font-medium text-sm md:text-base"
|
101 |
-
>
|
102 |
-
<Icon icon="fluent:glance-horizontal-sparkles-16-filled" class="lg:w-5 lg:h-5 w-4 h-4 text-pink-500" />
|
103 |
-
Generate
|
104 |
-
</a>
|
105 |
</div>
|
106 |
{#if model?.gallery && model?.gallery?.length > 0}
|
107 |
<div class="-mr-8 relative">
|
|
|
83 |
</header>
|
84 |
<main class="grid grid-cols-1 gap-6">
|
85 |
<div class="justify-start items-center gap-4 flex">
|
86 |
+
<a
|
87 |
+
href="/generate?model={model?.id}"
|
88 |
+
class="bg-pink-500 hover:brightness-110 transition-all duration-200 border border-pink-500 md:px-4 md:py-2 px-3 py-1.5 rounded-full text-neutral-100 flex items-center justify-center gap-1 md:gap-2 font-medium text-sm md:text-base"
|
89 |
+
>
|
90 |
+
<Icon icon="fluent:glance-horizontal-sparkles-16-filled" class="lg:w-5 lg:h-5 w-4 h-4 text-pink-500" />
|
91 |
+
Generate Image
|
92 |
+
</a>
|
93 |
<div class="bg-red-500 bg-opacity-20 border border-red-500 md:px-4 md:py-2 px-3 py-1.5 rounded-full text-neutral-100 flex items-center justify-center gap-1 md:gap-2 font-medium text-sm md:text-base">
|
94 |
<Icon icon="solar:heart-bold" class="lg:w-5 lg:h-5 w-4 h-4 text-red-500" />
|
95 |
{model?.likes ?? 0}
|
|
|
102 |
<Icon icon="solar:download-square-bold" class="lg:w-5 lg:h-5 w-4 h-4 text-blue-500" />
|
103 |
View files
|
104 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
</div>
|
106 |
{#if model?.gallery && model?.gallery?.length > 0}
|
107 |
<div class="-mr-8 relative">
|