J.A.R.V.I.S-rust/frontend/src/routes/commands/index.svelte

41 lines
1,001 B
Svelte
Raw Normal View History

<script lang="ts">
2026-01-04 22:50:34 +05:00
import { Notification, Space } from "@svelteuidev/core"
import { InfoCircled } from "radix-icons-svelte"
import HDivider from "@/components/elements/HDivider.svelte"
import Footer from "@/components/Footer.svelte"
import { appInfo, translations, translate } from "@/stores"
$: t = (key: string) => translate($translations, key)
2026-01-04 22:50:34 +05:00
let tgLink = ""
appInfo.subscribe(info => {
tgLink = info.tgOfficialLink
})
</script>
<Space h="xl" />
2026-01-04 22:50:34 +05:00
<Notification
title={t('commands-wip-title')}
2026-01-04 22:50:34 +05:00
icon={InfoCircled}
color="blue"
withCloseButton={false}
>
{t('commands-wip-desc')}<br />
{t('commands-wip-follow')} <a href={tgLink} target="_blank">{t('commands-wip-channel')}</a>!
</Notification>
2026-01-04 22:50:34 +05:00
<div class="placeholder-image">
<img src="/media/images/tenor.gif" alt="bruh" width="320px" />
</div>
<HDivider />
2026-01-04 22:50:34 +05:00
<Footer />
<style>
.placeholder-image {
text-align: center;
margin-top: 25px;
}
</style>