%PDF- %PDF-
| Direktori : /home2/rezakur1/www/portfolio/portfolio-rezakurnia/src/components/shared/ |
| Current File : //home2/rezakur1/www/portfolio/portfolio-rezakurnia/src/components/shared/Navitem.astro |
---
export interface Props{
href:string,
text:string,
i18nKey?: string,
}
const {href, text, i18nKey} = Astro.props
---
<li>
<a href={href} class="duration-300 font-medium ease-linear hover:text-primary py-3">
{i18nKey ? <span data-i18n={i18nKey}>{text}</span> : text}
</a>
</li>