added multi language features

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-31 19:45:21 +05:00
parent 4f3d73443f
commit 291375ce02
19 changed files with 728 additions and 246 deletions

View File

@@ -1,4 +1,8 @@
import { useTranslations } from 'next-intl';
const Footer = () => {
const t = useTranslations('Footer');
// const shortLinks = [
// { name: 'About', href: '/about' },
// { name: 'Contact', href: '/contact' },
@@ -7,13 +11,10 @@ const Footer = () => {
<section className="py-10">
<div className="custom-container">
<div className=" flex flex-col justify-between gap-4 border-t pt-8 text-center text-sm font-medium text-muted-foreground lg:flex-row lg:items-center lg:text-left">
<p>
© {new Date().getFullYear()} Felix IT Solutions. All rights
reserved.
</p>
<p>{t('copyright', { year: new Date().getFullYear() })}</p>
<ul className="flex justify-center gap-4 lg:justify-start">
<li className="hover:text-primary">
<a href="#">Terms and Conditions</a>
<a href="#">{t('terms')}</a>
</li>
</ul>
</div>