Refactor release notes page and update dependencies

This commit is contained in:
mauro-balades
2024-09-10 22:43:14 +02:00
parent 0f442277ed
commit 1c5e3269ac
2 changed files with 10 additions and 6 deletions

View File

@@ -1,16 +1,19 @@
"use client";
import Footer from "@/components/footer";
import { Navigation } from "@/components/navigation";
import ReleaseNoteElement from "@/components/release-note";
import { releaseNoteIsAlpha, releaseNotes } from "@/lib/release-notes";
import Link from "next/link";
import { releaseNotes } from "@/lib/release-notes";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "Release Notes",
description: "Stay up to date with the latest changes to Zen Browser",
keywords: ["Zen", "Browser", "Zen Browser", "Web", "Internet", "Fast", "Release", "Notes"],
};
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 lg:w-4/5 xl:w-3/5">
<h1 className="text-4xl font-bold mt-36">Release Notes</h1>
<h1 className="text-4xl font-bold mt-48">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>

View File

@@ -1,3 +1,4 @@
"use client";
import { ReleaseNote, releaseNotes } from "@/lib/release-notes";
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { CheckCheckIcon, StarIcon } from "lucide-react";