Skip to content

Commit 269e34c

Browse files
rakeshkumar1019joeeames
authored andcommitted
fix: footer missing on learn & about layout (nodejs#6949)
1 parent 8e1664f commit 269e34c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

apps/site/layouts/About.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
import WithBreadcrumbs from '@/components/withBreadcrumbs';
4+
import WithFooter from '@/components/withFooter';
45
import WithMetaBar from '@/components/withMetaBar';
56
import WithNavBar from '@/components/withNavBar';
67
import WithSidebar from '@/components/withSidebar';
@@ -21,6 +22,8 @@ const AboutLayout: FC<PropsWithChildren> = ({ children }) => (
2122

2223
<WithBreadcrumbs navKeys={['about', 'getInvolved']} />
2324
</ArticleLayout>
25+
26+
<WithFooter />
2427
</>
2528
);
2629

apps/site/layouts/Learn.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { FC, PropsWithChildren } from 'react';
22

33
import WithBreadcrumbs from '@/components/withBreadcrumbs';
4+
import WithFooter from '@/components/withFooter';
45
import WithMetaBar from '@/components/withMetaBar';
56
import WithNavBar from '@/components/withNavBar';
67
import WithProgressionSidebar from '@/components/withProgressionSidebar';
@@ -26,6 +27,8 @@ const LearnLayout: FC<PropsWithChildren> = ({ children }) => (
2627

2728
<WithBreadcrumbs navKeys={['learn']} />
2829
</ArticleLayout>
30+
31+
<WithFooter />
2932
</>
3033
);
3134

apps/site/layouts/layouts.module.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.baseLayout {
22
@apply grid
3-
size-full
3+
h-max
4+
min-h-full
5+
w-full
46
grid-cols-[1fr]
57
grid-rows-[auto_1fr_auto];
68
}

0 commit comments

Comments
 (0)