From 9debe7b1ab3e62a16e04687b758546a3b693a960 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 08:08:29 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index dcd559e..d35c66c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -17,7 +17,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="mediumLargeSizeLargeTitles" - background="grid" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="primary-glow" secondaryButtonStyle="glass" @@ -64,27 +64,27 @@ export default function LandingPage() { products={[ { id: "1", brand: "Class 1–5", name: "English Guide", price: "₹250", rating: 5, - reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg?_wi=1", imageAlt: "English Guide for primary students" + reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg", imageAlt: "English Guide for primary students" }, { id: "2", brand: "Class 1–5", name: "Mathematics Guide", price: "₹280", rating: 5, - reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg?_wi=2", imageAlt: "Mathematics Guide for primary students" + reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg", imageAlt: "Mathematics Guide for primary students" }, { id: "3", brand: "Class 1–5", name: "Science & Studies Guide", price: "₹300", rating: 5, - reviewCount: "1.1k", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg?_wi=3", imageAlt: "Science and Bangladesh Studies Guide" + reviewCount: "1.1k", imageSrc: "http://img.b2bpic.net/free-photo/happy-teen-girl-with-stacked-books_23-2147666644.jpg", imageAlt: "Science and Bangladesh Studies Guide" }, { id: "4", brand: "BCS Preliminary", name: "General Knowledge", price: "₹450", rating: 5, - reviewCount: "2.3k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg?_wi=1", imageAlt: "BCS General Knowledge Preparation Book" + reviewCount: "2.3k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg", imageAlt: "BCS General Knowledge Preparation Book" }, { id: "5", brand: "BCS Preliminary", name: "Bangla & English Bundle", price: "₹650", rating: 5, - reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg?_wi=2", imageAlt: "BCS Bangla and English Preparation" + reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg", imageAlt: "BCS Bangla and English Preparation" }, { id: "6", brand: "BCS Preliminary", name: "Model Tests (100+ MCQs)", price: "₹550", rating: 5, - reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg?_wi=3", imageAlt: "BCS Model Test Papers with Practice MCQs" + reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/public-examination-preparation-concept_23-2149369844.jpg", imageAlt: "BCS Model Test Papers with Practice MCQs" } ]} /> @@ -100,15 +100,15 @@ export default function LandingPage() { features={[ { id: 1, - title: "Clear Explanations", description: "Complex topics become easy to understand. Our guides break down difficult concepts into simple, digestible sections with real-world examples that students relate to.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg?_wi=1", imageAlt: "Student learning with clear explanations" + title: "Clear Explanations", description: "Complex topics become easy to understand. Our guides break down difficult concepts into simple, digestible sections with real-world examples that students relate to.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg", imageAlt: "Student learning with clear explanations" }, { id: 2, - title: "Well-Organized Content", description: "Structured chapters and topics make revision efficient. Quick-reference summaries and organized layouts help students find information instantly during exam prep.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg?_wi=2", imageAlt: "Organized study material and revision notes" + title: "Well-Organized Content", description: "Structured chapters and topics make revision efficient. Quick-reference summaries and organized layouts help students find information instantly during exam prep.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg", imageAlt: "Organized study material and revision notes" }, { id: 3, - title: "Exam-Focused Practice", description: "Practice questions designed to match real exam patterns. Our MCQs and model tests follow the exact format and difficulty level of actual exams like BCS Preliminary.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg?_wi=3", imageAlt: "Practice questions and exam preparation" + title: "Exam-Focused Practice", description: "Practice questions designed to match real exam patterns. Our MCQs and model tests follow the exact format and difficulty level of actual exams like BCS Preliminary.", imageSrc: "http://img.b2bpic.net/free-vector/young-people-reading-book-collection_23-2148246361.jpg", imageAlt: "Practice questions and exam preparation" } ]} /> @@ -141,7 +141,7 @@ export default function LandingPage() { Date: Thu, 12 Mar 2026 08:08:29 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 ++++++++----------- 1 file changed, 27 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f2ad1c1 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; className?: string; + textClassName?: 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, + className = '', + textClassName = '', +}) => { return ( + + + + + + - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1