From 4ecf344b4f8494733121302ac27e9d891be9984e Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:04:29 +0000 Subject: [PATCH 1/2] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 42 ++++++++++++++-------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 6d337b3..9027793 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -18,8 +18,7 @@ export default function ContactPage() { const footerColumns = [ { - title: "Product", - items: [ + title: "Product", items: [ { label: "Stock Optimisation", href: "/solutions/stock-optimisation" }, { label: "Tech Automation", href: "/solutions/tech-automation" }, { label: "One-Click Procurement", href: "/solutions/one-click-procurement" }, @@ -27,8 +26,7 @@ export default function ContactPage() { ], }, { - title: "Company", - items: [ + title: "Company", items: [ { label: "About Us", href: "/about" }, { label: "Careers", href: "/careers" }, { label: "Media", href: "#blog" }, @@ -36,8 +34,7 @@ export default function ContactPage() { ], }, { - title: "Connect", - items: [ + title: "Connect", items: [ { label: "LinkedIn", href: "https://linkedin.com/company/godown" }, { label: "Email", href: "mailto:support@godown.world" }, { label: "Phone", href: "tel:+918527425557" }, @@ -53,7 +50,7 @@ export default function ContactPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="mediumSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -64,9 +61,7 @@ export default function ContactPage() { brandName="Godown" navItems={navItems} button={{ - text: "Book a free demo", - href: "https://cal.com/godown-support-pvtndz/30min", - }} + text: "Book a free demo", href: "https://cal.com/godown-support-pvtndz/30min"}} animateOnLoad={true} /> @@ -78,33 +73,24 @@ export default function ContactPage() { tag="Contact Us" tagIcon={MessageSquare} tagAnimation="slide-up" - background={{ variant: "noise" }} + background={{ variant: "radial-gradient" }} buttons={[ { - text: "Schedule a Demo", - href: "https://cal.com/godown-support-pvtndz/30min", - }, + text: "Schedule a Demo", href: "https://cal.com/godown-support-pvtndz/30min"}, { - text: "Learn More", - href: "#contact-form", - }, + text: "Learn More", href: "#contact-form"}, ]} mediaItems={[ { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-office-environment-with-diverse-t-1773248587878-d766275a.png?_wi=2", - }, + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-office-environment-with-diverse-t-1773248587878-d766275a.png"}, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/business-analytics-meeting-room-showing--1773248587848-24abfa49.png?_wi=3", - }, + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/business-analytics-meeting-room-showing--1773248587848-24abfa49.png"}, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-saas-dashboard-interface-showing--1773248587616-01294aca.png?_wi=3", - }, + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-saas-dashboard-interface-showing--1773248587616-01294aca.png"}, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/b2b-procurement-platform-showing-vendor--1773248587919-4da5fb4d.png?_wi=3", - }, + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/b2b-procurement-platform-showing-vendor--1773248587919-4da5fb4d.png"}, { - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/financial-analytics-dashboard-for-indust-1773248588715-be444884.png?_wi=3", - }, + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/financial-analytics-dashboard-for-indust-1773248588715-be444884.png"}, ]} mediaAnimation="slide-up" buttonAnimation="slide-up" @@ -119,7 +105,7 @@ export default function ContactPage() { description="Have questions about Godown? Our team is ready to help you streamline your procurement process. Reach out today and discover how we can transform your manufacturing operations." background={{ variant: "radial-gradient" }} useInvertedBackground={false} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-office-environment-with-diverse-t-1773248587878-d766275a.png?_wi=3" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoAMKmXCkK179vLHM6FnU8qAT2/modern-office-environment-with-diverse-t-1773248587878-d766275a.png" mediaAnimation="slide-up" mediaPosition="right" inputPlaceholder="your@email.com" -- 2.49.1 From 2f339212aceddb9f0b39852617d14a7db38b5ab0 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:04:30 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 76 ++++++++++--------- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..16c4fc3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,55 @@ -"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; + width?: number; + height?: number; + fontSize?: number; + fill?: string; + fontFamily?: string; + fontWeight?: string | number; + letterSpacing?: number; 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', + width = 200, + height = 100, + fontSize = 32, + fill = '#000000', + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + letterSpacing = 0, + className = '', +}) => { + const textWidth = text.length * fontSize * 0.6; + const xPosition = Math.max(0, (width - textWidth) / 2); + const yPosition = (height + fontSize) / 2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1