47 lines
1.8 KiB
TypeScript
47 lines
1.8 KiB
TypeScript
import Footer from "@/components/shared/Footer";
|
|
import Navbar from "@/components/shared/Navbar";
|
|
import { Metadata } from "next";
|
|
|
|
// baseURL [ENV]
|
|
export const metadata: Metadata = {
|
|
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).",
|
|
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",
|
|
},
|
|
};
|
|
export default function PageLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="flex flex-col min-h-screen">
|
|
<Navbar />
|
|
<div className="flex-grow flex-1 overflow-x-hidden">{children}</div>
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|