From 998761db63647c02f70faa02deba5caeebe01961 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 18:38:34 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 53 +++++++++--------------------------------------- 1 file changed, 10 insertions(+), 43 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index eb144df..d52991c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,8 +19,7 @@ export default function HomePage() { const footerColumns = [ { - title: "المتجر", - items: [ + title: "المتجر", items: [ { label: "المنتجات", href: "/products" }, { label: "الفئات", href: "/products" }, { label: "المبيعات الخاصة", href: "#" }, @@ -28,8 +27,7 @@ export default function HomePage() { ], }, { - title: "عن المتجر", - items: [ + title: "عن المتجر", items: [ { label: "من نحن", href: "#about" }, { label: "الأسئلة الشائعة", href: "#faq" }, { label: "سياسة الخصوصية", href: "#" }, @@ -37,8 +35,7 @@ export default function HomePage() { ], }, { - title: "التواصل", - items: [ + title: "التواصل", items: [ { label: "البريد الإلكتروني", href: "#contact" }, { label: "رقم الهاتف", href: "#" }, { label: "الموقع", href: "#" }, @@ -54,7 +51,7 @@ export default function HomePage() { borderRadius="pill" contentWidth="compact" sizing="largeSizeMediumTitles" - background="circleGradient" + background="none" cardStyle="gradient-bordered" primaryButtonStyle="gradient" secondaryButtonStyle="radial-glow" @@ -73,7 +70,7 @@ export default function HomePage() { Date: Wed, 11 Mar 2026 18:38:35 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 ++++++++----------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..16cae47 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + className, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1