Merge version_1 into main #2

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

View File

@@ -10,7 +10,7 @@ import ContactCTA from "@/components/sections/contact/ContactCTA";
import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import { Award, Camera, CheckCircle, Film, Heart, Lens, Mail, MapPin, Music, Smile, Sparkles, Star, User, Video } from "lucide-react";
import { Award, Camera, CheckCircle, Film, Heart, Mail, MapPin, Music, Smile, Sparkles, Star, User, Video } from "lucide-react";
export default function LandingPage() {
return (
@@ -128,8 +128,9 @@ export default function LandingPage() {
}
]}
imagePosition="right"
imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg"
imageAlt="Axel Del Cid behind the camera"
mediaAnimation="blur-reveal"
/>
</div>
@@ -214,7 +215,7 @@ export default function LandingPage() {
useInvertedBackground={false}
bulletPoints={[
{
title: "Storytelling Focus", description: "Every session is an opportunity to document authentic emotions and real connections.", icon: Lens
title: "Storytelling Focus", description: "Every session is an opportunity to document authentic emotions and real connections.", icon: Camera
},
{
title: "Professional Excellence", description: "Over a decade of experience delivering stunning results that exceed expectations.", icon: Award
@@ -227,8 +228,9 @@ export default function LandingPage() {
}
]}
imagePosition="left"
imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/male-local-traveler-with-camera_23-2149016747.jpg"
imageAlt="Axel Del Cid Photography"
mediaAnimation="blur-reveal"
/>
</div>

View File

@@ -1,51 +1,40 @@
"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;
fontWeight?: number | string;
letterSpacing?: number;
dominantBaseline?: "middle" | "auto" | "central" | "text-after-edge";
}
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,
fontWeight = 700,
letterSpacing = 2,
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.2}`}
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%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
fontSize={fontSize}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;