8 Commits

3 changed files with 53 additions and 39 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 FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
export default function HomePage() { export default function HomePage() {
return ( return (
@@ -42,7 +42,7 @@ export default function HomePage() {
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<HeroCarouselLogo <HeroCarouselLogo
logoText="TECHACADEMY" logoText="STEP Academy"
description="Master in-demand technology skills with our comprehensive IT courses. Learn from industry experts and launch your tech career." description="Master in-demand technology skills with our comprehensive IT courses. Learn from industry experts and launch your tech career."
buttons={[ buttons={[
{ text: "Explore Courses", href: "/courses" }, { text: "Explore Courses", href: "/courses" },
@@ -65,7 +65,7 @@ export default function HomePage() {
</div> </div>
<div id="features" data-section="features"> <div id="features" data-section="features">
<FeatureCardNine <FeatureCardSeven
features={[ features={[
{ {
id: 1, id: 1,
@@ -95,9 +95,11 @@ export default function HomePage() {
} }
} }
]} ]}
showStepNumbers={true} animationType="none"
title="Why Choose TechAcademy" title="Why Choose TechAcademy"
description="Industry-leading education platform designed for career growth" description="Industry-leading education platform designed for career growth"
tag="Unique"
buttons={[{ text: "View Courses", label: "courses", href: "/courses" }, { text: "Learn More", label: "about", href: "/about" }]}
textboxLayout="default" textboxLayout="default"
useInvertedBackground="invertDefault" useInvertedBackground="invertDefault"
/> />

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

@@ -137,6 +137,12 @@ const ProductCardItem = memo(({
{product.price} {product.price}
</p> </p>
</div> </div>
<button
className={cls("bg-primary-cta text-secondary-cta rounded-lg px-4 py-2 mt-4", actionButtonClassName)}
onClick={(e) => e.stopPropagation()}
>
ADD TO CART
</button>
</article> </article>
); );
}); });