From ae970682c5a1ec54efda5a79c6be8a7db53e45a4 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Thu, 4 Sep 2025 13:11:50 +0800 Subject: [PATCH] Updated fwt --- fwt/components/HTML/HTML.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 ) }