openg pt2
This commit is contained in:
parent
9abb779b8a
commit
dadc9be57e
2 changed files with 24 additions and 2 deletions
|
@ -2,6 +2,7 @@ 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:
|
||||
|
@ -14,7 +15,7 @@ export const metadata: Metadata = {
|
|||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://svrjs.org/metadata/svrjs-cover.png",
|
||||
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
|
||||
width: 800,
|
||||
height: 600,
|
||||
alt: "SVRJS - A Web Server running on Node.js",
|
||||
|
@ -27,7 +28,8 @@ 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).",
|
||||
images: "/metadata/svrjs-cover.png",
|
||||
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
|
||||
creator: "@SVR_JS",
|
||||
},
|
||||
};
|
||||
export default function PageLayout({
|
||||
|
|
20
app/sitemap.ts
Normal file
20
app/sitemap.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
export default async function sitemap() {
|
||||
let routes = [
|
||||
"",
|
||||
"/blog",
|
||||
"/changelogs",
|
||||
"/contact",
|
||||
"/contribute",
|
||||
"/downloads",
|
||||
"/forum",
|
||||
"/mods",
|
||||
"/privacy-policy",
|
||||
"/tos",
|
||||
"/vulnerabilities",
|
||||
].map((route) => ({
|
||||
url: `https://vimfn.in${route}`,
|
||||
lastModified: new Date().toISOString().split("T")[0],
|
||||
}));
|
||||
|
||||
return [...routes];
|
||||
}
|
Loading…
Reference in a new issue