Compare commits

...

3 Commits

2 changed files with 57 additions and 78 deletions

View File

@@ -12,6 +12,7 @@ import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import ContactFaq from '@/components/sections/contact/ContactFaq'; import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, CheckCircle } from "lucide-react"; import { Sparkles, CheckCircle } from "lucide-react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
export default function LandingPage() { export default function LandingPage() {
return ( return (
@@ -42,7 +43,7 @@ export default function LandingPage() {
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<HeroOverlay <HeroOverlay
title="Master Technology. Shape Your Future." title="Launch Your Tech Career Today"
description="Join thousands of students learning cutting-edge IT skills through hands-on courses and expert instruction. Start your journey to a successful tech career today." description="Join thousands of students learning cutting-edge IT skills through hands-on courses and expert instruction. Start your journey to a successful tech career today."
tag="Premium Tech Education" tag="Premium Tech Education"
tagIcon={Sparkles} tagIcon={Sparkles}
@@ -213,6 +214,17 @@ export default function LandingPage() {
/> />
</div> </div>
<div id="contact_split_form" data-section="contact_split_form">
<ContactSplitForm
title="Connect with Us"
description="Get in touch to learn more about our programs and opportunities."
inputs={[{ name: "name", type: "text", placeholder: "Your Name", required: true }, { name: "email", type: "email", placeholder: "Your Email", required: true }, { name: "message", type: "textarea", placeholder: "Your Message", required: false }]}
textarea={{ name: "", placeholder: "" }}
useInvertedBackground="noInvert"
imageSrc="https://placehold.co/600x400"
mediaPosition="left"
/>
</div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<FooterLogoEmphasis <FooterLogoEmphasis
logoText="IT Academy" logoText="IT Academy"

View File

@@ -23,41 +23,6 @@ type ProductCard = {
isFavorited?: boolean; isFavorited?: boolean;
}; };
interface ProductCardOneProps {
products: ProductCard[];
carouselMode?: "auto" | "buttons";
gridVariant: ProductCardOneGridVariant;
uniformGridCustomHeightClasses?: string;
animationType: CardAnimationType;
title: string;
titleSegments?: TitleSegment[];
description: string;
tag?: string;
tagIcon?: LucideIcon;
buttons?: ButtonConfig[];
textboxLayout: TextboxLayout;
useInvertedBackground: InvertedBackground;
ariaLabel?: string;
className?: string;
containerClassName?: string;
cardClassName?: string;
imageClassName?: string;
textBoxTitleClassName?: string;
textBoxTitleImageWrapperClassName?: string;
textBoxTitleImageClassName?: string;
textBoxDescriptionClassName?: string;
cardNameClassName?: string;
cardPriceClassName?: string;
gridClassName?: string;
carouselClassName?: string;
controlsClassName?: string;
textBoxClassName?: string;
textBoxTagClassName?: string;
textBoxButtonContainerClassName?: string;
textBoxButtonClassName?: string;
textBoxButtonTextClassName?: string;
}
interface ProductCardItemProps { interface ProductCardItemProps {
product: ProductCard; product: ProductCard;
shouldUseLightText: boolean; shouldUseLightText: boolean;
@@ -152,12 +117,13 @@ const ProductCardOne = ({
const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle); const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle);
return ( return (
<>
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-primary-cta/10 text-primary-cta">New Course</span>
<CardStack <CardStack
mode={carouselMode} mode={carouselMode}
gridVariant={gridVariant} gridVariant={gridVariant}
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses} uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
animationType={animationType} animationType={animationType}
title={title} title={title}
titleSegments={titleSegments} titleSegments={titleSegments}
description={description} description={description}
@@ -194,6 +160,7 @@ const ProductCardOne = ({
/> />
))} ))}
</CardStack> </CardStack>
</>
); );
}; };