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

Add footer component to MainLayout #656

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Changes from all 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
4 changes: 3 additions & 1 deletion explorer/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client'

import Footer from '@/components/layout/Footer'
import { CookieBanner } from 'components/common/CookieBanner'
import { ErrorFallback } from 'components/common/ErrorFallback'
import { Container } from 'components/layout/Container'
Expand All @@ -22,7 +23,7 @@ export const MainLayout: FC<Props> = ({ children, subHeader }) => {
}, [pathname])

return (
<div className="relative flex min-h-screen w-full flex-col bg-gradient-to-b from-bronze to-purpleMist font-['Montserrat'] dark:bg-dark">
<div className="from-bronze to-purpleMist relative flex min-h-screen w-full flex-col bg-gradient-to-b font-['Montserrat'] dark:bg-dark">
<div className="relative flex min-h-screen w-full flex-col bg-[url('/images/backgroundColor.svg')] bg-cover font-['Montserrat']">
<DomainHeader />
{subHeader}
Expand All @@ -34,6 +35,7 @@ export const MainLayout: FC<Props> = ({ children, subHeader }) => {
>
<Container>{children}</Container>
</ErrorBoundary>
<Footer />
<div className='sticky bottom-0 w-full'>
<CookieBanner />
</div>
Expand Down
Loading