Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a1e77a3757 | |||
| bbf5e0f7ba | |||
| 90dab6fbe8 | |||
| 47e4251feb | |||
| 84088a94f3 |
@@ -13,6 +13,15 @@ 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);
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: "smooth" });
|
||||
} else {
|
||||
console.warn(`Element with id "${id}" not found.`);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -61,9 +70,9 @@ export default function LandingPage() {
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Started", href: "#"},
|
||||
text: "Get Started", onClick: () => scrollToSection("get-started")},
|
||||
{
|
||||
text: "See Demo", href: "#"},
|
||||
text: "See Demo", onClick: () => scrollToSection("features")},
|
||||
]}
|
||||
marqueeItems={[
|
||||
{
|
||||
@@ -163,7 +172,7 @@ export default function LandingPage() {
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/public-speaker-reading-from-clipboard-files-studio-background_482257-82734.jpg", alt: "young developer portrait"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/modern-woman-with-tablet_23-2148415935.jpg", alt: "female software architect"},
|
||||
src: "http://img.b2bpic.net/modern-woman-with-tablet_23-2148415935.jpg", alt: "female software architect"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/man-enjoys-city-skyscrapers-night_482257-91205.jpg", alt: "tech entrepreneur portrait"},
|
||||
{
|
||||
@@ -197,7 +206,7 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<div id="get-started" data-section="get-started">
|
||||
<ContactText
|
||||
useInvertedBackground={true}
|
||||
background={{
|
||||
@@ -223,4 +232,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user