Files
pulse/app/layout-content.tsx
2026-01-21 12:16:49 +00:00

29 lines
619 B
TypeScript

'use client'
import { Header } from '@ciphera-net/ui'
import { Footer } from '@/components/Footer'
import { useAuth } from '@/lib/auth/context'
import Link from 'next/link'
export default function LayoutContent({ children }: { children: React.ReactNode }) {
const auth = useAuth()
return (
<>
<Header
auth={auth}
LinkComponent={Link}
logoSrc="/ciphera_icon_no_margins.png"
appName="Pulse"
/>
<main className="flex-1 pt-24 pb-8">
{children}
</main>
<Footer
LinkComponent={Link}
appName="Pulse"
/>
</>
)
}