fix: replace "SVRJS" with "SVR.JS"

This commit is contained in:
Dorian Niemiec 2024-09-07 09:39:26 +02:00
parent 6d806d7eba
commit ccfcefc753
26 changed files with 150 additions and 147 deletions

View file

@ -55,10 +55,10 @@ export async function generateMetadata({
} }
return { return {
title: `${data.title} - SVRJS`, title: `${data.title} - SVR.JS`,
description: data.smallDescription, description: data.smallDescription,
openGraph: { openGraph: {
title: `${data.title} - SVRJS`, title: `${data.title} - SVR.JS`,
description: data.smallDescription, description: data.smallDescription,
url: `https://svrjs.org/blog/${data.currentSlug}`, url: `https://svrjs.org/blog/${data.currentSlug}`,
type: "website", type: "website",
@ -67,14 +67,14 @@ export async function generateMetadata({
url: urlFor(data.titleImage).url(), url: urlFor(data.titleImage).url(),
width: 800, width: 800,
height: 600, height: 600,
alt: `${data.title} - SVRJS` alt: `${data.title} - SVR.JS`
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: `${data.title} - SVRJS`, title: `${data.title} - SVR.JS`,
description: data.smallDescription, description: data.smallDescription,
images: [urlFor(data.titleImage).url()], images: [urlFor(data.titleImage).url()],
creator: "@SVR_JS" creator: "@SVR_JS"

View file

@ -6,11 +6,11 @@ import { Button } from "@/components/ui/button";
import Link from "next/link"; import Link from "next/link";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Blog - SVRJS", title: "Blog - SVR.JS",
description: description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.", "Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
openGraph: { openGraph: {
title: "Blog - SVRJS", title: "Blog - SVR.JS",
description: description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.", "Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
url: "https://svrjs.org/blog", url: "https://svrjs.org/blog",
@ -20,14 +20,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Blog - SVRJS" alt: "Blog - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Blog - SVRJS", title: "Blog - SVR.JS",
description: description:
"Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.", "Welcome to the SVR.JS Blog! Explore our latest blog posts featuring web development, web application security, and web server administration tips. Stay tuned for the latest SVR.JS updates.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],
@ -48,7 +48,7 @@ const BlogPage = async ({
className="wrapper container py-24 md:py-28 gap-2 flex-center flex-col" className="wrapper container py-24 md:py-28 gap-2 flex-center flex-col"
> >
<h1 className="text-3xl md:text-5xl mb-3 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"> <h1 className="text-3xl md:text-5xl mb-3 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">
SVRJS Blog Post SVR.JS Blog Post
</h1> </h1>
<p className="text-muted-foreground flex-center mb-2"> <p className="text-muted-foreground flex-center mb-2">
Stay updated with our latest blog posts by subscribing to our Stay updated with our latest blog posts by subscribing to our

View file

@ -19,7 +19,7 @@ const Page = ({ params }: { params: { slug: string } }) => {
if (response.ok) { if (response.ok) {
const data = await response.json(); const data = await response.json();
setPage(data); setPage(data);
return (document.title = `${data.title} Change Log - SVRJS`); return (document.title = `${data.title} Change Log - SVR.JS`);
} else { } else {
if (response.status === 404) { if (response.status === 404) {
setNotFound(true); setNotFound(true);
@ -41,7 +41,7 @@ const Page = ({ params }: { params: { slug: string } }) => {
return ( return (
<> <>
<head> <head>
<title>Mods Change Logs - SVRJS</title> <title>Mods Change Logs - SVR.JS</title>
</head> </head>
<section className="wrapper container py-24 md:py-28 gap-4 flex flex-col"> <section className="wrapper container py-24 md:py-28 gap-4 flex flex-col">
<div className="mb-3"> <div className="mb-3">
@ -78,14 +78,17 @@ const Page = ({ params }: { params: { slug: string } }) => {
return ( return (
<> <>
<head> <head>
<title>{page.title} Changelog - SVRJS</title> <title>{page.title} Changelog - SVR.JS</title>
<meta <meta
name="description" name="description"
content={`Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`} content={`Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`}
/> />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content={`${page.title} Changelog - SVRJS`} /> <meta
property="og:title"
content={`${page.title} Changelog - SVR.JS`}
/>
<meta <meta
property="og:description" property="og:description"
content={`Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`} content={`Keep track of the latest updates and improvements for ${page.title} with our comprehensive change log. Discover new features, bug fixes, and enhancements for each release of this SVR.JS mod.`}
@ -99,11 +102,11 @@ const Page = ({ params }: { params: { slug: string } }) => {
property="og:image" property="og:image"
content="https://svrjs.vercel.app/metadata/svrjs-cover.png" content="https://svrjs.vercel.app/metadata/svrjs-cover.png"
/> />
<title>Documentation - SVRJS</title> <title>Documentation - SVR.JS</title>
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta <meta
name="twitter:title" name="twitter:title"
content={`${page.title} Changelog - SVRJS`} content={`${page.title} Changelog - SVR.JS`}
/> />
<meta <meta
name="twitter:description" name="twitter:description"

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "ChangeLogs - SVRJS", title: "ChangeLogs - SVR.JS",
description: description:
"Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.", "Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.",
openGraph: { openGraph: {
title: "ChangeLogs - SVRJS", title: "ChangeLogs - SVR.JS",
description: description:
"Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.", "Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.",
url: "https://svrjs.org/changelogs", url: "https://svrjs.org/changelogs",
@ -16,14 +16,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "ChangeLogs - SVRJS" alt: "ChangeLogs - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "ChangeLogs - SVRJS", title: "ChangeLogs - SVR.JS",
description: description:
"Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.", "Stay up-to-date with the latest improvements and updates to SVR.JS web server. Our change log page provides a comprehensive list of new features, bug fixes, and enhancements for each release.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -57,7 +57,7 @@ const LogsPage: React.FC = () => {
return ( return (
<> <>
<head> <head>
<title>Change Logs - SVRJS</title> <title>Change Logs - SVR.JS</title>
</head> </head>
<section className="wrapper container py-24 md:py-28 gap-4 flex flex-col"> <section className="wrapper container py-24 md:py-28 gap-4 flex flex-col">
<div className="mb-3"> <div className="mb-3">
@ -83,7 +83,7 @@ const LogsPage: React.FC = () => {
Server LOGS Server LOGS
</h1> </h1>
<p className="md:text-lg text-muted-foreground text-start mb-6"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS download and compiled Files here! Get all the latest version of SVR.JS download and compiled Files here!
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Contact Us - SVRJS", title: "Contact Us - SVR.JS",
description: description:
"Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.", "Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.",
openGraph: { openGraph: {
title: "Contact Us - SVRJS", title: "Contact Us - SVR.JS",
description: description:
"Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.", "Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.",
url: "https://svrjs.org/contact", url: "https://svrjs.org/contact",
@ -16,14 +16,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Contact Us - SVRJS" alt: "Contact Us - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Contact Us - SVRJS", title: "Contact Us - SVR.JS",
description: description:
"Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.", "Have questions about SVR.JS? Need technical support? Visit our Contact Us page to find various ways to get in touch with our team, including email, forums, and our official support channel.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -4,11 +4,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Contribute - SVRJS", title: "Contribute - SVR.JS",
description: description:
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.", "Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
openGraph: { openGraph: {
title: "Contribute - SVRJS", title: "Contribute - SVR.JS",
description: description:
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.", "Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
url: "https://svrjs.org/contribute", url: "https://svrjs.org/contribute",
@ -18,14 +18,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Contribute - SVRJS" alt: "Contribute - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Contribute - SVRJS", title: "Contribute - SVR.JS",
description: description:
"Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.", "Contribute to SVR.JS and be part of an exciting open-source project. Follow the step-by-step guidelines to make your code contributions.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Downloads - SVRJS", title: "Downloads - SVR.JS",
description: description:
"Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!", "Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!",
openGraph: { openGraph: {
title: "Downloads - SVRJS", title: "Downloads - SVR.JS",
description: description:
"Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!", "Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!",
url: "https://svrjs.org/downloads", url: "https://svrjs.org/downloads",
@ -16,14 +16,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Downloads - SVRJS" alt: "Downloads - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Downloads - SVRJS", title: "Downloads - SVR.JS",
description: description:
"Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!", "Ready to get started with SVR.JS? Visit our downloads page to access the latest stable releases, nightly builds, and archived versions. Find the right fit for your needs today!",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -63,7 +63,7 @@ const DownloadPage: React.FC = () => {
Downloads Downloads
</h1> </h1>
<p className="md:text-lg text-muted-foreground text-start mb-6"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS download and compiled Files here! Get all the latest version of SVR.JS download and compiled Files here!
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}
<Table> <Table>

View file

@ -3,7 +3,7 @@ import React from "react";
import { Metadata } from "next"; import { Metadata } from "next";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Forum - SVRJS" title: "Forum - SVR.JS"
}; };
const Forum = () => { const Forum = () => {

View file

@ -6,11 +6,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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: { openGraph: {
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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", url: "https://svrjs.org",
@ -20,14 +20,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "SVRJS - A Web Server running on Node.js" alt: "SVR.JS - A Web Server running on Node.js"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Mods - SVRJS", title: "Mods - SVR.JS",
description: description:
"Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.", "Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.",
openGraph: { openGraph: {
title: "Mods - SVRJS", title: "Mods - SVR.JS",
description: description:
"Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.", "Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.",
url: "https://svrjs.org/mods", url: "https://svrjs.org/mods",
@ -16,14 +16,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Mods - SVRJS" alt: "Mods - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Mods - SVRJS", title: "Mods - SVR.JS",
description: description:
"Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.", "Expand the functionality of SVR.JS with our collection of mods! Visit the mod downloads page to explore, download, and install a wide range of mods tailored to enhance your web server experience.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -62,7 +62,7 @@ const ModsPage: React.FC = () => {
SvrJS Mods SvrJS Mods
</h1> </h1>
<p className="md:text-lg text-muted-foreground text-start mb-6"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS Mods and compiled Files here!{" "} Get all the latest version of SVR.JS Mods and compiled Files here!{" "}
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}
<Table> <Table>

View file

@ -6,11 +6,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Privacy Policy - SVRJS", title: "Privacy Policy - SVR.JS",
description: description:
"Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.", "Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.",
openGraph: { openGraph: {
title: "Privacy Policy - SVRJS", title: "Privacy Policy - SVR.JS",
description: description:
"Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.", "Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.",
url: "https://svrjs.org/privacy-policy", url: "https://svrjs.org/privacy-policy",
@ -20,14 +20,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Privacy Policy - SVRJS" alt: "Privacy Policy - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Privacy Policy - SVRJS", title: "Privacy Policy - SVR.JS",
description: description:
"Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.", "Learn how we collect, use, and protect your data. Our Privacy Policy outlines our commitment to your privacy and the measures we take to safeguard your information when visiting our website.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -4,11 +4,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Terms of Service - SVRJS", title: "Terms of Service - SVR.JS",
description: description:
"Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.", "Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.",
openGraph: { openGraph: {
title: "Terms of Service - SVRJS", title: "Terms of Service - SVR.JS",
description: description:
"Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.", "Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.",
url: "https://svrjs.org/tos", url: "https://svrjs.org/tos",
@ -18,14 +18,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Terms of Service - SVRJS" alt: "Terms of Service - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Terms of Service - SVRJS", title: "Terms of Service - SVR.JS",
description: description:
"Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.", "Understand your rights and responsibilities when using SVR.JS. Our Terms of Service page outlines the conditions for visiting our website, ensuring a transparent and fair experience for all users.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Vulnerabilities - SVRJS", title: "Vulnerabilities - SVR.JS",
description: description:
"Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.", "Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.",
openGraph: { openGraph: {
title: "Vulnerabilities - SVRJS", title: "Vulnerabilities - SVR.JS",
description: description:
"Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.", "Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.",
url: "https://svrjs.org/vulnerabilities", url: "https://svrjs.org/vulnerabilities",
@ -16,14 +16,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "Vulnerabilities - SVRJS" alt: "Vulnerabilities - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "Vulnerabilities - SVRJS", title: "Vulnerabilities - SVR.JS",
description: description:
"Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.", "Learn about potential security risks associated with outdated SVR.JS web server versions. Stay informed and safeguard your web applications from potential threats with timely updates.",
images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -37,7 +37,7 @@ const Vulnerabilities = () => {
if (response.ok) { if (response.ok) {
const data: Vulnerabilities[] = await response.json(); const data: Vulnerabilities[] = await response.json();
setDownloads(data); setDownloads(data);
return (document.title = "Vulnerabilities - SVRJS"); return (document.title = "Vulnerabilities - SVR.JS");
} else { } else {
throw new Error(`HTTP error! status: ${response.status}`); throw new Error(`HTTP error! status: ${response.status}`);
} }
@ -60,7 +60,7 @@ const Vulnerabilities = () => {
(mod) => mod.vulnerabilities && mod.vulnerabilities.trim() !== "" (mod) => mod.vulnerabilities && mod.vulnerabilities.trim() !== ""
); );
setMods(filteredMods); setMods(filteredMods);
return (document.title = "Vulnerabilities - SVRJS"); return (document.title = "Vulnerabilities - SVR.JS");
} else { } else {
throw new Error(`HTTP error! status: ${response.status}`); throw new Error(`HTTP error! status: ${response.status}`);
} }
@ -89,7 +89,7 @@ const Vulnerabilities = () => {
return ( return (
<> <>
<head> <head>
<title>Vulnerabilities - SVRJS</title> <title>Vulnerabilities - SVR.JS</title>
</head> </head>
<section className="wrapper container py-24 md:py-28 gap-4 flex flex-col"> <section className="wrapper container py-24 md:py-28 gap-4 flex flex-col">
<div className="mb-3"> <div className="mb-3">

View file

@ -11,11 +11,11 @@ const poppins = Poppins({
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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: { openGraph: {
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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", url: "https://svrjs.org",
@ -25,14 +25,14 @@ export const metadata: Metadata = {
url: "https://svrjs.vercel.app/metadata/svrjs-cover.png", url: "https://svrjs.vercel.app/metadata/svrjs-cover.png",
width: 800, width: 800,
height: 600, height: 600,
alt: "SVRJS - A Web Server running on Node.js" alt: "SVR.JS - A Web Server running on Node.js"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "SVRJS - A Web Server running on Node.js", title: "SVR.JS - A Web Server running on Node.js",
description: 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).", "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"], images: ["https://svrjs.vercel.app/metadata/svrjs-cover.png"],

View file

@ -42,7 +42,7 @@ const LoginPage = () => {
return ( return (
<div className="max-w-xl h-screen flex justify-center bg-gray-900 flex-col container"> <div className="max-w-xl h-screen flex justify-center bg-gray-900 flex-col container">
<h1 className="text-3xl font-bold mb-4">SVRJS ADMIN PANEL</h1> <h1 className="text-3xl font-bold mb-4">SVR.JS ADMIN PANEL</h1>
{error && <p className="text-red-500 mb-4">{error}</p>} {error && <p className="text-red-500 mb-4">{error}</p>}
<form onSubmit={handleLogin}> <form onSubmit={handleLogin}>
<div className="mb-4"> <div className="mb-4">

View file

@ -21,8 +21,8 @@ export async function GET() {
const posts = await client.fetch(postsQuery); const posts = await client.fetch(postsQuery);
const feed = new RSS({ const feed = new RSS({
title: "SVRJS Blog", title: "SVR.JS Blog",
description: "Explore the latest blog posts from SVRJS", description: "Explore the latest blog posts from SVR.JS",
feed_url: `${SITE_URL}/rss.xml`, feed_url: `${SITE_URL}/rss.xml`,
site_url: `${SITE_URL}`, site_url: `${SITE_URL}`,
image_url: `${SITE_URL}/metadata/svrjs-cover.png`, image_url: `${SITE_URL}/metadata/svrjs-cover.png`,
@ -38,7 +38,7 @@ export async function GET() {
date: new Date(post._createdAt).toUTCString() date: new Date(post._createdAt).toUTCString()
// uncomment this if u want to // uncomment this if u want to
// enclosure: { url: urlFor(post.titleImage).url() }, // enclosure: { url: urlFor(post.titleImage).url() },
// author: "SVRJS", // author: "SVR.JS",
}); });
}); });

View file

@ -20,14 +20,14 @@ const About = () => {
<h2 className="text-3xl md:text-5xl font-bold"> <h2 className="text-3xl md:text-5xl font-bold">
About{" "} About{" "}
<span className="bg-gradient-to-b from-green-300 to-primary text-transparent bg-clip-text"> <span className="bg-gradient-to-b from-green-300 to-primary text-transparent bg-clip-text">
SVRJS! SVR.JS!
</span> </span>
</h2> </h2>
<p className="text-lg text-muted-foreground mt-4"> <p className="text-lg text-muted-foreground mt-4">
Host a webpage, run server-side JavaScript, use mods to expand Host a webpage, run server-side JavaScript, use mods to expand
server functionality, or use it as a forward or reverse proxy. server functionality, or use it as a forward or reverse proxy.
SVRJS is a web server that runs on top of Node.JS, enabling SVR.JS is a web server that runs on top of Node.JS, enabling
server-side JS on webpages. SVRJS also has an integrated log server-side JS on webpages. SVR.JS also has an integrated log
viewer, log highlighter, and user management tool. viewer, log highlighter, and user management tool.
</p> </p>
</div> </div>

View file

@ -14,7 +14,7 @@ const Faq = () => {
Frequently Asked Question Frequently Asked Question
</h2> </h2>
<p className="text-lg text-muted-foreground text-start mt-4 md:mt-2 mb-8"> <p className="text-lg text-muted-foreground text-start mt-4 md:mt-2 mb-8">
Find answers to common questions about SVRJS Find answers to common questions about SVR.JS
</p> </p>
<Accordion <Accordion
type="single" type="single"

View file

@ -18,7 +18,7 @@ const Partners = () => {
> >
<h2 className="text-3xl md:text-5xl font-bold text-start"> <h2 className="text-3xl md:text-5xl font-bold text-start">
<span className="bg-gradient-to-b from-green-300 to-primary text-transparent bg-clip-text"> <span className="bg-gradient-to-b from-green-300 to-primary text-transparent bg-clip-text">
SVRJS SVR.JS
</span>{" "} </span>{" "}
in action in action
</h2> </h2>

View file

@ -168,7 +168,7 @@ export const FOOTERLINKS = {
}, },
rightsReserved: { rightsReserved: {
href: "https://svrjs.org/", href: "https://svrjs.org/",
label: "SVRJS" label: "SVR.JS"
} }
} }
}; };
@ -218,7 +218,7 @@ export const AdminDashboardLINKS = [
url: "/admin/downloads" url: "/admin/downloads"
}, },
{ {
label: "SVRJS Mods", label: "SVR.JS Mods",
url: "/admin/mods" url: "/admin/mods"
}, },
{ {

View file

@ -1,5 +1,5 @@
--- ---
title: SVRJS File System title: SVR.JS File System
--- ---
### SVR.JS files ### SVR.JS files

View file

@ -2,77 +2,77 @@ import { useRouter } from "next/router";
import Logo from "./components/shared/Logo"; import Logo from "./components/shared/Logo";
export default { export default {
head: ( head: (
<> <>
<meta <meta
name="description" name="description"
content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers." content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers."
/> />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Documentation - SVRJS" /> <meta property="og:title" content="Documentation - SVR.JS" />
<meta <meta
property="og:description" property="og:description"
content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers." content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers."
/> />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="https://svrjs.org" /> <meta property="og:url" content="https://svrjs.org" />
<meta <meta
property="og:image" property="og:image"
content="https://svrjs.vercel.app/metadata/svrjs-cover.png" content="https://svrjs.vercel.app/metadata/svrjs-cover.png"
/> />
<title>Documentation - SVRJS</title> <title>Documentation - SVR.JS</title>
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Documentation - SVRJS" /> <meta name="twitter:title" content="Documentation - SVR.JS" />
<meta <meta
name="twitter:description" name="twitter:description"
content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers." content="The SVR.JS documentation provides comprehensive information and instructions on how to use and configure the SVR.JS web server. This documentation is also a valuable resource for web developers."
/> />
<meta <meta
name="twitter:image" name="twitter:image"
content="https://svrjs.vercel.app/metadata/svrjs-cover.png" content="https://svrjs.vercel.app/metadata/svrjs-cover.png"
/> />
</> </>
), ),
editLink: { editLink: {
component: null, component: null
}, },
feedback: { feedback: {
content: null, content: null
}, },
logo: <Logo width={120} height={40} />, logo: <Logo width={120} height={40} />,
project: { project: {
icon: ( icon: (
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width={25} width={25}
height={25} height={25}
viewBox="0 0 123 123" viewBox="0 0 123 123"
fill="none" fill="none"
> >
<path <path
fill="currentColor" fill="currentColor"
d="M120.208 55.953 66.715 2.463a7.885 7.885 0 0 0-11.158 0l-11.109 11.11 14.088 14.088a9.373 9.373 0 0 1 11.87 11.948l13.578 13.579a9.368 9.368 0 0 1 9.704 2.23 9.386 9.386 0 0 1-6.64 16.025 9.393 9.393 0 0 1-9.21-7.547 9.384 9.384 0 0 1 .526-5.416L65.697 45.817v33.33a9.385 9.385 0 0 1 2.48 15.053 9.386 9.386 0 0 1-15.311-3.046A9.388 9.388 0 0 1 54.9 80.923a9.378 9.378 0 0 1 3.078-2.052V45.235a9.336 9.336 0 0 1-3.078-2.047A9.4 9.4 0 0 1 52.88 32.92l-13.89-13.89L2.311 55.703a7.89 7.89 0 0 0 0 11.16l53.495 53.497a7.895 7.895 0 0 0 11.157 0l53.244-53.245a7.9 7.9 0 0 0 0-11.162Z" d="M120.208 55.953 66.715 2.463a7.885 7.885 0 0 0-11.158 0l-11.109 11.11 14.088 14.088a9.373 9.373 0 0 1 11.87 11.948l13.578 13.579a9.368 9.368 0 0 1 9.704 2.23 9.386 9.386 0 0 1-6.64 16.025 9.393 9.393 0 0 1-9.21-7.547 9.384 9.384 0 0 1 .526-5.416L65.697 45.817v33.33a9.385 9.385 0 0 1 2.48 15.053 9.386 9.386 0 0 1-15.311-3.046A9.388 9.388 0 0 1 54.9 80.923a9.378 9.378 0 0 1 3.078-2.052V45.235a9.336 9.336 0 0 1-3.078-2.047A9.4 9.4 0 0 1 52.88 32.92l-13.89-13.89L2.311 55.703a7.89 7.89 0 0 0 0 11.16l53.495 53.497a7.895 7.895 0 0 0 11.157 0l53.244-53.245a7.9 7.9 0 0 0 0-11.162Z"
/> />
</svg> </svg>
), ),
link: "https://git.svrjs.org", link: "https://git.svrjs.org"
}, },
footer: { footer: {
component: null, component: null
}, },
useNextSeoProps() { useNextSeoProps() {
const { asPath } = useRouter(); const { asPath } = useRouter();
if (asPath !== "/") { if (asPath !== "/") {
return { return {
titleTemplate: "%s SVRJS", titleTemplate: "%s SVR.JS"
}; };
} }
}, },
primaryHue: 136, primaryHue: 136,
primarySaturation: 75, primarySaturation: 75
// banner: { // banner: {
// key: "svrjs", // key: "svrjs",
// text: <a href="https://svrjs.org">🎉 Check out SVRJS Now. Read more →</a>, // text: <a href="https://svrjs.org">🎉 Check out SVR.JS Now. Read more →</a>,
// }, // },
}; };