import Link from "next/link"; import logoWhite2 from "../../../public/assets/imgs/logo/site-logo-white-2.png"; import logoBlack from "../../../public/assets/imgs/logo/logo-black.png"; import Image from "next/image"; import { useEffect, useRef } from "react"; export default function Footer4() { const menuAnim = useRef(); useEffect(() => { if (menuAnim.current) { menuAnimation(); } }, []); const menuAnimation = () => { let rootParent = menuAnim.current.children; for (let i = 0; i < rootParent.length; i++) { let firstParent = rootParent[i].children; let arr = firstParent[0].textContent.split("") let spanData = '' for (let j = 0; j < arr.length; j++) { if(arr[j] == ' ') { spanData += `${arr[j]}`; } else { spanData += `${arr[j]}`; } } let result = ''; firstParent[0].innerHTML = result } }; return ( <> ); }