cobalt/web/src/routes/+page.svelte

53 lines
1.2 KiB
Svelte
Raw Normal View History

2024-06-14 16:48:57 +01:00
<script>
import { t } from "$lib/i18n/translations";
import Omnibox from "$components/save/Omnibox.svelte";
import MeowbaltLoaf from "$components/meowbalt/MeowbaltLoaf.svelte";
2024-06-14 16:48:57 +01:00
</script>
2024-06-25 16:01:08 +01:00
<svelte:head>
<title>{$t("general.cobalt")}</title>
2024-06-25 16:01:08 +01:00
</svelte:head>
<div id="cobalt-save-container" class="center-column-container">
2024-06-14 16:48:57 +01:00
<main id="cobalt-save">
<MeowbaltLoaf />
2024-06-14 16:48:57 +01:00
<Omnibox />
</main>
<div id="terms-note">
{$t("save.terms.note.agreement")} <a href="/about">{$t("save.terms.note.link")}</a>
2024-06-14 16:48:57 +01:00
</div>
</div>
<style>
#cobalt-save-container {
padding: var(--padding);
2024-06-25 10:54:33 +01:00
overflow: hidden;
}
2024-06-14 16:48:57 +01:00
#cobalt-save {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
2024-06-17 14:10:10 +01:00
gap: 15px;
2024-06-14 16:48:57 +01:00
}
#terms-note {
bottom: 0;
color: var(--gray);
font-size: 13px;
text-align: center;
padding-bottom: var(--padding);
}
@media screen and (max-width: 535px) {
#terms-note {
font-size: 11px;
padding-bottom: 0;
}
}
2024-06-14 16:48:57 +01:00
</style>