-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathLearn.tsx
More file actions
36 lines (26 loc) · 925 Bytes
/
Learn.tsx
File metadata and controls
36 lines (26 loc) · 925 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
34
35
36
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 WithSidebarCrossLinks from '#site/components/withSidebarCrossLinks';
import type { FC, PropsWithChildren } from 'react';
const LearnLayout: FC<PropsWithChildren> = ({ children }) => (
<>
<WithNavBar />
<Article>
<WithSideBar navKeys={['learn']} />
<div>
<main id="main" tabIndex={-1}>
{children}
<WithSidebarCrossLinks navKey="learn" />
</main>
<WithMetaBar />
</div>
<WithBreadcrumbs navKeys={['learn']} />
</Article>
<WithFooter />
</>
);
export default LearnLayout;