Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 18:53:25 +00:00
2 changed files with 35 additions and 41 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="medium"
sizing="largeSmallSizeMediumTitles"
background="floatingGradient"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="flat"
secondaryButtonStyle="layered"
@@ -51,7 +51,7 @@ export default function LandingPage() {
{ text: "View Our Work", href: "#portfolio" }
]}
buttonAnimation="slide-up"
background={{ variant: "floatingGradient" }}
background={{ variant: "sparkles-gradient" }}
imageSrc="http://img.b2bpic.net/free-vector/template-dashboard-user-panel_23-2148368851.jpg"
imageAlt="Social Media Analytics Dashboard"
mediaAnimation="opacity"
@@ -89,10 +89,10 @@ export default function LandingPage() {
title: "Content Creation & Management", description: "Professional content production including photography, videography, copywriting, and calendar management across all platforms.", imageSrc: "http://img.b2bpic.net/free-photo/man-works-computer-coworking-space-remote-work-workspace_1321-3097.jpg", imageAlt: "Content Creation Production"
},
{
title: "Analytics & Optimization", description: "Advanced performance tracking, ROI measurement, and continuous optimization to maximize your social media impact and conversions.", imageSrc: "http://img.b2bpic.net/free-vector/waterfall-chart-collection-template_23-2148589483.jpg?_wi=1", imageAlt: "Analytics and Performance Reporting"
title: "Analytics & Optimization", description: "Advanced performance tracking, ROI measurement, and continuous optimization to maximize your social media impact and conversions.", imageSrc: "http://img.b2bpic.net/free-vector/waterfall-chart-collection-template_23-2148589483.jpg", imageAlt: "Analytics and Performance Reporting"
},
{
title: "Influencer & Partnership Development", description: "Strategic collaborations with relevant influencers and brand partners to expand your reach and build authentic community connections.", imageSrc: "http://img.b2bpic.net/free-vector/waterfall-chart-collection-template_23-2148589483.jpg?_wi=2", imageAlt: "Influencer Partnerships"
title: "Influencer & Partnership Development", description: "Strategic collaborations with relevant influencers and brand partners to expand your reach and build authentic community connections.", imageSrc: "http://img.b2bpic.net/free-vector/waterfall-chart-collection-template_23-2148589483.jpg", imageAlt: "Influencer Partnerships"
}
]}
gridVariant="bento-grid"
@@ -178,6 +178,7 @@ export default function LandingPage() {
tag="Our Partners"
tagIcon={CheckCircle}
tagAnimation="slide-up"
names={["TechFlow", "InnovateCo", "GrowthCo", "StartupXYZ", "BrandCo", "DigiTech", "CloudSync"]}
logos={[
"http://img.b2bpic.net/free-vector/gradient-social-media-logo-collectio_23-2148147289.jpg", "http://img.b2bpic.net/free-vector/social-media-logotype-collection_23-2148158920.jpg", "http://img.b2bpic.net/free-psd/international-dance-day-template-design_23-2151326194.jpg", "http://img.b2bpic.net/free-vector/abstract-logo-two-versions_23-2148460881.jpg", "http://img.b2bpic.net/free-vector/flat-design-subscribers-label_23-2150957857.jpg", "http://img.b2bpic.net/free-vector/social-media-logo-collection_23-2148078018.jpg", "http://img.b2bpic.net/free-vector/gradient-social-media-logo-collectio_23-2148135209.jpg"
]}

View File

@@ -1,51 +1,44 @@
"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;
fontFamily?: string;
fontWeight?: number | string;
fill?: string;
dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging' | 'mathematical';
}
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,
className = '',
fontSize = 48,
fontFamily = 'Arial, sans-serif',
fontWeight = 'bold',
fill = '#000000',
dominantBaseline = 'middle'
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<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="50%"
y="50%"
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
textAnchor="middle"
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;