Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bcb0d59cc3 | |||
| b5f539f1da | |||
| 9ce4b4aa1d |
@@ -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: "Shop", href: "#products"
|
text: "Learn More", onClick: () => scrollToSection('products')
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
features={[
|
features={[
|
||||||
@@ -259,7 +266,7 @@ export default function LandingPage() {
|
|||||||
text="Ready to experience clean energy without the crash?"
|
text="Ready to experience clean energy without the crash?"
|
||||||
animationType="entrance-slide"
|
animationType="entrance-slide"
|
||||||
inputPlaceholder="Enter your email for exclusive deals"
|
inputPlaceholder="Enter your email for exclusive deals"
|
||||||
buttonText="Join Our Energy Community"
|
buttonText="Join Community"
|
||||||
useInvertedBackground="invertCard"
|
useInvertedBackground="invertCard"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user