-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathAbout.tsx
More file actions
33 lines (24 loc) · 827 Bytes
/
About.tsx
File metadata and controls
33 lines (24 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import Article from '@node-core/ui-components/Containers/Article';
import WithBreadcrumbs from '#site/components/withBreadcrumbs';
import WithFooter from '#site/components/withFooter';
import WithMetaBar from '#site/components/withMetaBar';
import WithNavBar from '#site/components/withNavBar';
import WithSidebar from '#site/components/withSidebar';
import type { FC, PropsWithChildren } from 'react';
const AboutLayout: FC<PropsWithChildren> = ({ children }) => (
<>
<WithNavBar />
<Article>
<WithSidebar navKeys={['about', 'getInvolved']} />
<div>
<main id="main" tabIndex={-1}>
{children}
</main>
<WithMetaBar />
</div>
<WithBreadcrumbs navKeys={['about', 'getInvolved']} />
</Article>
<WithFooter />
</>
);
export default AboutLayout;