Merge version_3 into main
Merge version_3 into main
This commit was merged in pull request #5.
This commit is contained in:
1416
src/app/layout.tsx
1416
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,8 @@ import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCar
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import { useState } from 'react';
|
||||
|
||||
export default function DentOTherapyLanding() {
|
||||
const [phoneVisible, setPhoneVisible] = useState(false);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -51,13 +48,7 @@ export default function DentOTherapyLanding() {
|
||||
buttons={[
|
||||
{ text: "Book Appointment", href: "#contact" },
|
||||
{
|
||||
text: phoneVisible ? "08617557673" : "Call Now", onClick: () => {
|
||||
if (!phoneVisible) {
|
||||
setPhoneVisible(true);
|
||||
} else {
|
||||
window.location.href = "tel:08617557673";
|
||||
}
|
||||
}
|
||||
text: "Call 08617557673", href: "tel:08617557673"
|
||||
}
|
||||
]}
|
||||
carouselItems={[
|
||||
@@ -232,4 +223,4 @@ export default function DentOTherapyLanding() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user