svrjs-nextjs-website/app/(root)/changelog/layout.tsx
Dorian Niemiec 7866a5c68f
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
fix: optimize the metadata
2024-11-25 08:42:23 +01:00

38 lines
1.4 KiB
TypeScript

import { Metadata } from "next";
// baseURL [ENV]
export const metadata: Metadata = {
title: "SVR.JS change log - SVR.JS",
description:
"Stay updated on SVR.JS web server improvements with our change log, featuring new features, bug fixes, and enhancements for each release.",
alternates: { canonical: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/changelog` },
openGraph: {
title: "SVR.JS change log - SVR.JS",
description:
"Stay updated on SVR.JS web server improvements with our change log, featuring new features, bug fixes, and enhancements for each release.",
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/changelog`,
type: "website",
images: [
{
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`,
width: 800,
height: 600,
alt: "SVR.JS change log - SVR.JS"
}
]
},
twitter: {
card: "summary_large_image",
site: "@SVR_JS",
title: "SVR.JS change log - SVR.JS",
description:
"Stay updated on SVR.JS web server improvements with our change log, featuring new features, bug fixes, and enhancements for each release.",
images: [`${process.env.NEXT_PUBLIC_WEBSITE_URL}/metadata/svrjs-cover.png`],
creator: "@SVR_JS"
}
};
const ContactLayout = ({ children }: { children: React.ReactNode }) => {
return <main>{children}</main>;
};
export default ContactLayout;