- add global and cached global fetch utility - add , , and components driven by global settings - wire global registration in Payload config - enable Payload admin i18n with Portuguese () language pack - translate frontend metadata/homepage/custom route copy to pt-BR - translate collection/global labels, descriptions, and validation messages - improve social-link a11y with Portuguese fallback labels and external-link icon - update francisco.solla and admin labels/groups for Portuguese UX - regenerate for new global/schema changes
23 lines
544 B
TypeScript
23 lines
544 B
TypeScript
import { Footer } from '@/components/Footer'
|
|
import { Header } from '@/components/Header'
|
|
import React from 'react'
|
|
import './styles.css'
|
|
|
|
export const metadata = {
|
|
description: 'Um template base usando Payload em uma aplicação Next.js.',
|
|
title: 'Template Base do Payload',
|
|
}
|
|
|
|
export default async function RootLayout(props: { children: React.ReactNode }) {
|
|
const { children } = props
|
|
|
|
return (
|
|
<html lang="pt-BR">
|
|
<body>
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|