Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -24,7 +24,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmall"
|
||||
background="circleGradient"
|
||||
background="aurora"
|
||||
cardStyle="gradient-radial"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -49,7 +49,7 @@ export default function LandingPage() {
|
||||
<HeroSplitKpi
|
||||
title="Create Stunning Videos with AI-Powered Teleprompter"
|
||||
description="The ultimate mobile app for content creators. Get perfect takes with intelligent script generation, real-time prompting, and seamless video recording—all in one app."
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
kpis={[
|
||||
{ value: "50K+", label: "Creators Using" },
|
||||
{ value: "99.8%", label: "App Rating" },
|
||||
@@ -78,7 +78,7 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "AI Script Generation", tags: ["AI Powered", "Real-time"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlMPx0oN0GDSfjuPgUK2Q3GKVe/ai-powered-script-generation-interface-w-1773333521299-d73631bc.png?_wi=1", imageAlt: "AI script generation feature"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlMPx0oN0GDSfjuPgUK2Q3GKVe/ai-powered-script-generation-interface-w-1773333521299-d73631bc.png", imageAlt: "AI script generation feature"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Crystal Clear Video Recording", tags: ["4K Support", "Stabilization"],
|
||||
@@ -90,7 +90,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: "4", title: "One-Click Publishing", tags: ["Auto Export", "Multi-platform"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlMPx0oN0GDSfjuPgUK2Q3GKVe/ai-powered-script-generation-interface-w-1773333521299-d73631bc.png?_wi=2", imageAlt: "Publishing features"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AlMPx0oN0GDSfjuPgUK2Q3GKVe/ai-powered-script-generation-interface-w-1773333521299-d73631bc.png", imageAlt: "Publishing features"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -151,22 +151,19 @@ export default function LandingPage() {
|
||||
description="Choose the plan that fits your creative needs"
|
||||
plans={[
|
||||
{
|
||||
id: "starter", tag: "Starter Plan", price: "$4.99", period: "/month", description: "Perfect for beginners exploring video creation", button: { text: "Get Started", href: "#signup" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
id: "starter", tag: "Starter Plan", price: "$4.99", period: "/month", description: "Perfect for beginners exploring video creation", button: { text: "Get Started", href: "#signup" }, featuresTitle: "What's Included:", features: [
|
||||
"50 videos per month", "Basic AI script suggestions", "HD video export", "Mobile app access", "Standard teleprompter"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "pro", tag: "Pro Plan", tagIcon: Sparkles,
|
||||
price: "$12.99", period: "/month", description: "Best for serious content creators", button: { text: "Start Pro Trial", href: "#signup" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
price: "$12.99", period: "/month", description: "Best for serious content creators", button: { text: "Start Pro Trial", href: "#signup" }, featuresTitle: "What's Included:", features: [
|
||||
"Unlimited videos", "Advanced AI script generation", "4K video export", "Priority teleprompter controls", "Custom fonts & colors", "Analytics dashboard", "24/7 support"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "studio", tag: "Studio Plan", tagIcon: Crown,
|
||||
price: "Custom", period: "/month", description: "For production teams and agencies", button: { text: "Contact Sales", href: "#contact" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
price: "Custom", period: "/month", description: "For production teams and agencies", button: { text: "Contact Sales", href: "#contact" }, featuresTitle: "What's Included:", features: [
|
||||
"Everything in Pro", "Team collaboration", "Advanced AI customization", "Batch processing", "API access", "Dedicated account manager", "Custom integrations"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"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;
|
||||
size?: 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,
|
||||
size = 48,
|
||||
className = '',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
width={size}
|
||||
height={size}
|
||||
viewBox={`0 0 ${size} ${size}`}
|
||||
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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fontSize={size * 0.6}
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user