Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 21:20:44 +00:00
2 changed files with 32 additions and 43 deletions

View File

@@ -10,7 +10,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Award, CheckCircle, Mail, Shield, Star, Users, Zap } from 'lucide-react';
import { Award, CheckCircle, Mail, Shield, Star, Users, Zap, Sparkles } from 'lucide-react';
export default function LandingPage() {
return (
@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="small"
sizing="largeSmallSizeLargeTitles"
background="aurora"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="double-inset"
secondaryButtonStyle="solid"
@@ -48,7 +48,7 @@ export default function LandingPage() {
{ text: 'Explore Our Work', href: 'about' },
{ text: 'Get In Touch', href: 'contact' }
]}
background={{ variant: 'aurora' }}
background={{ variant: 'sparkles-gradient' }}
imageSrc="http://img.b2bpic.net/free-photo/still-life-colorful-overloaded-bullet-journal_23-2150168674.jpg"
imageAlt="Creative studio workspace"
frameStyle="card"
@@ -209,8 +209,7 @@ export default function LandingPage() {
},
{
id: '5',
title: 'What\'s your design process like?',
content: 'We follow a collaborative 5-phase process: Discovery, Strategy, Design, Development, and Optimization. You\'re involved at every stage to ensure alignment with your vision.'
title: "What's your design process like?", content: "We follow a collaborative 5-phase process: Discovery, Strategy, Design, Development, and Optimization. You're involved at every stage to ensure alignment with your vision."
},
{
id: '6',
@@ -278,6 +277,3 @@ export default function LandingPage() {
</ThemeProvider>
);
}
// Missing import: Sparkles (from lucide-react) - adding to imports
// Note: Sparkles should be imported from lucide-react at the top

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;
fontSize?: number;
fontFamily?: string;
fontWeight?: number | string;
fill?: string;
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,
fontSize = 48,
fontFamily = 'Arial, sans-serif',
fontWeight = 'bold',
fill = '#000000',
className = '',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.2}`}
width="100%"
height="auto"
className={className}
role="img"
aria-label={`${logoText} logo`}
aria-label={text}
>
<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={fontSize * 0.3}
y={fontSize * 0.9}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;