From 5ddebecac4a4f39c69e3e2b6f0b35cd4efd813c2 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 2 Jun 2026 15:52:18 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 146 ++++++++++++++++++++++++----------------------- 1 file changed, 74 insertions(+), 72 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9a24292..c51ee3c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,6 +14,8 @@ import TestimonialCardTwelve from '@/components/sections/testimonial/Testimonial import { Clock, Gauge, Lightbulb, ShieldCheck, Wrench } from "lucide-react"; export default function LandingPage() { + const reverseString = (s) => s.split('').reverse().join(''); + return ( @@ -55,40 +57,40 @@ export default function LandingPage() { @@ -126,18 +128,18 @@ export default function LandingPage() { useInvertedBackground={false} metrics={[ { - id: "metric-1", value: "עד 20 דקות", description: "מענה מהיר והגעה עד לבית הלקוח בעפולה והסביבה"}, + id: "metric-1", value: reverseString("עד 20 דקות"), description: reverseString("מענה מהיר והגעה עד לבית הלקוח בעפולה והסביבה")}, { - id: "metric-2", value: "100%", description: "מקצועיות ואמינות ללא פשרות בכל עבודה"}, + id: "metric-2", value: reverseString("100%"), description: reverseString("מקצועיות ואמינות ללא פשרות בכל עבודה")}, { - id: "metric-3", value: "ניסיון עשיר", description: "שנים רבות בתחום המנעולנות והאבטחה"}, + id: "metric-3", value: reverseString("ניסיון עשיר"), description: reverseString("שנים רבות בתחום המנעולנות והאבטחה")}, ]} - title="אמינות ומקצועיות ללא פשרות" + title={reverseString("אמינות ומקצועיות ללא פשרות")} titleSegments={[ { - type: "text", content: "אמינות ומקצועיות ללא פשרות"}, + type: "text", content: reverseString("אמינות ומקצועיות ללא פשרות")}, ]} - description="נשר מנעולים מחויבים לשירות מהיר, אדיב ומקצועי בכל קריאה." + description={reverseString("נשר מנעולים מחויבים לשירות מהיר, אדיב ומקצועי בכל קריאה.")} /> @@ -146,13 +148,13 @@ export default function LandingPage() { useInvertedBackground={true} heading={[ { - type: "text", content: "אודות נשר מנעולים"}, + type: "text", content: reverseString("אודות נשר מנעולים")}, { - type: "image", src: "http://img.b2bpic.net/free-photo/mechanic-repairing-bicycle_23-2148138469.jpg", alt: "מנעולן בעבודה"}, + type: "image", src: "http://img.b2bpic.net/free-photo/mechanic-repairing-bicycle_23-2148138469.jpg", alt: reverseString("מנעולן בעבודה")}, ]} buttons={[ { - text: "קרא עוד", href: "#"}, + text: reverseString("קרא עוד"), href: "#"}, ]} /> @@ -165,24 +167,24 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "product-1", name: "מנעול חכם דיגיטלי", price: "החל מ-₪600", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/abstract-cybersecurity-concept-design_23-2151841696.jpg", imageAlt: "מנעול חכם דיגיטלי"}, + id: "product-1", name: reverseString("מנעול חכם דיגיטלי"), price: reverseString("החל מ-₪600"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/abstract-cybersecurity-concept-design_23-2151841696.jpg", imageAlt: reverseString("מנעול חכם דיגיטלי")}, { - id: "product-2", name: "צילינדר מוגן פריצה", price: "החל מ-₪350", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/grunge-style-bank-vault_1048-13937.jpg", imageAlt: "צילינדר מוגן פריצה"}, + id: "product-2", name: reverseString("צילינדר מוגן פריצה"), price: reverseString("החל מ-₪350"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/grunge-style-bank-vault_1048-13937.jpg", imageAlt: reverseString("צילינדר מוגן פריצה")}, { - id: "product-3", name: "סט ידיות מעוצבות", price: "החל מ-₪200", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/house-entrance-japan-building_23-2149301080.jpg", imageAlt: "סט ידיות מעוצבות"}, + id: "product-3", name: reverseString("סט ידיות מעוצבות"), price: reverseString("החל מ-₪200"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/house-entrance-japan-building_23-2149301080.jpg", imageAlt: reverseString("סט ידיות מעוצבות")}, { - id: "product-4", name: "מערכת אזעקה אלחוטית", price: "החל מ-₪900", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/man-using-tablet-his-smart-home_23-2149036899.jpg", imageAlt: "מערכת אזעקה אלחוטית"}, + id: "product-4", name: reverseString("מערכת אזעקה אלחוטית"), price: reverseString("החל מ-₪900"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/man-using-tablet-his-smart-home_23-2149036899.jpg", imageAlt: reverseString("מערכת אזעקה אלחוטית")}, { - id: "product-5", name: "שכפול מפתחות ממוחשב", price: "החל מ-₪50", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-hard-drive-with-red-light-still-life_23-2149417035.jpg", imageAlt: "שכפול מפתחות"}, + id: "product-5", name: reverseString("שכפול מפתחות ממוחשב"), price: reverseString("החל מ-₪50"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/high-angle-hard-drive-with-red-light-still-life_23-2149417035.jpg", imageAlt: reverseString("שכפול מפתחות")}, { - id: "product-6", name: "התקנת כספת ביתית", price: "החל מ-₪700", variant: "במלאי", imageSrc: "http://img.b2bpic.net/free-photo/close-up-mystery-box_23-2149631423.jpg", imageAlt: "התקנת כספת"}, + id: "product-6", name: reverseString("התקנת כספת ביתית"), price: reverseString("החל מ-₪700"), variant: reverseString("במלאי"), imageSrc: "http://img.b2bpic.net/free-photo/close-up-mystery-box_23-2149631423.jpg", imageAlt: reverseString("התקנת כספת")}, ]} - title="פתרונות אבטחה מתקדמים" + title={reverseString("פתרונות אבטחה מתקדמים")} titleSegments={[ { - type: "text", content: "פתרונות אבטחה מתקדמים"}, + type: "text", content: reverseString("פתרונות אבטחה מתקדמים")}, ]} - description="אנו מציעים מגוון רחב של מוצרי אבטחה ונעילה חכמים כדי להגן על הנכסים היקרים לכם." + description={reverseString("אנו מציעים מגוון רחב של מוצרי אבטחה ונעילה חכמים כדי להגן על הנכסים היקרים לכם.")} /> @@ -191,20 +193,20 @@ export default function LandingPage() { useInvertedBackground={true} testimonials={[ { - id: "testimonial-item-1", name: "שרה כהן", imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg", imageAlt: "שרה כהן"}, + id: "testimonial-item-1", name: reverseString("שרה כהן"), imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg", imageAlt: reverseString("שרה כהן")}, { - id: "testimonial-item-2", name: "דוד לוי", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-sitting-desk_23-2149270975.jpg", imageAlt: "דוד לוי"}, + id: "testimonial-item-2", name: reverseString("דוד לוי"), imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-sitting-desk_23-2149270975.jpg", imageAlt: reverseString("דוד לוי")}, { - id: "testimonial-item-3", name: "רבקה יוסף", imageSrc: "http://img.b2bpic.net/free-photo/male-jeweler-working-shop_23-2150914197.jpg", imageAlt: "רבקה יוסף"}, + id: "testimonial-item-3", name: reverseString("רבקה יוסף"), imageSrc: "http://img.b2bpic.net/free-photo/male-jeweler-working-shop_23-2150914197.jpg", imageAlt: reverseString("רבקה יוסף")}, { - id: "testimonial-item-4", name: "משפחת בן דוד", imageSrc: "http://img.b2bpic.net/free-photo/couple-cuddling-near-boxes_23-2147758811.jpg", imageAlt: "משפחת בן דוד"}, + id: "testimonial-item-4", name: reverseString("משפחת בן דוד"), imageSrc: "http://img.b2bpic.net/free-photo/couple-cuddling-near-boxes_23-2147758811.jpg", imageAlt: reverseString("משפחת בן דוד")}, { - id: "testimonial-item-5", name: "אלי מזרחי", imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-preparing-clients_23-2150286015.jpg", imageAlt: "אלי מזרחי"}, + id: "testimonial-item-5", name: reverseString("אלי מזרחי"), imageSrc: "http://img.b2bpic.net/free-photo/latino-hair-salon-owner-preparing-clients_23-2150286015.jpg", imageAlt: reverseString("אלי מזרחי")}, { - id: "testimonial-item-6", name: "חנה פרץ", imageSrc: "http://img.b2bpic.net/free-photo/group-handsome-retro-welldressed-man-gangsters-indoor-hotel-multiethnic-male-bachelor-mafia_627829-12009.jpg", imageAlt: "חנה פרץ"} + id: "testimonial-item-6", name: reverseString("חנה פרץ"), imageSrc: "http://img.b2bpic.net/free-photo/group-handsome-retro-welldressed-man-gangsters-indoor-hotel-multiethnic-male-bachelor-mafia_627829-12009.jpg", imageAlt: reverseString("חנה פרץ")} ]} - cardTitle="מה הלקוחות שלנו אומרים" - cardTag="המלצות" + cardTitle={reverseString("מה הלקוחות שלנו אומרים")} + cardTag={reverseString("המלצות")} cardAnimation="slide-up" /> @@ -214,12 +216,12 @@ export default function LandingPage() { useInvertedBackground={false} background={{ variant: "radial-gradient"}} - text="זקוקים למנעולן מקצועי ומהיר בעפולה והסביבה? צרו קשר עכשיו!" + text={reverseString("זקוקים למנעולן מקצועי ומהיר בעפולה והסביבה? צרו קשר עכשיו!")} buttons={[ { - text: "חיוג למנעולן", href: "tel:0501234567"}, + text: reverseString("חיוג למנעולן"), href: "tel:0501234567"}, { - text: "שלחו לנו הודעה", href: "mailto:info@nesherlocks.com"}, + text: reverseString("שלחו לנו הודעה"), href: "mailto:info@nesherlocks.com"}, ]} /> @@ -227,41 +229,41 @@ export default function LandingPage() {