Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<script lang="ts">
|
||||
import { page } from "$app/state";
|
||||
import { SITE_NAME, type PageSeo } from "$lib/seo";
|
||||
|
||||
let {
|
||||
title,
|
||||
description,
|
||||
path,
|
||||
image = "/descrybe_preview.png",
|
||||
imageAlt = "Descrybe product catalog preview",
|
||||
type = "website"
|
||||
}: PageSeo & { type?: string } = $props();
|
||||
|
||||
const origin = $derived(page.url.origin);
|
||||
const canonical = $derived(`${origin}${path}`);
|
||||
const imageUrl = $derived(image.startsWith("http") ? image : `${origin}${image}`);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="canonical" href={canonical} />
|
||||
|
||||
<meta property="og:type" content={type} />
|
||||
<meta property="og:site_name" content={SITE_NAME} />
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:url" content={canonical} />
|
||||
<meta property="og:image" content={imageUrl} />
|
||||
<meta property="og:image:alt" content={imageAlt} />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content={title} />
|
||||
<meta name="twitter:description" content={description} />
|
||||
<meta name="twitter:image" content={imageUrl} />
|
||||
<meta name="twitter:image:alt" content={imageAlt} />
|
||||
</svelte:head>
|
||||
Reference in New Issue
Block a user