'use client' import React from 'react' import Link from 'next/link' import Logo from '/public/images/logo.png' import Image from 'next/image' import { useTranslation } from 'next-i18next' import { changeLanguage } from '../../utils/commonFunction.utils' import { useRouter } from 'next/router' const HeaderTopbar = () => { const { t } = useTranslation('common') const router = useRouter() const handleLanguageChange = () => { changeLanguage(router, 'es'); // always switch to Spanish }; return ( <>
Haz clic en el botón para cambiar a español.
logo
{t('callUs')}

+1 (305) 330-7413

{t('emailNow')}

info@janahanlaw.com

{t('contactUs')}
) } export default HeaderTopbar