]> git.lizzy.rs Git - frontend-next.git/blob - src/routes/__layout.svelte
fmt: prettier
[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
36     src="https://giscus.app/client.js"
37     data-repo="senpy-club/comments"
38     data-repo-id="R_kgDOHBgyMw"
39     data-category="General"
40     data-category-id="DIC_kwDOHBgyM84COKRc"
41     data-mapping="title"
42     data-reactions-enabled="1"
43     data-emit-metadata="0"
44     data-input-position="top"
45     data-theme="dark"
46     data-lang="en"
47     crossorigin="anonymous"
48     async>
49   </script>
50
51   <template id="giscus" />
52 </footer>