Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 09:42:53 +00:00
2 changed files with 28 additions and 38 deletions

View File

@@ -11,7 +11,7 @@ import FaqBase from '@/components/sections/faq/FaqBase';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, Clock, Download, FileVideo, Film, Gauge, HelpCircle, Layers, MessageCircle, Play, RefreshCw, Rocket, Scissors, Settings, Sparkles, Star, Wand2, Zap } from 'lucide-react';
import { Award, Clock, Download, FileVideo, Film, Gauge, HelpCircle, Layers, MessageCircle, Play, RefreshCw, Rocket, Scissors, Settings, Sparkles, Star, Wand2, Zap, Users } from 'lucide-react';
export default function LandingPage() {
return (
@@ -115,7 +115,7 @@ export default function LandingPage() {
]
},
{
title: "Master Workflow", description: "Optimize your editing process for maximum efficiency", bentoComponent: "3d-task-list", title: "Master Workflow", items: [
title: "Master Workflow", description: "Optimize your editing process for maximum efficiency", bentoComponent: "3d-task-list", items: [
{ icon: FileVideo, label: "Import & Organize", time: "Module 1" },
{ icon: Scissors, label: "Cut & Trim", time: "Module 2" },
{ icon: Gauge, label: "Render & Export", time: "Module 5" }

View File

@@ -1,51 +1,41 @@
"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;
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 = 24,
fontFamily = 'Arial, sans-serif',
fontWeight = 700,
fill = 'currentColor',
className = '',
}) => {
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}`}
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"
}}
y={fontSize}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;