2021-05-27 23:19:05 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
2021-11-17 04:49:52 +01:00
|
|
|
import Container from "../components/Container.svelte";
|
2021-05-29 17:01:56 +02:00
|
|
|
|
2021-05-27 23:19:05 +02:00
|
|
|
export let title: string;
|
2021-05-29 17:01:56 +02:00
|
|
|
export let api: Record<string, never> | undefined = undefined;
|
2021-05-27 23:19:05 +02:00
|
|
|
</script>
|
|
|
|
|
2021-11-17 04:49:52 +01:00
|
|
|
<Container --gutter-block="2px" --container-margin="0" {api}>
|
2021-05-27 23:36:25 +02:00
|
|
|
<h1>{title}</h1>
|
2021-05-29 17:01:56 +02:00
|
|
|
|
2021-11-17 04:49:52 +01:00
|
|
|
<slot />
|
|
|
|
</Container>
|
2021-05-27 23:19:05 +02:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
h1 {
|
|
|
|
border-bottom: 1px solid var(--medium-border);
|
|
|
|
}
|
|
|
|
</style>
|