Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Footer added #6830

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions components/Containers/Footer/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
@apply flex
flex-col
items-center
gap-6
border-t
border-neutral-200
bg-white
py-4

dark:border-neutral-900
dark:bg-neutral-950
sm:gap-0
sm:px-8
sm:py-0
md:flex-row
md:justify-between
md:gap-6
md:py-5;

.sectionPrimary {
Expand All @@ -20,8 +22,9 @@
content-start
items-center
justify-center
gap-1
self-stretch;
self-stretch
sm:gap-0
md:gap-1;

a {
@apply whitespace-nowrap;
Expand All @@ -32,13 +35,15 @@
@apply flex
flex-col
items-center
gap-1
md:flex-row;
sm:gap-0
md:flex-row
md:gap-1;

.social {
@apply flex
items-center
gap-1;
sm:gap-0
md:gap-1;
}
}
}
2 changes: 2 additions & 0 deletions 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,7 @@ const AboutLayout: FC<PropsWithChildren> = ({ children }) => (

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

Expand Down
2 changes: 2 additions & 0 deletions 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,7 @@ const LearnLayout: FC<PropsWithChildren> = ({ children }) => (

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

Expand Down