import { createPinia } from "pinia";
import { createApp } from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import axios from "axios";
import VueAxios from "vue-axios";

import "./assets/styles/tailwind.css";

import { library } from "@fortawesome/fontawesome-svg-core";
import {
  faBurst,
  faCalendar,
  faChevronLeft,
  faCircle,
  faCircleCheck,
  faCircleQuestion,
  faCircleUser,
  faClock,
  faCoins,
  faCopy,
  faEllipsisVertical,
  faEye,
  faEyeSlash,
  faFileLines,
  faFloppyDisk,
  faFolderOpen,
  faGift,
  faHand,
  faHouseChimney,
  faLongArrowAltLeft,
  faLongArrowAltRight,
  faMagnifyingGlass,
  faPen,
  faPersonCircleCheck,
  faPersonCircleQuestion,
  faPlus,
  faQrcode,
  faRotate,
  faShareNodes,
  faSpinner,
  faSquareCaretDown,
  faSquareCaretUp,
  faTrashCan,
  faUser,
  faUsers,
  faXmark,
} from "@fortawesome/free-solid-svg-icons";

library.add(
  faBurst,
  faCalendar,
  faChevronLeft,
  faCircle,
  faCircleCheck,
  faCircleQuestion,
  faCircleUser,
  faClock,
  faCoins,
  faCopy,
  faEllipsisVertical,
  faEye,
  faEyeSlash,
  faFileLines,
  faFloppyDisk,
  faFolderOpen,
  faGift,
  faHand,
  faHouseChimney,
  faLongArrowAltLeft,
  faLongArrowAltRight,
  faMagnifyingGlass,
  faPen,
  faPersonCircleCheck,
  faPersonCircleQuestion,
  faPlus,
  faQrcode,
  faRotate,
  faShareNodes,
  faSpinner,
  faSquareCaretDown,
  faSquareCaretUp,
  faTrashCan,
  faUser,
  faUsers,
  faXmark
);

import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";

createApp(App)
  .component("fa", FontAwesomeIcon)
  .use(createPinia())
  .use(VueAxios, axios)
  .use(router)
  .mount("#app");
