Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
533 B
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

import {DocsShell} from '../../components/DocsShell';
import {SiteFooter} from '../../components/SiteFooter';
import {getCopyrightYear} from '../../lib/copyrightYear';
import {getDocsNav} from '../../components/docsNav';

export default async function DocsLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  const year = await getCopyrightYear();

  return (
    <DocsShell nav={getDocsNav()}>
      {children}
      <SiteFooter year={year} />
    </DocsShell>
  );
}