The Node.js® Website
1import type { FC, PropsWithChildren } from 'react';
2
3import WithBreadcrumbs from '@/components/withBreadcrumbs';
4import WithMetaBar from '@/components/withMetaBar';
5import WithNavBar from '@/components/withNavBar';
6import WithSidebar from '@/components/withSidebar';
7import ArticleLayout from '@/layouts/Article';
8
9const AboutLayout: FC<PropsWithChildren> = ({ children }) => (
10 <>
11 <WithNavBar />
12
13 <ArticleLayout>
14 <WithSidebar navKeys={['about', 'getInvolved']} />
15
16 <main>{children}</main>
17
18 <WithMetaBar />
19
20 <WithBreadcrumbs />
21 </ArticleLayout>
22 </>
23);
24
25export default AboutLayout;