From fc0bd63c768fba8aafec54b330ebfd7bbfe07ee3 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:13:47 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 11cc532..fe29e5c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -22,7 +22,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="medium" sizing="mediumLarge" - background="blurBottom" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="shadow" secondaryButtonStyle="glass" @@ -49,7 +49,7 @@ export default function LandingPage() { tag="Financial Freedom" tagIcon={Zap} tagAnimation="slide-up" - background={{ variant: "blurBottom" }} + background={{ variant: "radial-gradient" }} buttons={[ { text: "Apply Now", href: "contact" }, { text: "Learn More", href: "how-it-works" } @@ -57,8 +57,8 @@ export default function LandingPage() { buttonAnimation="slide-up" mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-working-as-economist_23-2150062317.jpg", imageAlt: "Student success education loan" }, - { imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148365750.jpg?_wi=1", imageAlt: "Easy accessible platform" }, - { imageSrc: "http://img.b2bpic.net/free-vector/check-mark-star-hand-drawn_78370-4465.jpg?_wi=1", imageAlt: "Fast approval process" } + { imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148365750.jpg", imageAlt: "Easy accessible platform" }, + { imageSrc: "http://img.b2bpic.net/free-vector/check-mark-star-hand-drawn_78370-4465.jpg", imageAlt: "Fast approval process" } ]} mediaAnimation="slide-up" /> @@ -85,7 +85,7 @@ export default function LandingPage() { id: "1", title: "Quick Approval", descriptions: [ "Get approval in as little as 24 hours with our streamlined digital process", "Real-time application tracking from submission to disbursement", "Dedicated support team available throughout your journey" ], - imageSrc: "http://img.b2bpic.net/free-vector/check-mark-star-hand-drawn_78370-4465.jpg?_wi=2", imageAlt: "Fast approval process" + imageSrc: "http://img.b2bpic.net/free-vector/check-mark-star-hand-drawn_78370-4465.jpg", imageAlt: "Fast approval process" }, { id: "2", title: "Transparent Pricing", descriptions: [ @@ -103,10 +103,10 @@ export default function LandingPage() { id: "4", title: "Easy Access", descriptions: [ "Apply from anywhere with our mobile-first platform", "Simple documentation process with digital verification", "Secure and encrypted data handling" ], - imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148365750.jpg?_wi=2", imageAlt: "Easy accessible platform" + imageSrc: "http://img.b2bpic.net/free-vector/dashboard-user-panel-template_23-2148365750.jpg", imageAlt: "Easy accessible platform" } ]} - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={false} @@ -149,7 +149,7 @@ export default function LandingPage() { { id: "3", value: "3", description: "Quick Verification" }, { id: "4", value: "4", description: "Loan Disbursement" } ]} - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={false} -- 2.49.1 From 32be7bb42a80cc2786da8f495dccb2e370c0414f Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:13:48 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 ++++++++----------- 1 file changed, 28 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..94a10c3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +interface SvgTextLogoProps extends SVGProps { + 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); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + fontSize = 24, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 700, + fill = 'currentColor', + className = '', + ...svgProps +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1