gate +18 con cookie de 1 dia (web + links page)
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import Link from "next/link"
|
||||
import { Image, Search } from "lucide-react"
|
||||
import { SITE_NAME, SITE_TAGLINE, SITE_LINKS } from "@/lib/site"
|
||||
import { AgeGate } from "@/components/age-gate"
|
||||
|
||||
// Header del sitio público: búsqueda pública (SQLite) + logo.
|
||||
export default function PublicLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<>
|
||||
{/* Gate +18 con persistencia de 1 día */}
|
||||
<AgeGate />
|
||||
<header className="sticky top-0 z-40 border-b border-[var(--border)] bg-[var(--background)]/85 backdrop-blur-md">
|
||||
<div className="mx-auto flex h-14 max-w-5xl items-center justify-between px-3 sm:px-4">
|
||||
<Link href="/" className="flex items-center gap-2.5">
|
||||
|
||||
Reference in New Issue
Block a user