diff --git a/src/app/page.tsx b/src/app/page.tsx index 9800d06..7b49de6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import { LayoutGrid, Users, CheckCircle } from 'lucide-react'; +import { LayoutGrid, Users, CheckCircle, Languages } from 'lucide-react'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FaqBase from '@/components/sections/faq/FaqBase'; import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia'; @@ -14,6 +14,12 @@ import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleAp import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; export default function LandingPage() { + const toggleLanguage = () => { + const isRTL = document.documentElement.dir === 'rtl'; + document.documentElement.dir = isRTL ? 'ltr' : 'rtl'; + document.documentElement.lang = isRTL ? 'en' : 'ar'; + }; + return ( @@ -134,12 +141,12 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} faqs={[ - { id: "f1", title: "Do you offer quotes?", content: "Yes, we provide free onsite consultations." }, - { id: "f2", title: "Are you licensed?", content: "Yes, all our gardeners are fully certified." }, - { id: "f3", title: "What areas do you serve?", content: "We cover the entire metro area." }, + { id: "f1", title: "Do you offer quotes?", content: "Yes, we provide free onsite consultations. | نعم، نقدم استشارات مجانية في الموقع." }, + { id: "f2", title: "Are you licensed?", content: "Yes, all our gardeners are fully certified. | نعم، جميع بستانيينا معتمدون بالكامل." }, + { id: "f3", title: "What areas do you serve?", content: "We cover the entire metro area. | نحن نغطي منطقة المترو بأكملها." }, ]} - title="Common Questions" - description="Get answers about our landscaping processes." + title="Common Questions | أسئلة شائعة" + description="Get answers about our landscaping processes. | احصل على إجابات حول عمليات تنسيق الحدائق الخاصة بنا." faqsAnimation="slide-up" /> @@ -147,13 +154,13 @@ export default function LandingPage() {
@@ -162,20 +169,25 @@ export default function LandingPage() {