mirror of https://github.com/aldy505/code.git
28 lines
787 B
JavaScript
28 lines
787 B
JavaScript
// eslint-disable-next-line no-unused-vars
|
|
import {Route} from 'solid-app-router';
|
|
// eslint-disable-next-line no-unused-vars
|
|
import {For} from 'solid-js';
|
|
// eslint-disable-next-line no-unused-vars
|
|
import {MetaProvider, Title, Link, Meta} from 'solid-meta';
|
|
import head from '../config/head.js';
|
|
import '@fontsource/poppins';
|
|
|
|
function Default() {
|
|
return (
|
|
<>
|
|
<MetaProvider>
|
|
<Route />
|
|
<Title>{head.title}</Title>
|
|
<For each={head.link}>{link =>
|
|
<Link rel={link.rel} href={link.href} type={link?.type ?? ''} />
|
|
}</For>
|
|
<For each={head.meta}>{meta =>
|
|
<Meta name={meta?.name ?? ''} property={meta?.property ?? ''} content={meta.content} />
|
|
}</For>
|
|
</MetaProvider>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default Default;
|