feat: Add moment dependency and update release notes page

This commit adds the moment dependency to the project by updating the package-lock.json and package.json files. It also updates the release notes page by modifying the layout and adding a paragraph to thank users for their feedback.
This commit is contained in:
mauro-balades
2024-09-10 22:41:28 +02:00
parent 2434a88551
commit 0f442277ed
5 changed files with 108 additions and 74 deletions

View File

@@ -51,7 +51,7 @@
}
[data-theme='dark'], .dark {
--background: 0 0% 0%;
--background: 5 5 5;
--foreground: 0 0% 98%;
--surface: rgb(23, 23, 23);

View File

@@ -9,8 +9,11 @@ import Link from "next/link";
export default function ReleaseNotes() {
return (
<main className="flex min-h-screen flex-col items-center justify-start">
<div className="min-h-screen py-42 flex justify-center flex-col px-10 lg:px-0 md:w-2/3 lg:w-1/2">
<h1 className="text-4xl text-center font-bold mt-24">Release Notes</h1>
<div className="min-h-screen py-42 flex justify-center flex-col px-10 lg:px-0 lg:w-4/5 xl:w-3/5">
<h1 className="text-4xl font-bold mt-36">Release Notes</h1>
<p className="mt-8 text-lg text-muted-foreground">
Stay up to date with the latest changes to Zen Browser! Since the <a className="text-blue-500" href="#1.0.0-a.1">first release</a> till <a className="text-blue-500" href={`/release-notes/${releaseNotes[0].version}`}>{releaseNotes[0].version}</a>, we've been working hard to make Zen Browser the best it can be.<br /><br /> Thanks everyone for your feedback!
</p>
{releaseNotes.map((releaseNote) => (
<ReleaseNoteElement key={releaseNote.version} data={releaseNote} />
))}