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