2 Commits

Author SHA1 Message Date
420db54656 Merge version_3 into main
Merge version_3 into main
2026-02-09 16:15:45 +00:00
34a568195a Bob AI: Add animation to the hero section text 2026-02-09 18:15:09 +02:00

View File

@@ -5,6 +5,7 @@ import HeroBackgrounds, { type HeroBackgroundVariantProps } from "@/components/b
import EmailSignupForm from "@/components/form/EmailSignupForm"; import EmailSignupForm from "@/components/form/EmailSignupForm";
import { cls } from "@/lib/utils"; import { cls } from "@/lib/utils";
import { LucideIcon } from "lucide-react"; import { LucideIcon } from "lucide-react";
import { motion } from "framer-motion";
type HeroSignupBackgroundProps = Extract< type HeroSignupBackgroundProps = Extract<
HeroBackgroundVariantProps, HeroBackgroundVariantProps,
@@ -79,17 +80,23 @@ const HeroSignup = ({
> >
<HeroBackgrounds {...background} /> <HeroBackgrounds {...background} />
<div className={cls("w-content-width mx-auto relative z-10", containerClassName)}> <div className={cls("w-content-width mx-auto relative z-10", containerClassName)}>
<TextBox <motion.div
title={title} initial={{ opacity: 0, x: -50 }}
description={description} animate={{ opacity: 1, x: 0 }}
tag={tag} transition={{ duration: 1 }}
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)} <TextBox
titleClassName={cls("text-7xl font-medium text-balance", titleClassName)} title={title}
descriptionClassName={cls("text-lg md:text-xl leading-tight text-balance", descriptionClassName)} description={description}
tagClassName={cls("mb-0", tagClassName)} tag={tag}
center={true} 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)}> <div className={cls("md:max-w-6/10 xl:max-w-45/100 mx-auto mt-6", formWrapperClassName)}>
<EmailSignupForm <EmailSignupForm
inputPlaceholder={inputPlaceholder} inputPlaceholder={inputPlaceholder}