From c6b5259f25e27cd436fa8a52d28f6cbd1d55eaed Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:28:19 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f8bb32b..f383f02 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -56,10 +56,10 @@ export default function LandingPage() { ]} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-male-sitting-sofa-reading-book-inside-room-job-work-house-evening_179666-30381.jpg?_wi=1", imageAlt: "Peaceful study environment at Edunest360" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-male-sitting-sofa-reading-book-inside-room-job-work-house-evening_179666-30381.jpg", imageAlt: "Peaceful study environment at Edunest360" }, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-male-sitting-sofa-reading-book-inside-room-job-work-house-evening_179666-30381.jpg?_wi=2", imageAlt: "Premium study space with comfortable seating" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-male-sitting-sofa-reading-book-inside-room-job-work-house-evening_179666-30381.jpg", imageAlt: "Premium study space with comfortable seating" } ]} rating={5} @@ -83,7 +83,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/asian-coder-with-physical-disability-working-with-african-american-developer-create-security-firewall-terminasl-window-it-engineer-wheelchair-programming-html-script-code_482257-60732.jpg" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-woman-holding-smartphone_23-2149366482.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-woman-holding-smartphone_23-2149366482.jpg" } }, { @@ -92,25 +92,25 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/desk-with-work-elements_1150-106.jpg" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-laptop_23-2148541546.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-laptop_23-2148541546.jpg" } }, { id: 3, title: "Affordable Pricing", description: "Premium facilities and services at student-friendly prices. Quality education doesn't have to break the bank.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-photo/teenager-choosing-book-near-reading-friends_23-2147864011.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/teenager-choosing-book-near-reading-friends_23-2147864011.jpg" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-woman-holding-smartphone_23-2149366482.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-woman-holding-smartphone_23-2149366482.jpg" } }, { id: 4, title: "Clean & Comfortable", description: "Well-maintained facilities, comfortable seating, and optimal lighting designed for long study hours and maximum productivity.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-laptop_23-2148541546.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/desk-arrangement-with-laptop_23-2148541546.jpg" }, phoneTwo: { - imageSrc: "http://img.b2bpic.net/free-photo/teenager-choosing-book-near-reading-friends_23-2147864011.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/teenager-choosing-book-near-reading-friends_23-2147864011.jpg" } } ]} @@ -247,6 +247,7 @@ export default function LandingPage() { useInvertedBackground={false} textPosition="left" animationType="smooth" + faqsAnimation="slide-up" /> -- 2.49.1 From 768166e73fe1e337487740737ee5c846c2ed7bd1 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:28:20 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 57 +++++++------------ 1 file changed, 22 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f7742d0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 32, + fill = '#000000', + className, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1