mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-06 15:02:13 +00:00
* onboarding components, routing, steps * onboarding component, toc * fix onboarding mixin * header * refactor docs * fix layout * cleanup routing * docs routing * fix conventions * de en routing * docs, guide contents, nav * rem i18n support * fix routing from docs * rollup onwarn changes, preload * update svelte plugin, update rollup config * move docs * revert img style, remove code table * rem de completely * rollup optim, template * angular quickstart, quickstart overview page, update deps * fix link * pack, slug * prefetch binding, hidden links * export log * guards route ch * fix homepage * angular docs * docs * resolve fsh * overview * docs * docs * packages fix race condition * nav, home link * add vue, aspnet * doc optimizations * embed status pal * angular guide * angular guide * dotnet, angular guide * viewbox * typo * block onboarding route for non iam writers * set links from component data * fix: fetch org context in guard, more main cnt (#1192) * change get started guide, fix code blockquotes, typos * flutter guide * h2 spacing * highlight strong * plus * rm start sublinks * add proxy quickstart * regex * prevent outside click, fix project grant write Co-authored-by: Florian Forster <florian@caos.ch> Co-authored-by: Livio Amstutz <livio.a@gmail.com>
40 lines
901 B
Svelte
40 lines
901 B
Svelte
<script context="module">
|
|
export async function preload({params}) {
|
|
const { slug } = params;
|
|
const {sections, seo} = await this.fetch(`${slug}.json`).then(r => r.json());
|
|
return { sections, seo, slug };
|
|
}
|
|
</script>
|
|
|
|
<script>
|
|
import manifest from '../../static/manifest.json';
|
|
import Docs from "../components/Docs.svelte";
|
|
export let slug;
|
|
export let sections;
|
|
export let seo;
|
|
|
|
import { onMount } from 'svelte';
|
|
import { initPhotoSwipeFromDOM } from '../utils/photoswipe.js';
|
|
|
|
onMount(() => {
|
|
initPhotoSwipeFromDOM('.zitadel-gallery');
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
@media (min-width: 832px) {
|
|
:global(main) {
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<svelte:head>
|
|
<title>{manifest.name} • {slug}</title>
|
|
|
|
{#if seo}
|
|
{ @html seo}
|
|
{/if}
|
|
</svelte:head>
|
|
|
|
<Docs {sections} dir="{slug}"/> |