diff --git a/src/Components/Nav/Footer.jsx b/src/Components/Nav/Footer.jsx index 73f3ae0..c4a617c 100644 --- a/src/Components/Nav/Footer.jsx +++ b/src/Components/Nav/Footer.jsx @@ -1,13 +1,19 @@ import React from "react"; +import { useTranslation } from "react-i18next"; -const Footer = () => ( - -); +const Footer = () => { + const { t } = useTranslation(); + const currentYear = new Date().getFullYear(); + + return ( + + ); +}; export default Footer; \ No newline at end of file diff --git a/src/i18n.js b/src/i18n.js index 1d4b5f3..c9a52b9 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -85,7 +85,7 @@ const resources = { addressText: "Headquarters: Syria - Damascus - Baramkeh\nFlexible Offices: Homs - Fairouzeh, Aleppo - Industrial Zone, Tartous - Dubai Street\nWork Areas: Ready to implement works in all Syrian governorates", phone: "Phone Numbers", email: "Email", - formTitle: "Contact us and start your international trade journey with confidence", + formTitle: "From vision to execution... a partnership that creates successful projects. One message could be the turning point in executing your project successfully.", name: "Name", namePlaceholder: "Enter your name", emailPlaceholder: "example@example.com", @@ -129,6 +129,10 @@ const resources = { } } }, + + footer: { + copyright: "© {{year}} REXNT - All rights reserved" + } } }, ar: { @@ -213,7 +217,7 @@ const resources = { addressText: "المقر الرئيسي: سوريا - دمشق - البرامكة\nالمكاتب المرنة: حمص - فيروزة، حلب - المنطقة الصناعية، طرطوس - شارع دبي\nمناطق العمل: جاهزين لتنفيذ الأعمال في جميع المحافظات السورية", phone: "أرقام الاتصال", email: "البريد الإلكتروني", - formTitle: "تواصل معنا وابدأ رحلتك في التجارة الدولية بثقة", + formTitle: "من الرؤية إلى التنفيذ... شراكة تصنع مشاريع ناجحة رسلة واحدة قد تكون نقطة التحول في تنفيذ مشروعك بنجاح", name: "الاسم", namePlaceholder: "أدخل اسمك", emailPlaceholder: "example@example.com", @@ -257,6 +261,9 @@ const resources = { } } }, + footer: { + copyright: "© {{year}} REXNT - جميع الحقوق محفوظة" + } } },