import * as React from "react"; import { createElement } from "react"; import Head from "next/head"; import dynamic from "next/dynamic"; import fs from "fs"; import { Parser } from "html-to-react"; import Meta from "~/components/Meta"; import Loading from "~/components/Loading"; const LookingGlass = dynamic(() => import("~/components/LookingGlass"), { loading: Loading }); const Index = ({ faviconComponents }) => { return ( <>
{faviconComponents.map((comp, i) => createElement(comp.type, { key: i, ...comp.props }) )}