'use client'; import { usePathname } from 'next/navigation'; import Link from 'next/link'; const linkCSS = 'hover:underline hover:decoration-red-700 hover:underline-offset-4 text-xs xl:text-base'; const Tooltip = ({ pathname }: { pathname: string }) => { const css = pathname.startsWith('/ews') ? 'group relative inline-block hover:cursor-pointer duration-300 underline decoration-red-700 underline-offset-4 text-xs xl:text-base' : 'group relative inline-block hover:cursor-pointer duration-300 text-xs xl:text-base'; return (
Erdwärmesonden
  • Grundlagenkarte
  • Potenzialberechnung
); }; export default function Navigation() { const pathname = usePathname(); const decoration = 'underline decoration-red-700 underline-offset-4 text-xs xl:text-base'; return (
Home Grundwasserwärmepumpen Daten About
); }