Merge version_3 into main
Merge version_3 into main
This commit was merged in pull request #1.
This commit is contained in:
@@ -5,6 +5,7 @@ import HeroBackgrounds, { type HeroBackgroundVariantProps } from "@/components/b
|
||||
import EmailSignupForm from "@/components/form/EmailSignupForm";
|
||||
import { cls } from "@/lib/utils";
|
||||
import { LucideIcon } from "lucide-react";
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
type HeroSignupBackgroundProps = Extract<
|
||||
HeroBackgroundVariantProps,
|
||||
@@ -79,17 +80,23 @@ const HeroSignup = ({
|
||||
>
|
||||
<HeroBackgrounds {...background} />
|
||||
<div className={cls("w-content-width mx-auto relative z-10", containerClassName)}>
|
||||
<TextBox
|
||||
title={title}
|
||||
description={description}
|
||||
tag={tag}
|
||||
tagIcon={tagIcon}
|
||||
className={cls("md:max-w-6/10 xl:max-w-45/100 mx-auto flex flex-col gap-3 md:gap-6", textBoxClassName)}
|
||||
titleClassName={cls("text-7xl font-medium text-balance", titleClassName)}
|
||||
descriptionClassName={cls("text-lg md:text-xl leading-tight text-balance", descriptionClassName)}
|
||||
tagClassName={cls("mb-0", tagClassName)}
|
||||
center={true}
|
||||
/>
|
||||
<motion.div
|
||||
initial={{ opacity: 0, x: -50 }}
|
||||
animate={{ opacity: 1, x: 0 }}
|
||||
transition={{ duration: 1 }}
|
||||
>
|
||||
<TextBox
|
||||
title={title}
|
||||
description={description}
|
||||
tag={tag}
|
||||
tagIcon={tagIcon}
|
||||
className={cls("md:max-w-6/10 xl:max-w-45/100 mx-auto flex flex-col gap-3 md:gap-6", textBoxClassName)}
|
||||
titleClassName={cls("text-7xl font-medium text-balance", titleClassName)}
|
||||
descriptionClassName={cls("text-lg md:text-xl leading-tight text-balance", descriptionClassName)}
|
||||
tagClassName={cls("mb-0", tagClassName)}
|
||||
center={true}
|
||||
/>
|
||||
</motion.div>
|
||||
<div className={cls("md:max-w-6/10 xl:max-w-45/100 mx-auto mt-6", formWrapperClassName)}>
|
||||
<EmailSignupForm
|
||||
inputPlaceholder={inputPlaceholder}
|
||||
|
||||
Reference in New Issue
Block a user