import { asset, Head } from "$fresh/runtime.ts";
import { PageProps } from "$fresh/server.ts";
import Modal from "../islands/Modal.tsx";

export default function App({ Component }: PageProps) {
  return (
    <>
      <Head>
        <link href={asset("/global.css")} rel="stylesheet" />
        <link
          href="https://unpkg.com/bootstrap-icons@1.10.4/font/bootstrap-icons.css"
          rel="stylesheet"
        />
      </Head>
      <Modal />
      <Component />
    </>
  );
}
