mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 19:12:16 +00:00
* 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
30 lines
595 B
Svelte
30 lines
595 B
Svelte
<style>
|
|
a {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
import { getContext } from 'svelte';
|
|
export let segment = null;
|
|
export let external = null;
|
|
export let title = '';
|
|
const current = getContext('nav');
|
|
</script>
|
|
|
|
{#if external}
|
|
<a href={external}><slot></slot></a>
|
|
{:else}
|
|
<a rel="prefetch" alt="{title}" href={segment}><slot></slot></a>
|
|
{/if} |