]> git.lizzy.rs Git - frontend-next.git/blob - src/routes/__layout.svelte
2435b582c8f77c3d2211583721d725f0f7f8d136
[frontend-next.git] / src / routes / __layout.svelte
1 <!-- This file is part of api-worker <https://github.com/senpy-club/api-worker>.
2 Copyright (C) 2022-2022 Fuwn <contact@fuwn.me>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, version 3.
7
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 Copyright (C) 2022-2022 Fuwn <contact@fuwn.me>
17 SPDX-License-Identifier: GPL-3.0-only -->
18 <script lang="ts">
19   import Header from "$lib/header/Header.svelte";
20   import "../app.css";
21 </script>
22
23 <Header />
24
25 <main>
26   <slot />
27 </main>
28
29 <footer>
30   <p>
31     String copyright = "2022-{new Date().getFullYear()}
32     <a href="https://github.com/Fuwn">Fuwn</a>";
33   </p>
34
35   <script src="https://giscus.app/client.js"
36           data-repo="senpy-club/comments"
37           data-repo-id="R_kgDOHBgyMw"
38           data-category="General"
39           data-category-id="DIC_kwDOHBgyM84COKRc"
40           data-mapping="title"
41           data-reactions-enabled="1"
42           data-emit-metadata="0"
43           data-input-position="top"
44           data-theme="dark"
45           data-lang="en"
46           crossorigin="anonymous"
47           async>
48   </script>
49
50   <template id="giscus"></template>
51 </footer>