Files
zitadel/site/src/routes/index.svelte
T
Max PeintnerandGitHub 2c517d6278 feat(documentation): svelte app as document generator (#566)
* check in full site application

* rm unused assets components

* change base css

* i18n

* new doc workflow

* fix crosslink to doc in github

* nav, console link, assets, console brand

* edit configjs server

* rm go struct references

* cleanup input output bindings

* working dir

* export path

* always trigger

* rel paths

* cname

* rev workdir

* fix fallbacklanguage, home on large screens

* remove mit from site
2020-08-11 09:53:09 +02:00

58 lines
1.2 KiB
Svelte

<script context="module">
export async function preload(page, session) {
const {params} = page;
}
</script>
<script>
import Split from "../components/Split.svelte";
import Section from '../components/Section.svelte';
import { _ } from 'svelte-i18n';
</script>
<style>
h2 {
margin-bottom: 2rem;
}
.caos-back {
position: absolute;
top: 80px;
height: 60vh;
right: 0;
}
.section {
width: 100%;
margin-top: 70vh;
min-height: 80vh;
}
@media screen and (min-width: 768px) {
.caos-back {
right: 0;
height: 70vh;
}
.section {
width: 50%;
margin-top: 50px;
}
}
</style>
<svelte:head>
<title>
Caos • Documentation
</title>
</svelte:head>
<img class="caos-back" src="logos/zitadel-logo-solo-darkdesign.svg" alt="caos logo">
<Section>
<div class="section">
<h2>{$_('title')}</h2>
<p>{$_('description')}</p>
<p>{$_('description2')}</p>
<p>{$_('description3')}</p>
<a href="/get_started" >{$_('button')}</a>
</div>
</Section>