page title #2
This commit is contained in:
parent
3db4004354
commit
95dbef219a
2 changed files with 40 additions and 0 deletions
|
@ -77,6 +77,9 @@ const Page = ({ params }: { params: { slug: string } }) => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<head>
|
||||
<title>{page.title} Changelog - SVRJS</title>
|
||||
</head>
|
||||
<section className="wrapper container py-24 md:py-28 gap-2 flex flex-col">
|
||||
<h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
|
||||
{page.title} Change Log
|
||||
|
|
37
app/(root)/changelogs/layout.tsx
Normal file
37
app/(root)/changelogs/layout.tsx
Normal file
|
@ -0,0 +1,37 @@
|
|||
import { Metadata } from "next";
|
||||
|
||||
// baseURL [ENV]
|
||||
export const metadata: Metadata = {
|
||||
title: "ChangeLogs - SVRJS",
|
||||
description:
|
||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||
openGraph: {
|
||||
title: "SVRJS - A Web Server running on Node.js",
|
||||
description:
|
||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||
url: "https://svrjs.org",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
|
||||
width: 800,
|
||||
height: 600,
|
||||
alt: "SVRJS - A Web Server running on Node.js",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
site: "@SVR_JS",
|
||||
title: "SVRJS - A Web Server running on Node.js",
|
||||
description:
|
||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.js. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
|
||||
creator: "@SVR_JS",
|
||||
},
|
||||
};
|
||||
const ContactLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
return <main>{children}</main>;
|
||||
};
|
||||
|
||||
export default ContactLayout;
|
Loading…
Reference in a new issue