fix: adjust the change log page and link for it in the footer

This commit is contained in:
Dorian Niemiec 2024-09-07 11:54:47 +02:00
parent 306d73cf76
commit adea55556e
3 changed files with 8 additions and 8 deletions

View file

@ -2,11 +2,11 @@ import { Metadata } from "next";
// baseURL [ENV] // baseURL [ENV]
export const metadata: Metadata = { export const metadata: Metadata = {
title: "ChangeLogs - SVR.JS", title: "SVR.JS change log - 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 - SVR.JS", title: "SVR.JS change log - 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 - SVR.JS" alt: "SVR.JS change log - SVR.JS"
} }
] ]
}, },
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
site: "@SVR_JS", site: "@SVR_JS",
title: "ChangeLogs - SVR.JS", title: "SVR.JS change log - 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 - SVR.JS</title> <title>SVR.JS change log - 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">
@ -80,10 +80,10 @@ const LogsPage: React.FC = () => {
className="wrapper container py-24 md:py-28 gap-2 flex flex-col" 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"> <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">
Server LOGS SVR.JS change log
</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 SVR.JS download and compiled Files here! See the changes done to SVR.JS web server.
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}

View file

@ -146,7 +146,7 @@ export const FOOTERLINKS = {
{ href: "/docs", label: "Docs" }, { href: "/docs", label: "Docs" },
{ href: "/downloads", label: "Downloads" }, { href: "/downloads", label: "Downloads" },
{ href: "/mods", label: "SVR.JS Mods" }, { href: "/mods", label: "SVR.JS Mods" },
{ href: "/changelogs", label: "Change Logs" } { href: "/changelogs", label: "Change log" }
], ],
additional: [ additional: [
{ href: "/contribute", label: "Contribute" }, { href: "/contribute", label: "Contribute" },