From d760ccc80741539c28b1916e2d974b8d1d40b348 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:12:28 +0000 Subject: [PATCH 1/4] Update src/app/about/page.tsx --- src/app/about/page.tsx | 96 ++++++++++-------------------------------- 1 file changed, 22 insertions(+), 74 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 5bfbbdf..1f21cdf 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -7,6 +7,7 @@ import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSp import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven"; import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import { TrendingUp, Star } from "lucide-react"; export default function AboutPage() { const navItems = [ @@ -34,9 +35,7 @@ export default function AboutPage() { brandName="Ditebogo" navItems={navItems} button={{ - text: "Call Now", - href: "tel:+27119821080", - }} + text: "Call Now", href: "tel:+27119821080"}} /> @@ -44,31 +43,20 @@ export default function AboutPage() { @@ -76,26 +64,14 @@ export default function AboutPage() { -- 2.49.1 From d3e1a87dd7045d6e5a312c8d35585be40d3f16b6 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:12:28 +0000 Subject: [PATCH 2/4] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 62 +++++++++++----------------------------- 1 file changed, 16 insertions(+), 46 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index a0756e1..1c9a5bb 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -6,6 +6,7 @@ import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatin import ContactSplit from "@/components/sections/contact/ContactSplit"; import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import { Phone, Star } from "lucide-react"; export default function ContactPage() { const navItems = [ @@ -33,9 +34,7 @@ export default function ContactPage() { brandName="Ditebogo" navItems={navItems} button={{ - text: "Call Now", - href: "tel:+27119821080", - }} + text: "Call Now", href: "tel:+27119821080"}} /> @@ -44,12 +43,11 @@ export default function ContactPage() { tag="Get in Touch" title="Ready to Grow Your Business?" description="Contact Ditebogo Consultancy today for a free consultation. We're here to help your Soweto business succeed." - tagIcon="Phone" + tagIcon={Phone} background={{ - variant: "plain", - }} + variant: "plain"}} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-vector/flat-design-south-africa-heritage-day-concept_23-2148627610.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-vector/flat-design-south-africa-heritage-day-concept_23-2148627610.jpg" imageAlt="Ditebogo Consultancy location in Soweto" mediaAnimation="slide-up" mediaPosition="right" @@ -63,46 +61,22 @@ export default function ContactPage() { -- 2.49.1 From 7d65ce7eab3d6cd7b4209ce2a1574e0f92c4a3d0 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:12:29 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 133 +++++++++++------------------------------------ 1 file changed, 29 insertions(+), 104 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 52773a8..aafda98 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,9 +41,7 @@ export default function HomePage() { id: item.id === "/" ? "/" : item.id, }))} button={{ - text: "Call Now", - href: "tel:+27119821080", - }} + text: "Call Now", href: "tel:+27119821080"}} /> @@ -56,33 +54,21 @@ export default function HomePage() { background={{ variant: "plain" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/two-asian-male-colleagues-arguing-office_1098-20413.jpg?_wi=1", - imageAlt: "Professional business consultation meeting", - }, + imageSrc: "http://img.b2bpic.net/free-photo/two-asian-male-colleagues-arguing-office_1098-20413.jpg", imageAlt: "Professional business consultation meeting"}, { - imageSrc: "http://img.b2bpic.net/free-photo/business-executives-reviewing-marketing-trends_482257-121143.jpg?_wi=1", - imageAlt: "Strategic business planning session", - }, + imageSrc: "http://img.b2bpic.net/free-photo/business-executives-reviewing-marketing-trends_482257-121143.jpg", imageAlt: "Strategic business planning session"}, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-queer-person-work_23-2150617723.jpg?_wi=1", - imageAlt: "Experienced business consultant", - }, + imageSrc: "http://img.b2bpic.net/free-photo/front-view-queer-person-work_23-2150617723.jpg", imageAlt: "Experienced business consultant"}, { - imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg?_wi=1", - imageAlt: "Satisfied client portrait", - }, + imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg", imageAlt: "Satisfied client portrait"}, ]} buttons={[ { - text: "Call Now: 011 982 1080", - href: "tel:+27119821080", - }, + text: "Call Now: 011 982 1080", href: "tel:+27119821080"}, { - text: "Request Consultation", - href: "#contact", - }, + text: "Request Consultation", href: "#contact"}, ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" mediaAnimation="slide-up" /> @@ -93,21 +79,11 @@ export default function HomePage() { description="We understand the unique challenges facing Soweto and Johannesburg businesses. Our consulting services are tailored to help you succeed." negativeCard={{ items: [ - "Limited business strategy guidance", - "Unclear operational processes", - "Compliance and registration confusion", - "No growth planning support", - "Expensive external consultants", - ], + "Limited business strategy guidance", "Unclear operational processes", "Compliance and registration confusion", "No growth planning support", "Expensive external consultants"], }} positiveCard={{ items: [ - "Expert business strategy & advisory", - "Streamlined operations & management", - "Compliance & registration support", - "Growth-focused planning", - "Affordable local expertise", - ], + "Expert business strategy & advisory", "Streamlined operations & management", "Compliance & registration support", "Growth-focused planning", "Affordable local expertise"], }} animationType="slide-up" textboxLayout="default" @@ -121,31 +97,20 @@ export default function HomePage() { @@ -159,41 +124,17 @@ export default function HomePage() { useInvertedBackground={false} testimonials={[ { - id: "1", - name: "Thabo Mkhize", - role: "Owner", - company: "ThaboTech Solutions", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg?_wi=2", - imageAlt: "Thabo Mkhize, ThaboTech Solutions", - }, + id: "1", name: "Thabo Mkhize", role: "Owner", company: "ThaboTech Solutions", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/smiling-happy-asian-woman-entrepreneur-recommending-cafe-showing-okay-ok-sign-approval_1258-199352.jpg", imageAlt: "Thabo Mkhize, ThaboTech Solutions"}, { - id: "2", - name: "Nomsa Dlamini", - role: "Director", - company: "Dlamini Marketing Group", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-wearing-glasses_23-2148924768.jpg?_wi=1", - imageAlt: "Nomsa Dlamini, Dlamini Marketing Group", - }, + id: "2", name: "Nomsa Dlamini", role: "Director", company: "Dlamini Marketing Group", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-wearing-glasses_23-2148924768.jpg", imageAlt: "Nomsa Dlamini, Dlamini Marketing Group"}, { - id: "3", - name: "Sipho Nkosi", - role: "Manager", - company: "Nkosi Construction", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-queer-person-work_23-2150617713.jpg?_wi=1", - imageAlt: "Sipho Nkosi, Nkosi Construction", - }, + id: "3", name: "Sipho Nkosi", role: "Manager", company: "Nkosi Construction", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-queer-person-work_23-2150617713.jpg", imageAlt: "Sipho Nkosi, Nkosi Construction"}, { - id: "4", - name: "Lungile Mthembu", - role: "Founder", - company: "Mthembu Retail", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/creative-tailor-working-workshop_23-2148970729.jpg?_wi=1", - imageAlt: "Lungile Mthembu, Mthembu Retail", - }, + id: "4", name: "Lungile Mthembu", role: "Founder", company: "Mthembu Retail", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/creative-tailor-working-workshop_23-2148970729.jpg", imageAlt: "Lungile Mthembu, Mthembu Retail"}, ]} gridVariant="uniform-all-items-equal" animationType="slide-up" @@ -210,21 +151,9 @@ export default function HomePage() { useInvertedBackground={false} metrics={[ { - id: "1", - value: "50+", - title: "Businesses Served", - description: "In Soweto and Johannesburg", - imageSrc: "http://img.b2bpic.net/free-photo/two-asian-male-colleagues-arguing-office_1098-20413.jpg?_wi=2", - imageAlt: "Business consulting session", - }, + id: "1", value: "50+", title: "Businesses Served", description: "In Soweto and Johannesburg", imageSrc: "http://img.b2bpic.net/free-photo/two-asian-male-colleagues-arguing-office_1098-20413.jpg", imageAlt: "Business consulting session"}, { - id: "2", - value: "15 years", - title: "Industry Experience", - description: "Business management & consulting", - imageSrc: "http://img.b2bpic.net/free-photo/business-executives-reviewing-marketing-trends_482257-121143.jpg?_wi=2", - imageAlt: "Strategic planning session", - }, + id: "2", value: "15 years", title: "Industry Experience", description: "Business management & consulting", imageSrc: "http://img.b2bpic.net/free-photo/business-executives-reviewing-marketing-trends_482257-121143.jpg", imageAlt: "Strategic planning session"}, ]} animationType="slide-up" /> @@ -238,7 +167,7 @@ export default function HomePage() { tagIcon={Phone} background={{ variant: "plain" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-vector/flat-design-south-africa-heritage-day-concept_23-2148627610.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-vector/flat-design-south-africa-heritage-day-concept_23-2148627610.jpg" imageAlt="Ditebogo Consultancy location in Soweto" mediaAnimation="slide-up" mediaPosition="right" @@ -252,13 +181,9 @@ export default function HomePage() { -- 2.49.1 From 40c936aa419bc2b4b6bb5b79a30c8d3834debf89 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:12:29 +0000 Subject: [PATCH 4/4] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 57 +++++++------------ 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..11c7d17 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,32 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { ReactNode } from "react"; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + children?: ReactNode; className?: string; + textAnchor?: "start" | "middle" | "end"; + dominantBaseline?: "auto" | "middle" | "hanging"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + children, + className = "", textAnchor = "middle", dominantBaseline = "middle"}) => { return ( - {logoText} + {children} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}; \ No newline at end of file -- 2.49.1