import { useEffect, useState } from "react"; import { motion } from "framer-motion"; const hexagons = [ "Qui som", "Serveis", "Projectes", "Clients", "Blog", "Contacte", "Carreres", "Idioma", ]; export default function SysbalearLanding() { const [windowWidth, setWindowWidth] = useState(0); useEffect(() => { setWindowWidth(window.innerWidth); const handleResize = () => setWindowWidth(window.innerWidth); window.addEventListener("resize", handleResize); return () => window.removeEventListener("resize", handleResize); }, []); const isMobile = windowWidth < 768; return (
{/* Background effects here - optional: particles or circuit lines */}
{/* Central hexagon with logo */}
Sysbalear Logo
{/* Hexagons around */}
{hexagons.map((label, i) => ( {label} ))}
); }