'use client' import { useRouter } from 'next/navigation' import { ReactNode } from 'react' import styles from './styles.module.scss' type ParishProps = { href: string ariaLabel: string transform: string children: ReactNode } const Parish = ({ href, ariaLabel, transform, children }: ParishProps) => { const router = useRouter() const navigate = () => router.push(href) return ( { if (e.key === 'Enter' || e.key === ' ') { e.preventDefault() navigate() } }} > {children} ) } export const ChemnitzMap = () => (
) export default ChemnitzMap