fix: add metadata to the newsletter page
This commit is contained in:
parent
4c962e3968
commit
8e9deea0bf
1 changed files with 31 additions and 0 deletions
|
@ -1,5 +1,36 @@
|
||||||
import Newsletter from "@/components/shared/Newsletter";
|
import Newsletter from "@/components/shared/Newsletter";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { Metadata } from "next";
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: "Newsletter - SVR.JS",
|
||||||
|
description:
|
||||||
|
"Subscribe to our newsletter for updates. We promise no spam emails will be sent.",
|
||||||
|
openGraph: {
|
||||||
|
title: "Newsletter - SVR.JS",
|
||||||
|
description:
|
||||||
|
"Subscribe to our newsletter for updates. We promise no spam emails will be sent.",
|
||||||
|
url: "https://svrjs.org/newsletter",
|
||||||
|
type: "website",
|
||||||
|
images: [
|
||||||
|
{
|
||||||
|
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
|
||||||
|
width: 800,
|
||||||
|
height: 600,
|
||||||
|
alt: "Newsletter - SVR.JS"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image",
|
||||||
|
site: "@SVR_JS",
|
||||||
|
title: "Newsletter - SVR.JS",
|
||||||
|
description:
|
||||||
|
"Subscribe to our newsletter for updates. We promise no spam emails will be sent.",
|
||||||
|
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
|
||||||
|
creator: "@SVR_JS"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const NewsletterPage = () => {
|
const NewsletterPage = () => {
|
||||||
return <Newsletter />;
|
return <Newsletter />;
|
||||||
|
|
Loading…
Reference in a new issue