Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="large"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -47,16 +47,16 @@ export default function LandingPage() {
|
||||
tag="Premium Digital Invitations"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
leftCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/happy-new-year-2019-poster_23-2147973349.jpg?_wi=1", imageAlt: "Cinematic video wedding invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/happy-new-year-2019-poster_23-2147973349.jpg", imageAlt: "Cinematic video wedding invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/new-year-2023-celebration-vertical-banner-template_23-2149823009.jpg", imageAlt: "Event and celebration invitations" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/watercolor-boho-wedding-landing-page_23-2149057410.jpg", imageAlt: "Premium face match invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-sale-instagram-story-collection_23-2148997756.jpg", imageAlt: "Multiple format invitation design" }
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/lovely-wedding-invitation-template-with-photo_23-2148362711.jpg?_wi=1", imageAlt: "AI-powered face matching invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/wedding-invitation-elegant-design_23-2148458677.jpg?_wi=1", imageAlt: "WhatsApp and Instagram ready invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/lovely-wedding-invitation-template-with-photo_23-2148362711.jpg", imageAlt: "AI-powered face matching invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/wedding-invitation-elegant-design_23-2148458677.jpg", imageAlt: "WhatsApp and Instagram ready invitation" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/new-year-party-flyer_23-2148016038.jpg", imageAlt: "Birthday and celebration invitations" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/business-template-design_23-2151119826.jpg", imageAlt: "Social media sharing invitation" }
|
||||
]}
|
||||
@@ -134,19 +134,19 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
plans={[
|
||||
{
|
||||
id: "basic", title: "Premium Invite", price: "₹4,999", period: "per design", imageSrc: "http://img.b2bpic.net/free-vector/happy-new-year-2019-poster_23-2147973349.jpg?_wi=2", imageAlt: "Premium cinematic invitation", button: { text: "Book Now", href: "contact" },
|
||||
id: "basic", title: "Premium Invite", price: "₹4,999", period: "per design", imageSrc: "http://img.b2bpic.net/free-vector/happy-new-year-2019-poster_23-2147973349.jpg", imageAlt: "Premium cinematic invitation", button: { text: "Book Now", href: "contact" },
|
||||
features: [
|
||||
"Cinematic Video Design", "Portrait Format (9:16)", "No Face Matching", "WhatsApp & Instagram Ready", "Fast Turnaround"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "pro", title: "Ultra-Real Face Match", price: "₹6,999", period: "per design", imageSrc: "http://img.b2bpic.net/free-vector/lovely-wedding-invitation-template-with-photo_23-2148362711.jpg?_wi=2", imageAlt: "AI face match invitation", button: { text: "Book Now", href: "contact" },
|
||||
id: "pro", title: "Ultra-Real Face Match", price: "₹6,999", period: "per design", imageSrc: "http://img.b2bpic.net/free-vector/lovely-wedding-invitation-template-with-photo_23-2148362711.jpg", imageAlt: "AI face match invitation", button: { text: "Book Now", href: "contact" },
|
||||
features: [
|
||||
"AI Face Match Technology", "Advanced Customization", "Portrait & Landscape Formats", "Premium Cinematic Effects", "Dedicated Support"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "premium", title: "Complete Package", price: "₹9,999", period: "all events", imageSrc: "http://img.b2bpic.net/free-vector/wedding-invitation-elegant-design_23-2148458677.jpg?_wi=2", imageAlt: "Complete invitation package", button: { text: "Book Now", href: "contact" },
|
||||
id: "premium", title: "Complete Package", price: "₹9,999", period: "all events", imageSrc: "http://img.b2bpic.net/free-vector/wedding-invitation-elegant-design_23-2148458677.jpg", imageAlt: "Complete invitation package", button: { text: "Book Now", href: "contact" },
|
||||
features: [
|
||||
"Multiple Event Invites", "Unlimited Revisions", "Full HD + 4K Options", "All Format Support", "Priority Support"
|
||||
]
|
||||
|
||||
@@ -1,51 +1,29 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '' }) => {
|
||||
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 50"
|
||||
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="10"
|
||||
y="35"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user