import { useEffect } from "react"; import Logo from "../../components/logo"; import { Gradient } from "./loader-gradient.js"; import styles from "./loader.module.css"; export default function Loader() { useEffect(() => { const gradient = new Gradient(); // @ts-ignore gradient.initGradient(`#${styles.gradientCanvas}`); }, []); return (