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";
|
import { Download, Github, Globe, MessageSquare, Rocket, Shield, Smartphone, Twitter, Zap } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const scrollToSection = (id: string) => {
|
||||||
|
const element = document.getElementById(id.replace(/^#/, ""));
|
||||||
|
if (element) {
|
||||||
|
element.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -61,9 +68,9 @@ export default function LandingPage() {
|
|||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Get Started", href: "#"},
|
text: "Get Started", onClick: () => scrollToSection("contact")},
|
||||||
{
|
{
|
||||||
text: "See Demo", href: "#"},
|
text: "See Demo", onClick: () => scrollToSection("features")},
|
||||||
]}
|
]}
|
||||||
marqueeItems={[
|
marqueeItems={[
|
||||||
{
|
{
|
||||||
@@ -223,4 +230,4 @@ export default function LandingPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user