From fa47ea784335cd2c74404ff46f7a69ba9c27686a Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Thu, 29 Sep 2022 13:15:59 +0200 Subject: [PATCH 1/2] footer style fix --- src/components/Layouts/MainLayout.tsx | 10 +++++++--- src/components/Pages/FourOuFourPage.tsx | 2 +- src/styles/FourOuFour.module.scss | 4 ---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Layouts/MainLayout.tsx b/src/components/Layouts/MainLayout.tsx index 355e5a19..e448f3eb 100644 --- a/src/components/Layouts/MainLayout.tsx +++ b/src/components/Layouts/MainLayout.tsx @@ -3,21 +3,25 @@ import { Header } from '../Nav/Header' import { Footer } from '../Discours/Footer' import '../../styles/app.scss' +import { Show } from 'solid-js' -type Props = { +type MainLayoutProps = { headerTitle?: string children: JSX.Element isHeaderFixed?: boolean + hideFooter?: boolean } -export const MainLayout = (props: Props) => { +export const MainLayout = (props: MainLayoutProps) => { const isHeaderFixed = props.isHeaderFixed !== undefined ? props.isHeaderFixed : true return ( <>
{props.children}
-