aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+layout.svelte
blob: d6ea7db7f8f8f71c1a21f17df7ddb1544e6c82a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<script>
	import '../app.css';

	export let data;
	let { host, pathname } = data;
</script>

<svelte:head>
	<title>swapee</title>
	<meta property="og:title" content="swapee" />
	<meta name="twitter:title" content="swapee" />

	<meta property="og:image" content={`${host}/icons/logo.svg`} />

	<meta property="og:type" content="website" />
	<meta property="og:description" content="An easy to use bitcoin web wallet" />
	<meta name="description" content="An easy to use bitcoin web wallet" />

	<meta name="keywords" content="swapee easy bitcoin web wallet" />

	<meta name="twitter:image" content={`${host}/icons/logo.svg`} />
	<meta name="twitter:card" content="summary_large_image" />

	<meta property="og:url" content={host + pathname} />
	<meta name="twitter:site" content="@swapeewallet" />
	<meta name="twitter:creator" content="@swapeewallet" />
</svelte:head>

<slot />

<style global>
	:root {
		--toastContainerTop: auto;
		--toastContainerRight: auto;
		--toastContainerBottom: 8rem;
		--toastContainerLeft: calc(50vw - 8rem);
		--toastBackground: #292929;
	}
</style>