mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 20:33:11 +00:00
- Add Post + Tag collections (notícias/publicações) with tag-based "Esconder" visibility control for electoral-law compliance - Add static SEO routes /[type]/[category]/[slug] plus /[type] and /[type]/[category] listings, with shared header/breadcrumb and PostCard - Recreate the homepage and refresh the site color palette (styles.css) - Add posts/slug/seo utilities and revalidation wiring (documents.ts) - Add live-fetch seed script (scripts/seed-posts.mjs + seed-loader.mjs, db:seed:posts) - Upgrade Payload 3.79.0 -> 3.82.0 (fixes admin relationship-filter crash) - Remove obsolete Header component; add shadcn card/badge/breadcrumb; update AGENTS.md and components rule docs
19 lines
613 B
TypeScript
19 lines
613 B
TypeScript
import { Footer } from '@/components/Footer'
|
|
import { SiteHeader } from '@/components/SiteHeader'
|
|
import React from 'react'
|
|
import '../styles.css'
|
|
|
|
export default async function RootLayout(props: { children: React.ReactNode }) {
|
|
const { children } = props
|
|
|
|
// The root `(frontend)` layout locks the document with `overflow-hidden`, so
|
|
// the home route owns an internal scroll container. `relative` anchors the
|
|
// overlay header over the hero.
|
|
return (
|
|
<div className="relative h-dvh w-full overflow-y-auto">
|
|
<SiteHeader variant="overlay" />
|
|
{children}
|
|
<Footer />
|
|
</div>
|
|
)
|
|
}
|