Updated
This commit is contained in:
parent
afb5f3a287
commit
db3736b71f
16 changed files with 203 additions and 181 deletions
|
|
@ -2,6 +2,7 @@ import '../styles/HTML.sass'
|
|||
import { type JSXElement, Show } from 'solid-js'
|
||||
import background1 from '../images/background.avif'
|
||||
import background2 from '../images/background.webp'
|
||||
import { $fontSource } from '../../../configs/config.site'
|
||||
|
||||
interface Props {
|
||||
name: string
|
||||
|
|
@ -30,7 +31,7 @@ export default (props: Props) => {
|
|||
<meta property="og:description" content={props.description} />
|
||||
<meta property="og:type" content="website" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
||||
<Show when={props.font}>
|
||||
<Show when={$fontSource.get() === 'cdn'}>
|
||||
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
|
||||
</Show>
|
||||
<Show when={props.preloadBackground}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue