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 PlausibleProvider from "next-plausible"; import Image from "next/image"; import Config from "../../config.json"; library.add(fab, far, fas); export default function Home() { const { background, infoCard, avatar, name, links, options, description, analytics, } = Config; return ( <> {analytics.plausable.enabled && ( )}
Avatar

{name}

{description}

{links.map((link, index) => { const icons: any = link.icon?.split(" "); return (
{link.icon && ( <>
)}

{link.title}

); })}
{options.showSourceLink && (

Website Source

)}
); }