From d86cb9e9a1fd265071e98c33854ebb05e81bda59 Mon Sep 17 00:00:00 2001 From: Rahaf Date: Fri, 20 Mar 2026 13:33:15 +0300 Subject: [PATCH] Delete translation --- app/page.js | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/app/page.js b/app/page.js index c8e5e45..87a44e2 100644 --- a/app/page.js +++ b/app/page.js @@ -2,7 +2,6 @@ import { useState, useRef, useEffect } from 'react'; import { motion, AnimatePresence } from 'framer-motion'; -import { useTranslation } from 'react-i18next'; import { ShieldCheck, Lock, @@ -25,14 +24,12 @@ import { Heart, MessageCircle } from 'lucide-react'; -import './i18n/config'; import HeroSearch from './components/home/HeroSearch'; import PropertyMap from './components/home/PropertyMap'; import Link from 'next/link'; import Image from 'next/image'; export default function HomePage() { - const { t } = useTranslation(); const mapSectionRef = useRef(null); const [searchFilters, setSearchFilters] = useState(null); const [showMap, setShowMap] = useState(false); @@ -338,7 +335,7 @@ export default function HomePage() { visible: { opacity: 1, y: 0 } }} > - {t("heroTitleLine1")}
+ إيجاد منزلك الجديد
- {t("heroTitleLine2")} + أصبح سهلاً - {t("heroSubtitle")} + نوفر قوائم عقارات عالية الجودة لمساعدتك في إيجاد المنزل المثالي @@ -546,14 +543,11 @@ export default function HomePage() { viewport={{ once: true }} transition={{ duration: 0.6 }} > -
- لماذا نحن؟ -

- {t("whyChooseUsTitle")} + لماذا تختار سويت هوم؟

- {t("whyChooseUsSubtitle")} + نجعل عملية إيجاد منزلك المثالي سهلة وسريعة وخالية من التوتر

@@ -571,12 +565,12 @@ export default function HomePage() {

- {t("feature1Title")} + قوائم موثوقة

- {t("feature1Description")} + كل عقار يتم التحقق منه بدقة لضمان الدقة والجودة. لا مفاجآت، فقط منازل حقيقية.

@@ -593,12 +587,12 @@ export default function HomePage() {

- {t("feature2Title")} + عمليات آمنة

- {t("feature2Description")} + سلامتك هي أولويتنا. نوفر معاملات آمنة ونحمي معلوماتك الشخصية.

@@ -615,12 +609,12 @@ export default function HomePage() {

- {t("feature3Title")} + نتائج سريعة

- {t("feature3Description")} + اعثر على منزلك المثالي في دقائق باستخدام خوارزميات البحث والمطابقة المتقدمة لدينا.