Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bcb0d59cc3 |
@@ -14,6 +14,13 @@ import FooterBase from '@/components/sections/footer/FooterBase';
|
|||||||
import { Zap, CheckCircle, Sparkles, Award, Crown } from "lucide-react";
|
import { Zap, CheckCircle, Sparkles, Award, Crown } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const scrollToSection = (sectionId: string) => {
|
||||||
|
const element = document.getElementById(sectionId);
|
||||||
|
if (element) {
|
||||||
|
element.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="expand-hover"
|
defaultButtonVariant="expand-hover"
|
||||||
@@ -87,7 +94,7 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "#products"
|
text: "Learn More", onClick: () => scrollToSection('products')
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
features={[
|
features={[
|
||||||
|
|||||||
Reference in New Issue
Block a user