misc: redesign placeholders
This commit is contained in:
5 files changed
+24
-22
No files matched your search
@@ -23,22 +23,22 @@
|
||||
<div
|
||||
class="text-slate-700 dark:text-zinc-300 flex flex-col w-max mx-auto items-center gap-4 {clazz}"
|
||||
>
|
||||
<div class="flex flex-row gap-4 items-center max-w-sm">
|
||||
<div class="flex flex-col gap-2 items-center max-w-sm">
|
||||
{#if icon}
|
||||
<div
|
||||
class="border border-slate-200 dark:border-zinc-800 dark:bg-zinc-900 p-3 rounded-full"
|
||||
>
|
||||
<Icon src={icon} size="28" />
|
||||
<div class="bg-slate-100 dark:bg-zinc-950 p-3 rounded-full">
|
||||
<Icon src={icon} size="28" solid />
|
||||
</div>
|
||||
{/if}
|
||||
<div class={clazz}>
|
||||
<h1 class="text-slate-900 dark:text-zinc-100 text-lg font-medium">
|
||||
<h1
|
||||
class="text-slate-900 dark:text-zinc-100 text-base font-medium text-center"
|
||||
>
|
||||
{title}
|
||||
</h1>
|
||||
{#if description}
|
||||
<p class="text-sm {center ? 'text-center' : 'text-left'} font-normal">
|
||||
<!-- <p class="text-sm text-center font-normal">
|
||||
{description}
|
||||
</p>
|
||||
</p> -->
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user