added multi language features
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user