header metadata

This commit is contained in:
nomadics9 2024-05-12 02:48:09 +03:00
parent 3c3dec619b
commit 86f951a375
2 changed files with 11 additions and 3 deletions

View file

@ -1,4 +1,13 @@
<script lang="ts">
import type { PageData } from "./$types";
let data: PageData
</script>
<svelte:head>
<title>Linky</title>
<meta name="description" content="Your web tree!" />
<meta property="og:image" content="https://nmd.mov/favicon.png" />
<meta property="og:title" content="Linky" />
<meta property="og:description" content="Your web tree!" />
<meta property="og:url" content="https://nmd.mov" />
</svelte:head>
<a href="/login" class="btn btn-outline mx-auto my-auto">/Start</a>

View file

@ -9,7 +9,6 @@
} from "firebase/auth";
import { goto } from "$app/navigation";
import { toasts, ToastContainer, FlatToast } from "svelte-toasts";
import { page } from "$app/stores";
export let data: PageData;
async function signInWithGoogle() {
@ -54,7 +53,7 @@
</h1>
<img
src={data.photoURL ?? "/user.png"}
alt="photoURL"
alt="profile"
width="128"
class="mx-auto rounded-2xl mt-8"
/>