Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 90dab6fbe8 | |||
| 47e4251feb | |||
| 84088a94f3 |
@@ -13,6 +13,13 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
|
||||
import { Download, Github, Globe, MessageSquare, Rocket, Shield, Smartphone, Twitter, Zap } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const scrollToSection = (id: string) => {
|
||||
const element = document.getElementById(id.replace(/^#/, ""));
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -61,9 +68,9 @@ export default function LandingPage() {
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Started", href: "#"},
|
||||
text: "Get Started", onClick: () => scrollToSection("contact")},
|
||||
{
|
||||
text: "See Demo", href: "#"},
|
||||
text: "See Demo", onClick: () => scrollToSection("features")},
|
||||
]}
|
||||
marqueeItems={[
|
||||
{
|
||||
@@ -223,4 +230,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user