import { asset, Head } from "fresh/runtime";
import type { PageProps } from "fresh";
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 />
    </>
  );
}
