import '../styles/HTML.sass' import * as fs from "fs"; import * as toml from 'toml'; import { type JSXElement, Show } from 'solid-js' import background1 from '../images/background.avif' import background2 from '../images/background.webp' interface Props { title: string children: JSXElement font?: 'roboto' | 'inter' | 'montserrat' | 'open-sans' | 'public-sans' preloadBackground?: boolean } export default (props: Props) => { const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8')) return ( <>