Compare commits
8 Commits
version_3
...
version_12
| Author | SHA1 | Date | |
|---|---|---|---|
| d644d82f1e | |||
| 655b4e522c | |||
| 372c9528f5 | |||
| d1a04c75f9 | |||
| 399d4f09a8 | |||
| fc0512483d | |||
| be72b08fa2 | |||
| 109abca090 |
@@ -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,8 +43,8 @@ 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="Enrollment deadline: 5 days left"
|
||||||
tag="Premium Tech Education"
|
tag="Premium Tech Education"
|
||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/college-students-different-ethnicities-cramming_23-2149891341.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/college-students-different-ethnicities-cramming_23-2149891341.jpg"
|
||||||
@@ -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"
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ const ContactFaq = ({
|
|||||||
ctaButtonTextClassName
|
ctaButtonTextClassName
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<button className="mt-4 bg-primary-cta text-secondary-cta px-4 py-2 rounded-md">Live Chat</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -102,6 +102,13 @@ const HeroOverlay = ({
|
|||||||
textPosition === "center" ? "items-center justify-center" : "items-end pb-[var(--width-10)] md:pb-hero-page-padding",
|
textPosition === "center" ? "items-center justify-center" : "items-end pb-[var(--width-10)] md:pb-hero-page-padding",
|
||||||
containerClassName
|
containerClassName
|
||||||
)}>
|
)}>
|
||||||
|
<div className="mb-4">
|
||||||
|
<div className="bg-gray-200 rounded-full h-2">
|
||||||
|
<div style={{ width: "50%" }} className="bg-primary-cta h-2 rounded-full"></div>
|
||||||
|
</div>
|
||||||
|
<span className="block text-sm text-gray-500">500 Students Enrolled This Month</span>
|
||||||
|
</div>
|
||||||
|
<div className="text-2xl font-bold">03:14:07</div>
|
||||||
<TextBox
|
<TextBox
|
||||||
title={title}
|
title={title}
|
||||||
description={description}
|
description={description}
|
||||||
|
|||||||
@@ -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,48 +117,50 @@ const ProductCardOne = ({
|
|||||||
const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle);
|
const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CardStack
|
<>
|
||||||
mode={carouselMode}
|
<span className="inline-block px-3 py-1 text-sm font-medium rounded-full bg-primary-cta/10 text-primary-cta">New Course</span>
|
||||||
gridVariant={gridVariant}
|
<CardStack
|
||||||
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
|
mode={carouselMode}
|
||||||
animationType={animationType}
|
gridVariant={gridVariant}
|
||||||
|
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
|
||||||
title={title}
|
animationType={animationType}
|
||||||
titleSegments={titleSegments}
|
title={title}
|
||||||
description={description}
|
titleSegments={titleSegments}
|
||||||
tag={tag}
|
description={description}
|
||||||
tagIcon={tagIcon}
|
tag={tag}
|
||||||
buttons={buttons}
|
tagIcon={tagIcon}
|
||||||
textboxLayout={textboxLayout}
|
buttons={buttons}
|
||||||
useInvertedBackground={useInvertedBackground}
|
textboxLayout={textboxLayout}
|
||||||
className={className}
|
useInvertedBackground={useInvertedBackground}
|
||||||
containerClassName={containerClassName}
|
className={className}
|
||||||
gridClassName={gridClassName}
|
containerClassName={containerClassName}
|
||||||
carouselClassName={carouselClassName}
|
gridClassName={gridClassName}
|
||||||
controlsClassName={controlsClassName}
|
carouselClassName={carouselClassName}
|
||||||
textBoxClassName={textBoxClassName}
|
controlsClassName={controlsClassName}
|
||||||
titleClassName={textBoxTitleClassName}
|
textBoxClassName={textBoxClassName}
|
||||||
titleImageWrapperClassName={textBoxTitleImageWrapperClassName}
|
titleClassName={textBoxTitleClassName}
|
||||||
titleImageClassName={textBoxTitleImageClassName}
|
titleImageWrapperClassName={textBoxTitleImageWrapperClassName}
|
||||||
descriptionClassName={textBoxDescriptionClassName}
|
titleImageClassName={textBoxTitleImageClassName}
|
||||||
tagClassName={textBoxTagClassName}
|
descriptionClassName={textBoxDescriptionClassName}
|
||||||
buttonContainerClassName={textBoxButtonContainerClassName}
|
tagClassName={textBoxTagClassName}
|
||||||
buttonClassName={textBoxButtonClassName}
|
buttonContainerClassName={textBoxButtonContainerClassName}
|
||||||
buttonTextClassName={textBoxButtonTextClassName}
|
buttonClassName={textBoxButtonClassName}
|
||||||
ariaLabel={ariaLabel}
|
buttonTextClassName={textBoxButtonTextClassName}
|
||||||
>
|
ariaLabel={ariaLabel}
|
||||||
{products.map((product, index) => (
|
>
|
||||||
<ProductCardItem
|
{products.map((product, index) => (
|
||||||
key={`${product.id}-${index}`}
|
<ProductCardItem
|
||||||
product={product}
|
key={`${product.id}-${index}`}
|
||||||
shouldUseLightText={shouldUseLightText}
|
product={product}
|
||||||
cardClassName={cardClassName}
|
shouldUseLightText={shouldUseLightText}
|
||||||
imageClassName={imageClassName}
|
cardClassName={cardClassName}
|
||||||
cardNameClassName={cardNameClassName}
|
imageClassName={imageClassName}
|
||||||
cardPriceClassName={cardPriceClassName}
|
cardNameClassName={cardNameClassName}
|
||||||
/>
|
cardPriceClassName={cardPriceClassName}
|
||||||
))}
|
/>
|
||||||
</CardStack>
|
))}
|
||||||
|
</CardStack>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import { memo } from "react";
|
import { memo } from "react";
|
||||||
|
|
||||||
|
|
||||||
import FullWidthCarousel from "@/components/cardStack/layouts/carousels/FullWidthCarousel";
|
import FullWidthCarousel from "@/components/cardStack/layouts/carousels/FullWidthCarousel";
|
||||||
import MediaContent from "@/components/shared/MediaContent";
|
import MediaContent from "@/components/shared/MediaContent";
|
||||||
import Tag from "@/components/shared/Tag";
|
import Tag from "@/components/shared/Tag";
|
||||||
@@ -11,6 +10,7 @@ import { cls, shouldUseInvertedText } from "@/lib/utils";
|
|||||||
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import type { ButtonConfig, TitleSegment, TextboxLayout, InvertedBackground } from "@/components/cardStack/types";
|
import type { ButtonConfig, TitleSegment, TextboxLayout, InvertedBackground } from "@/components/cardStack/types";
|
||||||
|
import { Star } from "lucide-react";
|
||||||
|
|
||||||
type Testimonial = {
|
type Testimonial = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -204,6 +204,13 @@ const TestimonialCardFive = ({
|
|||||||
buttonTextClassName={textBoxButtonTextClassName}
|
buttonTextClassName={textBoxButtonTextClassName}
|
||||||
ariaLabel={ariaLabel}
|
ariaLabel={ariaLabel}
|
||||||
>
|
>
|
||||||
|
<div className="flex items-center mb-4">
|
||||||
|
<Star className="w-4 h-4 text-yellow-400" />
|
||||||
|
<Star className="w-4 h-4 text-yellow-400" />
|
||||||
|
<Star className="w-4 h-4 text-yellow-400" />
|
||||||
|
<Star className="w-4 h-4 text-gray-300" />
|
||||||
|
<Star className="w-4 h-4 text-gray-300" />
|
||||||
|
</div>
|
||||||
{testimonials.map((testimonial, index) => (
|
{testimonials.map((testimonial, index) => (
|
||||||
<TestimonialCard
|
<TestimonialCard
|
||||||
key={`${testimonial.id}-${index}`}
|
key={`${testimonial.id}-${index}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user