Skip to content

Commit d8f851d

Browse files
fix: footer missing on learn & about layout (#6949)
1 parent 0b3e391 commit d8f851d

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

apps/site/layouts/About.tsx

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 1 deletion
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)