Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-13 06:20:12 +00:00
2 changed files with 27 additions and 38 deletions

View File

@@ -41,6 +41,7 @@ export default function LandingPage() {
<div id="hero" data-section="hero">
<HeroSplitTestimonial
background={{ variant: "plain" }}
title="Cinematography & Editing That Moves"
description="Crafting compelling visual narratives through precision cinematography and expert postproduction. Specializing in commercials, documentaries, and branded content that captivate audiences and drive results."
tag="Professional Filmmaker"
@@ -85,7 +86,7 @@ export default function LandingPage() {
tagIcon={Film}
tagAnimation="slide-up"
imagePosition="right"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsXz3TW8zDHmhoIHamvoyZjAQF/filmmaker-s-creative-workspace-setup-sho-1773382715007-1e7e4589.png?_wi=1"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsXz3TW8zDHmhoIHamvoyZjAQF/filmmaker-s-creative-workspace-setup-sho-1773382715007-1e7e4589.png"
imageAlt="Professional filmmaker workspace and equipment"
mediaAnimation="slide-up"
bulletPoints={[
@@ -181,7 +182,7 @@ export default function LandingPage() {
textarea={{ name: "message", placeholder: "Tell me about your project vision and goals...", rows: 5, required: true }}
buttonText="Start Conversation"
useInvertedBackground={true}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsXz3TW8zDHmhoIHamvoyZjAQF/filmmaker-s-creative-workspace-setup-sho-1773382715007-1e7e4589.png?_wi=2"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsXz3TW8zDHmhoIHamvoyZjAQF/filmmaker-s-creative-workspace-setup-sho-1773382715007-1e7e4589.png"
imageAlt="Professional filmmaker workspace and equipment setup"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,39 @@
"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;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text = 'Webild',
width = 200,
height = 50,
className = '',
}) => {
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}`}
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%"
dominantBaseline="middle"
textAnchor="middle"
fontSize="24"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;