import { useRoutes } from 'solid-app-router';
// eslint-disable-next-line no-unused-vars
import { For, lazy } 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';
const route = [
{
path: '/',
component: () => lazy(() => import('../pages/index.jsx')),
},
{
path: '/projects',
component: () => lazy(() => import('../pages/projects.jsx')),
},
{
path: '*all',
component: () => lazy(() => import('../pages/index.jsx')),
},
];
// eslint-disable-next-line no-unused-vars
const Routes = useRoutes(route);
function Default() {
return (
<>