3 Commits

4 changed files with 49 additions and 43 deletions

View File

@@ -3,13 +3,13 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo'; import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne'; import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterMedia from '@/components/sections/footer/FooterMedia'; import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Users, TrendingUp, Award, Star } from "lucide-react"; import { Users, TrendingUp, Award, Star } from "lucide-react";
import Link from "next/link"; import Link from "next/link";
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
export default function HomePage() { export default function HomePage() {
return ( return (
@@ -65,46 +65,42 @@ export default function HomePage() {
</div> </div>
<div id="features" data-section="features"> <div id="features" data-section="features">
<FeatureCardOne <FeatureCardNine
features={[ features={[
{ {
id: 1, id: 1,
title: "Expert Instructors", description: "Learn from experienced professionals with 10+ years in the tech industry. Our instructors bring real-world insights and practical knowledge to every lesson.", phoneOne: { title: "Expert Instructors", description: "Learn from experienced professionals with 10+ years in the tech industry. Our instructors bring real-world insights and practical knowledge to every lesson.", phoneOne: {
imageSrc: "https://img.b2bpic.net/free-photo/caucasian-software-developer-signaling-screen-data-breach-deactivated-security-system-tech-engineer-observing-multiple-system-security-breaches-caused-by-overloaded-storage-servers_482257-40529.jpg" imageSrc: "https://img.b2bpic.net/free-photo/caucasian-software-developer-signaling-screen-data-breach-deactivated-security-system-tech-engineer-observing-multiple-system-security-breaches-caused-by-overloaded-storage-servers_482257-40529.jpg"
}, },
phoneTwo: { phoneTwo: {
imageSrc: "https://img.b2bpic.net/free-photo/caucasian-software-developer-signaling-screen-data-breach-deactivated-security-system-tech-engineer-observing-multiple-system-security-breaches-caused-by-overloaded-storage-servers_482257-40529.jpg" imageSrc: "https://img.b2bpic.net/free-photo/caucasian-software-developer-signaling-screen-data-breach-deactivated-security-system-tech-engineer-observing-multiple-system-security-breaches-caused-by-overloaded-storage-servers_482257-40529.jpg"
} }
}, },
{ {
id: 2, id: 2,
title: "Flexible Learning", description: "Study at your own pace with self-paced courses, live sessions, and recorded content. Access materials anytime, anywhere on any device.", phoneOne: { title: "Flexible Learning", description: "Study at your own pace with self-paced courses, live sessions, and recorded content. Access materials anytime, anywhere on any device.", phoneOne: {
imageSrc: "https://img.b2bpic.net/free-photo/informational-agency-multiracial-tech-engineers-programming-application-while-using-computer-cyber-security-company-developers-encrypting-cloud-processing-data-system-using-blockchain-technology_482257-40527.jpg" imageSrc: "https://img.b2bpic.net/free-photo/informational-agency-multiracial-tech-engineers-programming-application-while-using-computer-cyber-security-company-developers-encrypting-cloud-processing-data-system-using-blockchain-technology_482257-40527.jpg"
}, },
phoneTwo: { phoneTwo: {
imageSrc: "https://img.b2bpic.net/free-photo/informational-agency-multiracial-tech-engineers-programming-application-while-using-computer-cyber-security-company-developers-encrypting-cloud-processing-data-system-using-blockchain-technology_482257-40527.jpg" imageSrc: "https://img.b2bpic.net/free-photo/informational-agency-multiracial-tech-engineers-programming-application-while-using-computer-cyber-security-company-developers-encrypting-cloud-processing-data-system-using-blockchain-technology_482257-40527.jpg"
} }
}, },
{ {
id: 3, id: 3,
title: "Career Support", description: "Get job placement assistance, resume reviews, and interview coaching. Our alumni network opens doors to exciting career opportunities.", phoneOne: { title: "Career Support", description: "Get job placement assistance, resume reviews, and interview coaching. Our alumni network opens doors to exciting career opportunities.", phoneOne: {
imageSrc: "https://img.b2bpic.net/free-photo/software-programer-pointing-pencil-source-code-computer-screen-explaining-algorithm-coworker-standing-desk-programmers-discussing-online-cloud-computing-with-team_482257-33535.jpg" imageSrc: "https://img.b2bpic.net/free-photo/software-programer-pointing-pencil-source-code-computer-screen-explaining-algorithm-coworker-standing-desk-programmers-discussing-online-cloud-computing-with-team_482257-33535.jpg"
}, },
phoneTwo: { phoneTwo: {
imageSrc: "https://img.b2bpic.net/free-photo/software-programer-pointing-pencil-source-code-computer-screen-explaining-algorithm-coworker-standing-desk-programmers-discussing-online-cloud-computing-with-team_482257-33535.jpg" imageSrc: "https://img.b2bpic.net/free-photo/software-programer-pointing-pencil-source-code-computer-screen-explaining-algorithm-coworker-standing-desk-programmers-discussing-online-cloud-computing-with-team_482257-33535.jpg"
} }
} }
]} ]}
carouselMode="auto" showStepNumbers={true}
gridVariant="uniform-all-items-equal" title="Why Choose TechAcademy"
animationType="none" description="Industry-leading education platform designed for career growth"
title="Why Choose TechAcademy" textboxLayout="default"
description="Industry-leading education platform designed for career growth" useInvertedBackground="invertDefault"
tag="Label" />
buttons={[{ label: "Primary", href: "#" }, { label: "Secondary", href: "#" }]}
textboxLayout="default"
useInvertedBackground="invertDefault"
/>
</div> </div>
<div id="products" data-section="products"> <div id="products" data-section="products">

View File

@@ -97,6 +97,12 @@ const FeatureContent = ({
<p className={cls("text-base leading-[1.2] text-balance", useInvertedBackground === "invertDefault" ? "text-background/75" : "text-foreground/75", featureDescriptionClassName)}> <p className={cls("text-base leading-[1.2] text-balance", useInvertedBackground === "invertDefault" ? "text-background/75" : "text-foreground/75", featureDescriptionClassName)}>
{feature.description} {feature.description}
</p> </p>
<button
variant="error"
className={cls("bg-red-500 text-white px-4 py-2 rounded-full mt-4", "hover:bg-red-600", "focus:outline-none focus:ring-2 focus:ring-red-300")}
>
With
</button>
</div> </div>
); );

View File

@@ -161,7 +161,6 @@ const FeatureCardOne = ({
{feature.button && ( {feature.button && (
<Button {...getButtonProps(feature.button, 0, theme.defaultButtonVariant, cls("w-full", cardButtonClassName), cardButtonTextClassName)} /> <Button {...getButtonProps(feature.button, 0, theme.defaultButtonVariant, cls("w-full", cardButtonClassName), cardButtonTextClassName)} />
)} )}
<button className="mt-4 bg-primary text-background px-4 py-2 rounded-lg">Click Me</button> {/* Inserted button element */}
</div> </div>
))} ))}
</CardStack> </CardStack>

View File

@@ -137,6 +137,11 @@ const ProductCardItem = memo(({
{product.price} {product.price}
</p> </p>
</div> </div>
<button
className={cls("bg-primary-cta text-secondary-cta px-4 py-2 rounded-full text-sm font-medium", actionButtonClassName)}
>
Buy
</button>
</article> </article>
); );
}); });
@@ -195,7 +200,7 @@ const ProductCardTwo = ({
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses} uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
gridRowsClassName={customGridRows} gridRowsClassName={customGridRows}
animationType={animationType} animationType={animationType}
title={title} title={title}
titleSegments={titleSegments} titleSegments={titleSegments}
description={description} description={description}