2023-03-12 04:25:53 +01:00
|
|
|
<script lang="ts">
|
2023-03-11 01:36:30 +01:00
|
|
|
import "bootstrap/dist/css/bootstrap.min.css";
|
|
|
|
import "bootstrap-icons/font/bootstrap-icons.css";
|
2023-03-09 17:08:43 +01:00
|
|
|
|
|
|
|
import Navigation from "./nav/Navigation.svelte";
|
2023-03-12 04:25:53 +01:00
|
|
|
import type { LayoutData } from "./$types";
|
|
|
|
import { version } from "$app/environment";
|
|
|
|
|
|
|
|
export let data: LayoutData;
|
|
|
|
|
|
|
|
const versionMismatch = data.git_commit !== version && data.git_commit !== "[unknown]";
|
2023-03-09 17:08:43 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<Navigation />
|
2023-03-12 04:25:53 +01:00
|
|
|
<div class="container">
|
|
|
|
<slot />
|
|
|
|
<footer>
|
|
|
|
<hr />
|
|
|
|
<p>
|
|
|
|
pronouns.cc <a href={data.git_repository}>{version}</a>
|
|
|
|
{#if versionMismatch}(backend: {data.git_commit}){/if} ·
|
|
|
|
<a href="/page/terms">Terms of service</a>
|
|
|
|
- <a href="/page/privacy">Privacy policy</a>
|
|
|
|
</p>
|
|
|
|
</footer>
|
|
|
|
</div>
|