404
This link doesn't exist.
- Maybe check out - pihkaal.me - instead? + Maybe check out pihkaal.me instead?
diff --git a/app/pages/auth/sign-in.vue b/app/pages/auth/sign-in.vue index d688a36..b1ae904 100644 --- a/app/pages/auth/sign-in.vue +++ b/app/pages/auth/sign-in.vue @@ -2,6 +2,8 @@ import { z } from "zod"; import type { AuthFormField, FormSubmitEvent } from "@nuxt/ui"; +useHead({ title: 'Sign in' }); + definePageMeta({ middleware: () => { const { loggedIn } = useUserSession(); diff --git a/app/pages/dashboard.vue b/app/pages/dashboard.vue index d94f3e5..0411595 100644 --- a/app/pages/dashboard.vue +++ b/app/pages/dashboard.vue @@ -23,6 +23,13 @@ const category = computed(() => { return "all"; }); +const categoryTitle = computed(() => { + if (category.value === "active") return "Active links"; + if (category.value === "disabled") return "Disabled links"; + return "All links"; +}); +useHead({ title: categoryTitle }); + const filteredLinks = computed(() => { if (!links.value) return []; if (category.value === "active") return links.value.filter((l) => !l.disabled); diff --git a/nuxt.config.ts b/nuxt.config.ts index 72f49d9..b92fb19 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -10,6 +10,13 @@ export default defineNuxtConfig({ } }, + app: { + head: { + titleTemplate: '%s ยท pihka.al', + link: [{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }], + }, + }, + devtools: { enabled: true }, diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..ff83b91 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,51 @@ + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /