import { Badge } from "@/components/ui/badge"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion" import { useTranslations } from "next-intl"; interface item { version: string; date: string; changes: { name: string; tag?: string }[]; } const ChangeLogPage = () => { const t = useTranslations("Changelog") const items: item[] = [ { version: "Version 2.0.1", date: "1 February 2023", changes: [ { name: "Monochrome mode", tag: "added", }, { name: "Axios configuration", tag: "fixed", }, { name: "Other minor issues", tag: "fixed", } ] }, { version: "Version 2.0.0", date: "24 January 2023", changes: [ { name: "Change log page added.", tag: "added", }, { name: "Badge added in sidebar.", tag: "added", }, { name: "Vuex replaced with pinia", tag: "update", }, { name: "Webpack replaced with Vite.", tag: "update", }, { name: "Other minor issues", tag: "fixed", } ] }, { version: "Version 1.0.1 ", date: "3 January 2023", changes: [ { name: "RTL version added.", tag: "added", }, { name: "Sidebar updated.", tag: "update", }, { name: "Other minor issues", tag: "fixed", } ] }, { version: "Version 1.0.0 ", date: "29 December 2022", changes: [ { name: "Initial Release", } ] } ]; return (