Merge version_1 into main #2
@@ -43,7 +43,7 @@ export default function LandingPage() {
|
||||
<HeroCentered
|
||||
title="Professional videos in minutes, not hours"
|
||||
description="AI-powered editing meets intuitive design. Create stunning content with templates, effects, and auto-captions—no experience needed"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "downward-rays-static" }}
|
||||
avatars={[
|
||||
{ src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-portrait-photo-of-a-young-content-crea-1773297381747-0047ef91.png", alt: "Content creator using CapCut" },
|
||||
{ src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-portrait-of-a-diverse-content-creator--1773297381707-be518767.png", alt: "Social media creator" },
|
||||
@@ -70,13 +70,13 @@ export default function LandingPage() {
|
||||
id: "01", title: "AI Auto-Captions", description: "Automatically generate accurate captions synced to your video. Perfect for social media accessibility and engagement.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-screenshot-showing-ai-auto-caption-gen-1773297381732-9df50ec0.png", imageAlt: "AI auto-caption generation feature"
|
||||
},
|
||||
{
|
||||
id: "02", title: "Trending Templates", description: "Access thousands of trending templates designed for TikTok, Instagram Reels, YouTube Shorts, and more.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-vibrant-grid-of-trending-video-templat-1773297382971-377f3f75.png?_wi=1", imageAlt: "Trending video templates library"
|
||||
id: "02", title: "Trending Templates", description: "Access thousands of trending templates designed for TikTok, Instagram Reels, YouTube Shorts, and more.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-vibrant-grid-of-trending-video-templat-1773297382971-377f3f75.png", imageAlt: "Trending video templates library"
|
||||
},
|
||||
{
|
||||
id: "03", title: "One-Click Effects", description: "Apply professional effects, transitions, and filters with a single click. No technical expertise required.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-showcase-of-one-click-video-effects-an-1773297382223-bcefcb47.png?_wi=1", imageAlt: "Professional video effects library"
|
||||
id: "03", title: "One-Click Effects", description: "Apply professional effects, transitions, and filters with a single click. No technical expertise required.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-showcase-of-one-click-video-effects-an-1773297382223-bcefcb47.png", imageAlt: "Professional video effects library"
|
||||
},
|
||||
{
|
||||
id: "04", title: "Cloud-Based Editing", description: "Edit anywhere, anytime. Your projects sync automatically across all devices for seamless collaboration.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-modern-sleek-web-based-video-editing-i-1773297383494-b36da716.png?_wi=1", imageAlt: "Cloud-based video editing interface"
|
||||
id: "04", title: "Cloud-Based Editing", description: "Edit anywhere, anytime. Your projects sync automatically across all devices for seamless collaboration.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-modern-sleek-web-based-video-editing-i-1773297383494-b36da716.png", imageAlt: "Cloud-based video editing interface"
|
||||
}
|
||||
]}
|
||||
gridVariant="bento-grid"
|
||||
@@ -96,15 +96,15 @@ export default function LandingPage() {
|
||||
products={[
|
||||
{
|
||||
id: "1", brand: "CapCut Premium", name: "TikTok Trending Transitions", price: "Free", rating: 5,
|
||||
reviewCount: "45.2k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-vibrant-grid-of-trending-video-templat-1773297382971-377f3f75.png?_wi=2", imageAlt: "TikTok trending transitions template"
|
||||
reviewCount: "45.2k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-vibrant-grid-of-trending-video-templat-1773297382971-377f3f75.png", imageAlt: "TikTok trending transitions template"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "CapCut Premium", name: "Instagram Reels Effects", price: "Free", rating: 5,
|
||||
reviewCount: "38.9k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-showcase-of-one-click-video-effects-an-1773297382223-bcefcb47.png?_wi=2", imageAlt: "Instagram Reels effects template"
|
||||
reviewCount: "38.9k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-showcase-of-one-click-video-effects-an-1773297382223-bcefcb47.png", imageAlt: "Instagram Reels effects template"
|
||||
},
|
||||
{
|
||||
id: "3", brand: "CapCut Premium", name: "YouTube Shorts Pack", price: "Free", rating: 5,
|
||||
reviewCount: "52.1k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-modern-sleek-web-based-video-editing-i-1773297383494-b36da716.png?_wi=2", imageAlt: "YouTube Shorts template pack"
|
||||
reviewCount: "52.1k", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AplI5nC06cae3GPUQyIxugqXXK/a-modern-sleek-web-based-video-editing-i-1773297383494-b36da716.png", imageAlt: "YouTube Shorts template pack"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"use client";
|
||||
import React, { SVGProps } from 'react';
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: 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 = 'Webild', className = '', ...props }) => {
|
||||
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 200 100"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
{...props}
|
||||
>
|
||||
<defs>
|
||||
<linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style={{ stopColor: '#3b82f6', stopOpacity: 1 }} />
|
||||
<stop offset="100%" style={{ stopColor: '#8b5cf6', stopOpacity: 1 }} />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<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="middle"
|
||||
fill="url(#textGradient)"
|
||||
fontSize="48"
|
||||
fontWeight="bold"
|
||||
fontFamily="system-ui, -apple-system, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user