fix config loading
All checks were successful
Publish Docker Image / docker (push) Successful in 2m2s

This commit is contained in:
Lee
2023-07-13 10:39:37 +01:00
parent 5336a89dcc
commit 6ad1b6b85d
6 changed files with 25 additions and 21 deletions

View File

@ -1,12 +1,14 @@
import { Config } from "@/src/types/config";
import { library } from "@fortawesome/fontawesome-svg-core";
import { fab } from "@fortawesome/free-brands-svg-icons";
import { far } from "@fortawesome/free-regular-svg-icons";
import { fas } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import Image from "next/image";
import Config from "../../config.yml";
import Avatar from "./components/Avatar";
const Config: Config = require("../../config.yml") as any;
library.add(fab, far, fas); // Loading in the icons from FontAwesome
export default function Home() {