'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 (