diff options
| author | Adam Soltys <[email protected]> | 2023-12-01 20:04:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-01 20:04:13 -0800 |
| commit | 216a600224fde22ce76b367557a02094ec693886 (patch) | |
| tree | d1189bbaa39db204633523132a7d4767b952717d /src/routes/+layout.svelte | |
| parent | 7d9bc1f54dfd04172e8d6d43ebc2efd6f407e833 (diff) | |
| download | coinos-ui-216a600224fde22ce76b367557a02094ec693886.tar.gz coinos-ui-216a600224fde22ce76b367557a02094ec693886.zip | |
prettier
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 57 |
1 files changed, 30 insertions, 27 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 32d31fa8..182be1cc 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,44 +1,47 @@ <script> - import { PUBLIC_DOMAIN } from '$env/static/public'; - import '../app.css'; - import { loading, t } from '$lib/translations'; + import { PUBLIC_DOMAIN } from "$env/static/public"; + import "../app.css"; + import { loading, t } from "$lib/translations"; - export let data; - let { pathname } = data; - let host = PUBLIC_DOMAIN.includes("localhost") ? `http://${PUBLIC_DOMAIN}` : `https://${PUBLIC_DOMAIN}` + export let data; + let { pathname } = data; + + let host = PUBLIC_DOMAIN.includes("localhost") + ? `http://${PUBLIC_DOMAIN}` + : `https://${PUBLIC_DOMAIN}`; </script> <svelte:head> - <title>coinos</title> - <meta property="og:title" content="coinos" /> - <meta name="twitter:title" content="coinos" /> + <title>coinos</title> + <meta property="og:title" content="coinos" /> + <meta name="twitter:title" content="coinos" /> - <meta property="og:image" content={`${host}/images/logo.png`} /> + <meta property="og:image" content={`${host}/images/logo.png`} /> - <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 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="coinos easy bitcoin web wallet" /> + <meta name="keywords" content="coinos easy bitcoin web wallet" /> - <meta name="twitter:image" content={`${host}/images/logo.png`} /> - <meta name="twitter:card" content="summary_large_image" /> + <meta name="twitter:image" content={`${host}/images/logo.png`} /> + <meta name="twitter:card" content="summary_large_image" /> - <meta property="og:url" content={host + pathname} /> - <meta name="twitter:site" content="@coinoswallet" /> - <meta name="twitter:creator" content="@coinoswallet" /> + <meta property="og:url" content={host + pathname} /> + <meta name="twitter:site" content="@coinoswallet" /> + <meta name="twitter:creator" content="@coinoswallet" /> </svelte:head> {#if !$loading} - <slot /> + <slot /> {/if} <style global> - :root { - --toastContainerTop: auto; - --toastContainerRight: auto; - --toastContainerBottom: 8rem; - --toastContainerLeft: calc(50vw - 8rem); - --toastBackground: #292929; - } + :root { + --toastContainerTop: auto; + --toastContainerRight: auto; + --toastContainerBottom: 8rem; + --toastContainerLeft: calc(50vw - 8rem); + --toastBackground: #292929; + } </style> |
