mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
14 lines
415 B
TypeScript
14 lines
415 B
TypeScript
import { Footer } from '@/components/Footer';
|
|
import { getInitialSiteDataForSSR } from '@/lib/sanity/sanity-server';
|
|
import type { ReactNode } from 'react';
|
|
|
|
export default async function UniversalPageLayout({ children }: { children: ReactNode }) {
|
|
const { settings } = await getInitialSiteDataForSSR();
|
|
return (
|
|
<>
|
|
{children}
|
|
<Footer className="max-w-screen-md" {...settings} />
|
|
</>
|
|
);
|
|
}
|