feat: sessão #3 — lib (db/auth/email/validations), API routes, NextAuth v5, middleware, páginas account/shelters/shelter-dashboard, Prisma v7 fix

This commit is contained in:
2026-05-21 09:01:59 +01:00
parent e6ebc0909c
commit e62dc9d6e6
44 changed files with 5341 additions and 273 deletions

12
app/main/layout.tsx Normal file
View File

@@ -0,0 +1,12 @@
import Header from '@/components/layout/Header';
import Footer from '@/components/layout/Footer';
export default function MainLayout({ children }: { children: React.ReactNode }) {
return (
<>
<Header />
<main style={{ flex: 1, minHeight: '60vh' }}>{children}</main>
<Footer />
</>
);
}