mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-06-10 07:16:01 +00:00
feat: move o changelog para uma rota dedicada
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
import { RiHistoryLine } from "@remixicon/react";
|
||||
import PageDescription from "@/shared/components/page-description";
|
||||
|
||||
export const metadata = {
|
||||
title: "Cartões | OpenMonetis",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<section className="space-y-6 pt-4">
|
||||
<PageDescription
|
||||
icon={<RiHistoryLine />}
|
||||
title="Changelog"
|
||||
subtitle="Acompanhe todas as alterações feitas na plataforma."
|
||||
/>
|
||||
{children}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
import { ChangelogTab } from "@/features/settings/components/changelog-tab";
|
||||
import { parseChangelog } from "@/features/settings/lib/parse-changelog";
|
||||
|
||||
export default function ChangelogPage() {
|
||||
const versions = parseChangelog();
|
||||
|
||||
return (
|
||||
<div className="w-full">
|
||||
<ChangelogTab versions={versions} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user