mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
Its layout returns on one line, so the edit that placed <Footer /> before the closing tag in nineteen apps found nothing to match here and left the import standing on its own. The build stayed green — an unused import is not an error — and the site came out with no footer at all. All twenty apps now build and each renders exactly one. Co-authored-by: Hanzo Dev <[email protected]>
15 lines
446 B
TypeScript
15 lines
446 B
TypeScript
import type { ReactNode } from 'react';
|
|
import { HomeLayout } from '@hanzo/docs-base-ui/layouts/home';
|
|
import { baseOptions } from '@/lib/layout.shared';
|
|
import { linkItems } from '@/lib/layout.shared';
|
|
import { Footer } from '@/components/footer';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<HomeLayout {...baseOptions()} links={linkItems}>
|
|
{children}
|
|
<Footer />
|
|
</HomeLayout>
|
|
);
|
|
}
|