feat: changelog como página própria, versão 1.7.1

- Remove aba Changelog de Ajustes; cria página em /changelog
- Adiciona link para /changelog no menu do usuário com versão ao lado
- Data do changelog formatada como dd/mm/aaaa
- Limpa formatação ** do CHANGELOG.md
- Bump de versão para 1.7.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-02-24 16:07:34 +00:00
parent 1b90be6b54
commit 9cb6593186
7 changed files with 63 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
import { RiHistoryLine } from "@remixicon/react";
import PageDescription from "@/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>
);
}

View File

@@ -0,0 +1,12 @@
import { ChangelogTab } from "@/components/ajustes/changelog-tab";
import { parseChangelog } from "@/lib/changelog/parse-changelog";
export default function ChangelogPage() {
const versions = parseChangelog();
return (
<div className="w-full">
<ChangelogTab versions={versions} />
</div>
);
}