Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c937f02b34 | |||
| a1e77a3757 | |||
| bbf5e0f7ba |
@@ -14,9 +14,11 @@ import { Download, Github, Globe, MessageSquare, Rocket, Shield, Smartphone, Twi
|
|||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
const scrollToSection = (id: string) => {
|
const scrollToSection = (id: string) => {
|
||||||
const element = document.getElementById(id.replace(/^#/, ""));
|
const element = document.getElementById(id);
|
||||||
if (element) {
|
if (element) {
|
||||||
element.scrollIntoView({ behavior: "smooth" });
|
element.scrollIntoView({ behavior: "smooth" });
|
||||||
|
} else {
|
||||||
|
console.warn(`Element with id "${id}" not found.`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -68,7 +70,7 @@ export default function LandingPage() {
|
|||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Get Started", onClick: () => scrollToSection("contact")},
|
text: "Get Started", onClick: () => scrollToSection("get-started")},
|
||||||
{
|
{
|
||||||
text: "See Demo", onClick: () => scrollToSection("features")},
|
text: "See Demo", onClick: () => scrollToSection("features")},
|
||||||
]}
|
]}
|
||||||
@@ -170,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/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"},
|
src: "http://img.b2bpic.net/free-photo/man-enjoys-city-skyscrapers-night_482257-91205.jpg", alt: "tech entrepreneur portrait"},
|
||||||
{
|
{
|
||||||
@@ -204,7 +206,7 @@ export default function LandingPage() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="contact" data-section="contact">
|
<div id="get-started" data-section="get-started">
|
||||||
<ContactText
|
<ContactText
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
background={{
|
background={{
|
||||||
|
|||||||
Reference in New Issue
Block a user