Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b755db378 | |||
| fb56dfae41 | |||
| 26ce8ff8fa | |||
| 41c3bbb0c6 | |||
| 03a0f3dd04 |
1438
src/app/layout.tsx
1438
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -49,6 +49,13 @@ export default function HomePage() {
|
||||
},
|
||||
];
|
||||
|
||||
const handleBookNowClick = () => {
|
||||
const contactSection = document.getElementById('contact');
|
||||
if (contactSection) {
|
||||
contactSection.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
@@ -84,7 +91,7 @@ export default function HomePage() {
|
||||
{
|
||||
text: "Call Now: 0908 338 883", href: "tel:+421908338883"},
|
||||
{
|
||||
text: "Check Availability", href: "#contact"},
|
||||
text: "Book Now", onClick: handleBookNowClick},
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
className="hero-section"
|
||||
@@ -262,4 +269,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user