mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-11 00:25:12 +00:00
* fix: sirv, commonjs plugin, add rollup sig * replace deprecated rollup plugins * remove dollarsign * fix i18n setting, code snippet styling, lng switch * fix segment, rm unused styles
32 lines
696 B
Svelte
32 lines
696 B
Svelte
<script>
|
|
import { stores } from "@sapper/app";
|
|
import Icon from "../components/Icon.svelte";
|
|
import Nav from "../components/Nav.svelte";
|
|
import NavItem from "../components/NavItem.svelte";
|
|
import manifest from '../../static/manifest.json';
|
|
import PhotoSwipe from '../components/PhotoSwipe.svelte';
|
|
const { page } = stores();
|
|
export let segment;
|
|
</script>
|
|
|
|
<script context="module">
|
|
import { waitLocale } from 'svelte-i18n';
|
|
export async function preload(page) {
|
|
return waitLocale();
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
main {
|
|
position: relative;
|
|
margin: 0 auto;
|
|
padding: var(--nav-h) 0 0 0;
|
|
overflow-x: hidden;
|
|
}
|
|
</style>
|
|
|
|
<main>
|
|
<slot />
|
|
<PhotoSwipe/>
|
|
</main>
|