Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da8ace3898 | |||
| b159ebc298 |
@@ -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,7 +65,7 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="features" data-section="features">
|
<div id="features" data-section="features">
|
||||||
<FeatureCardNine
|
<FeatureCardOne
|
||||||
features={[
|
features={[
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
@@ -95,9 +95,13 @@ export default function HomePage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
showStepNumbers={true}
|
carouselMode="auto"
|
||||||
|
gridVariant="uniform-all-items-equal"
|
||||||
|
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="Label"
|
||||||
|
buttons={[{ label: "Primary", href: "#" }, { label: "Secondary", href: "#" }]}
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground="invertDefault"
|
useInvertedBackground="invertDefault"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -97,12 +97,6 @@ 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>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -161,6 +161,7 @@ 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user