---
import type { Props } from '@astrojs/starlight/props';
import { getImage } from 'astro:assets';
import StarlightHead from '@astrojs/starlight/components/Head.astro';
import VtbotStarlight from 'astro-vtbot/components/starlight/Base.astro';
import { OG } from '@data/constants';
const canonical = new URL(Astro.url.pathname, Astro.site || Astro.url.origin)
.href;
const socialImageRes = await getImage({
src: OG.image,
width: 1200,
height: 600,
format: 'png',
});
const socialImage = new URL(socialImageRes.src, Astro.site || Astro.url.origin)
.href;
---