Skip to content

Commit fde86bd

Browse files
authored
task: improve marketplace button design (#801)
* feat: add marketplace image and W3DS logo SVG * format
1 parent ef0daf3 commit fde86bd

3 files changed

Lines changed: 36 additions & 8 deletions

File tree

infrastructure/eid-wallet/src/routes/(app)/main/+page.svelte

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,39 @@ onDestroy(() => {
176176
href="https://marketplace.w3ds.metastate.foundation/"
177177
target="_blank"
178178
rel="noopener noreferrer"
179-
class="rounded-3xl w-full bg-black-700 text-white p-4 mt-8 flex items-center justify-center gap-3 cursor-pointer"
179+
class="rounded-3xl z-0 w-full border border-gray-300 h-48 text-black p-3 mt-8 flex flex-col justify-end cursor-pointer relative overflow-hidden transition-shadow"
180180
>
181-
<span class="text-lg font-medium flex gap-2"
182-
>Discover <img
183-
class="w-12"
184-
src="/images/W3DSLogoWhite.svg"
185-
alt="w3ds logo"
186-
/> Post Platforms</span
181+
<img
182+
src="/marketplace.png"
183+
alt="Marketplace"
184+
class="absolute inset-0 z-0 w-full h-full object-cover object-bottom"
185+
/>
186+
<!-- Gradient overlay that fades towards the bottom -->
187+
<div
188+
class="absolute inset-0 z-1 bg-linear-to-t from-white via-white/60 to-transparent"
189+
></div>
190+
191+
<span
192+
class="text-2xl font-bold flex gap-2 relative z-10 drop-shadow-lg"
193+
>Discover Post Platforms</span
194+
>
195+
<span
196+
class="text-sm opacity-90 relative z-10 drop-shadow-md flex gap-1 items-center"
197+
>Explore
198+
<img
199+
src="/images/W3DSLogoBlack.svg"
200+
alt="W3DS Logo"
201+
class="h-4"
202+
/>
203+
Marketplace
204+
<span class="relative z-10">
205+
<HugeiconsIcon
206+
size={16}
207+
strokeWidth={1.5}
208+
icon={LinkSquare02Icon}
209+
/>
210+
</span></span
187211
>
188-
<HugeiconsIcon size={24} strokeWidth={2} icon={LinkSquare02Icon} />
189212
</Button.Nav>
190213
</main>
191214

Lines changed: 5 additions & 0 deletions
Loading
135 KB
Loading

0 commit comments

Comments
 (0)