Skip to content

Commit e88d2e0

Browse files
committed
refac
1 parent 704d07e commit e88d2e0

1 file changed

Lines changed: 29 additions & 18 deletions

File tree

src/lib/components/OnBoarding.svelte

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,36 @@
8282
)}
8383
</p>
8484

85-
<button
86-
aria-label={$i18n.t('Get started')}
87-
class="group relative z-20 mt-8 inline-flex min-w-40 items-center justify-center gap-2 bg-white px-8 py-3 text-sm font-normal text-black transition hover:bg-white/90 focus:ring-2 focus:ring-white/50 focus:outline-hidden"
88-
on:click={() => {
89-
getStartedHandler();
90-
}}
91-
>
92-
{$i18n.t('Get started')}
93-
<svg
94-
class="h-4 w-4 transition group-hover:translate-x-0.5"
95-
fill="none"
96-
viewBox="0 0 24 24"
97-
stroke="currentColor"
98-
stroke-width="1.5"
99-
aria-hidden="true"
85+
<div class="mt-8 flex flex-col items-start gap-6 sm:flex-row sm:items-center sm:gap-7">
86+
<button
87+
aria-label={$i18n.t('Get started')}
88+
class="group relative z-20 inline-flex min-w-40 items-center justify-center gap-2 bg-white px-8 py-3 text-sm font-normal text-black transition hover:bg-white/90 focus:ring-2 focus:ring-white/50 focus:outline-hidden"
89+
on:click={() => {
90+
getStartedHandler();
91+
}}
10092
>
101-
<path stroke-linecap="round" stroke-linejoin="round" d="M17 8l4 4m0 0l-4 4m4-4H3" />
102-
</svg>
103-
</button>
93+
{$i18n.t('Get started')}
94+
<svg
95+
class="h-4 w-4 transition group-hover:translate-x-0.5"
96+
fill="none"
97+
viewBox="0 0 24 24"
98+
stroke="currentColor"
99+
stroke-width="1.5"
100+
aria-hidden="true"
101+
>
102+
<path stroke-linecap="round" stroke-linejoin="round" d="M17 8l4 4m0 0l-4 4m4-4H3" />
103+
</svg>
104+
</button>
105+
106+
<a
107+
class="inline-flex items-center text-sm text-white/60 transition hover:text-white"
108+
href="https://docs.openwebui.com/"
109+
target="_blank"
110+
rel="noopener noreferrer"
111+
>
112+
{$i18n.t('Read the docs')}
113+
</a>
114+
</div>
104115
</div>
105116
</div>
106117
</div>

0 commit comments

Comments
 (0)