seo optimization pt2

This commit is contained in:
Cypro Freelance 2024-08-01 20:47:45 +05:30
parent ddf9989e7f
commit 4363694ecd
2 changed files with 25 additions and 35 deletions

View file

@ -1,38 +1,6 @@
import { Poppins } from "next/font/google"; import { Poppins } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { AppProps } from "next/app"; import { AppProps } from "next/app";
import { Metadata } from "next";
// baseURL [ENV]
export const metadata: Metadata = {
title: "Documentation - 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 poppins = Poppins({ const poppins = Poppins({
weight: ["400", "600", "700", "900"], weight: ["400", "600", "700", "900"],

View file

@ -4,11 +4,33 @@ import Logo from "./components/shared/Logo";
export default { export default {
head: ( head: (
<> <>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta
<meta property="og:title" content="SVRJS" /> name="description"
content="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)."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Documentation - SVRJS" />
<meta <meta
property="og:description" property="og:description"
content="the open source node running server" content="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)."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://svrjs.org" />
<meta
property="og:image"
content="https://svrjs.vercel.app/metadata/svrjs-cover.png"
/>
<title>Documentation - SVRJS</title>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Documentation - SVRJS" />
<meta
name="twitter:description"
content="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).."
/>
<meta
name="twitter:image"
content="https://svrjs.vercel.app/metadata/svrjs-cover.png"
/> />
</> </>
), ),