forked from git.gladyson/openmonetis
feat(inbox): adiciona layout com título e descrição da página
- Adiciona componente PageDescription com ícone e subtítulo - Define metadata com título para SEO
This commit is contained in:
23
app/(dashboard)/caixa-de-entrada/layout.tsx
Normal file
23
app/(dashboard)/caixa-de-entrada/layout.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import PageDescription from "@/components/page-description";
|
||||
import { RiInbox2Line } from "@remixicon/react";
|
||||
|
||||
export const metadata = {
|
||||
title: "Caixa de Entrada | Opensheets",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<section className="space-y-6 px-6">
|
||||
<PageDescription
|
||||
icon={<RiInbox2Line />}
|
||||
title="Caixa de Entrada"
|
||||
subtitle="Visialize seus lançamentos pendentes"
|
||||
/>
|
||||
{children}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user