1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat: use JSX instead of strings for bio

This commit is contained in:
2025-07-22 14:52:11 +00:00
parent 6d4c931091
commit 2e3bf0b63b
4 changed files with 19 additions and 23 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import Package from "@/../package.json";
import { Metadata } from "next";
import { unstable_noStore } from "next/cache";
import bio from "./bio";
import { bioPremise } from "./bio";
import socials from "./socials";
export const canonicalName: URL = new URL(`https://${process.env.DOMAIN_NAME}`);
@@ -18,12 +18,12 @@ export async function generateMetadata(): Promise<Metadata>
unstable_noStore();
return {
title: baseTitle,
description: bio[0],
description: bioPremise,
metadataBase: canonicalName,
openGraph:
{
title: baseTitle,
description: bio[0],
description: bioPremise,
type: "profile",
firstName: Package.author.name.split(" ")[0],
lastName: Package.author.name.split(" ")[1],