Spaces:
Sleeping
Sleeping
Andrew
commited on
Commit
·
65de130
1
Parent(s):
8bf92df
Remove welcome modal advertising Omni
Browse files
src/lib/components/WelcomeModal.svelte
CHANGED
|
@@ -11,46 +11,3 @@
|
|
| 11 |
|
| 12 |
let { close }: Props = $props();
|
| 13 |
</script>
|
| 14 |
-
|
| 15 |
-
<Modal closeOnBackdrop={false} onclose={close} width="!max-w-[420px] !m-4">
|
| 16 |
-
<div
|
| 17 |
-
class="flex w-full flex-col gap-8 bg-white bg-gradient-to-b to-transparent px-6 pb-7 dark:bg-black dark:from-white/10 dark:to-white/5"
|
| 18 |
-
>
|
| 19 |
-
<div
|
| 20 |
-
class="-mx-6 grid h-48 select-none place-items-center bg-gradient-to-t from-black/5 dark:from-white/10"
|
| 21 |
-
>
|
| 22 |
-
<video
|
| 23 |
-
class="size-full object-cover"
|
| 24 |
-
autoplay
|
| 25 |
-
muted
|
| 26 |
-
src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/WSOTmErfqlGNZwSqdfrA7.mp4"
|
| 27 |
-
></video>
|
| 28 |
-
<!-- <h2
|
| 29 |
-
class="flex translate-y-1 items-center text-3xl font-semibold text-gray-900 dark:text-gray-100"
|
| 30 |
-
>
|
| 31 |
-
<Logo classNames="mr-2 size-12 dark:invert" />
|
| 32 |
-
{publicConfig.PUBLIC_APP_NAME}
|
| 33 |
-
</h2> -->
|
| 34 |
-
</div>
|
| 35 |
-
|
| 36 |
-
<div class="text-gray-700 dark:text-gray-200">
|
| 37 |
-
<p class="text-[15px] leading-relaxed">
|
| 38 |
-
Welcome to {publicConfig.PUBLIC_APP_NAME}, the chat app powered by open source AI models.
|
| 39 |
-
</p>
|
| 40 |
-
<p class="mt-3 text-[15px] leading-relaxed">
|
| 41 |
-
<IconOmni classNames="-translate-y-px" /> Omni automatically picks the best AI model to give
|
| 42 |
-
you optimal answers depending on your requests.
|
| 43 |
-
</p>
|
| 44 |
-
<p class="mt-3 text-[15px] leading-relaxed">
|
| 45 |
-
You can also choose from any available open source models to chat with directly.
|
| 46 |
-
</p>
|
| 47 |
-
</div>
|
| 48 |
-
|
| 49 |
-
<button
|
| 50 |
-
class="k w-full rounded-xl bg-black px-5 py-2.5 text-base font-medium text-white hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200"
|
| 51 |
-
onclick={close}
|
| 52 |
-
>
|
| 53 |
-
Start chatting
|
| 54 |
-
</button>
|
| 55 |
-
</div>
|
| 56 |
-
</Modal>
|
|
|
|
| 11 |
|
| 12 |
let { close }: Props = $props();
|
| 13 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|