diff --git a/fwt/components/HTML/HTML.tsx b/fwt/components/HTML/HTML.tsx index ccee123..e83d582 100644 --- a/fwt/components/HTML/HTML.tsx +++ b/fwt/components/HTML/HTML.tsx @@ -1,5 +1,7 @@ import './HTML.sass' import { type JSXElement, Show } from 'solid-js' +import background1 from '../../images/background.avif' +import background2 from '../../images/background.webp' interface Props { title: string @@ -7,6 +9,7 @@ interface Props { description: string children: JSXElement font?: 'roboto' | 'inter' | 'montserrat' | 'open-sans' | 'public-sans' + preloadBackground?: boolean } export default (props: Props) => { @@ -23,13 +26,16 @@ export default (props: Props) => { - + + + + + {props.title} {props.children} - s ) }