Skip to content

Commit

Permalink
fix: footer missing on learn & about layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Jul 26, 2024
1 parent b74fef4 commit 78c7b34
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions apps/site/layouts/About.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { FC, PropsWithChildren } from 'react';

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

<WithBreadcrumbs navKeys={['about', 'getInvolved']} />
</ArticleLayout>

<WithFooter />
</>
);

Expand Down
3 changes: 3 additions & 0 deletions apps/site/layouts/Learn.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { FC, PropsWithChildren } from 'react';

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

<WithBreadcrumbs navKeys={['learn']} />
</ArticleLayout>

<WithFooter />
</>
);

Expand Down
4 changes: 3 additions & 1 deletion apps/site/layouts/layouts.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.baseLayout {
@apply grid
size-full
h-max
min-h-full
w-full
grid-cols-[1fr]
grid-rows-[auto_1fr_auto];
}
Expand Down

0 comments on commit 78c7b34

Please sign in to comment.