import type { JSX } from 'solid-js' import { Header } from '../Nav/Header' import { Footer } from '../Discours/Footer' import '../../styles/app.scss' import { Show } from 'solid-js' import { clsx } from 'clsx' type PageWrapProps = { headerTitle?: string children: JSX.Element isHeaderFixed?: boolean hideFooter?: boolean class?: string } export const PageWrap = (props: PageWrapProps) => { const isHeaderFixed = props.isHeaderFixed === undefined ? true : props.isHeaderFixed return ( <>
{props.children}