From 304138996a9aa09c94ca617e7686345889a0246d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:23:29 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8e3d651..77c8f67 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,14 +1,14 @@ "use client"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; -import HeroCarouselLogo from "@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo"; -import SplitAbout from "@/components/sections/about/SplitAbout"; -import FeatureCardOne from "@/components/sections/feature/FeatureCardOne"; -import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven"; -import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen"; -import ContactText from "@/components/sections/contact/ContactText"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo'; +import SplitAbout from '@/components/sections/about/SplitAbout'; +import FeatureCardOne from '@/components/sections/feature/FeatureCardOne'; +import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven'; +import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; +import ContactText from '@/components/sections/contact/ContactText'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; import { Lightbulb, Users, Zap } from "lucide-react"; export default function LandingPage() { @@ -51,7 +51,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/laptop-near-stationery-coffee-cup_23-2148128443.jpg", imageAlt: "minimalist workspace macbook desk clean" }, { - imageSrc: "http://img.b2bpic.net/free-photo/still-life-office-desk-mess_23-2150164870.jpg?_wi=1", imageAlt: "creative workspace natural light minimalist" + imageSrc: "http://img.b2bpic.net/free-photo/still-life-office-desk-mess_23-2150164870.jpg", imageAlt: "creative workspace natural light minimalist" }, { imageSrc: "http://img.b2bpic.net/free-photo/laptop-near-smartphone-watch-table_23-2148036898.jpg", imageAlt: "minimalist home office clean white space" @@ -69,6 +69,7 @@ export default function LandingPage() { description="I'm a design-focused creative with 8+ years of experience building digital products that users love. My approach combines strategic thinking with meticulous attention to detail." textboxLayout="default" useInvertedBackground={false} + mediaAnimation="none" bulletPoints={[ { title: "Design Philosophy", description: "Minimalism meets functionality—every pixel serves a purpose", icon: Lightbulb @@ -80,7 +81,7 @@ export default function LandingPage() { title: "User-Centric Approach", description: "Research-driven decisions that prioritize user experience", icon: Users } ]} - imageSrc="http://img.b2bpic.net/free-photo/still-life-office-desk-mess_23-2150164870.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/still-life-office-desk-mess_23-2150164870.jpg" imageAlt="About workspace" imagePosition="right" buttons={[{ text: "Download Resume", href: "#" }]} -- 2.49.1 From 54a0494c908e8969760f75216f244e34df2c1c06 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:23:29 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 91 ++++++++++--------- 1 file changed, 49 insertions(+), 42 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3ccf1a3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,58 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + fontFamily?: string; + fill?: string; + dominantBaseline?: 'auto' | 'middle' | 'central' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo = React.forwardRef( + ( + { + text, + className = '', + fontSize = 48, + fontWeight = 'bold', + fontFamily = 'inherit', + fill = 'currentColor', + dominantBaseline = 'middle', + }, + ref + ) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const totalWidth = textLength * charWidth + 20; - return ( - - - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1