27 lines
689 B
TypeScript
27 lines
689 B
TypeScript
'use client';
|
|
|
|
interface FooterProps {
|
|
t?: {
|
|
footer?: {
|
|
copyright?: string;
|
|
};
|
|
};
|
|
}
|
|
|
|
export default function Footer({ t }: FooterProps) {
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
return (
|
|
<footer
|
|
className="relative z-10 mt-32 border-t border-gray-800 py-12 px-6"
|
|
data-oid="al6uzt3"
|
|
>
|
|
<div className="max-w-7xl mx-auto text-center" data-oid="saeifet">
|
|
<div className="text-gray-400" data-oid="s.ov0s8">
|
|
{t?.footer?.copyright || `© ${currentYear} CloudProxy. All rights reserved.`}
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|