import React, { useState, useEffect } from 'react'; import { Head, Link, usePage } from '@inertiajs/react'; import { navToggle } from '@vendor-web/js/components/header.js' import { matchMedia, wheelController } from '@vendor-web/js/extends.js' // import logo from '@vendor-web/images/logo-fullText-white.svg'; // import '@vendor-web/css/components/header.css'; function Header() { const [navOpen, setNavOpen] = useState(false); useEffect(() => { import('@vendor-web/js/global.js') const cleanupNavToggle = navToggle(); const cleanupMatchMedia = matchMedia(); const cleanupWheel = wheelController(); return () => { if (typeof cleanupNavToggle === 'function') cleanupNavToggle(); if (typeof cleanupMatchMedia === 'function') cleanupMatchMedia(); if (typeof cleanupWheel === 'function') cleanupWheel(); }; }, []); return (
{/*
*/}
{/* e.preventDefault()}> */}

AI for All, All in AI

); } export default Header;