Merge version_1 into main #2
@@ -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}
|
||||
/>
|
||||
</div>
|
||||
@@ -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"
|
||||
|
||||
@@ -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<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
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 (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x={xPosition}
|
||||
y={yPosition}
|
||||
fontSize={fontSize}
|
||||
fill={fill}
|
||||
fontFamily={fontFamily}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user