import { render } from "solid-js/web";
import { Router, Route } from "@solidjs/router";
import App from "./App";
import "./styles.css";

const root = document.getElementById("root");

if (root) {
  render(
    () => (
      <Router>
        <Route path="/" component={App} />
        <Route path="/*" component={App} />
      </Router>
    ),
    root,
  );
}
