From 7a010a4f8e0362b0f344e8fe5cf8df58f2cf5e65 Mon Sep 17 00:00:00 2001 From: oonyeje Date: Wed, 29 Nov 2023 16:35:05 -0500 Subject: [PATCH] - working on appointments block --- components/form/GoogleAppointmentBlock.tsx | 16 ++++++++++++++++ pages/index.tsx | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 components/form/GoogleAppointmentBlock.tsx diff --git a/components/form/GoogleAppointmentBlock.tsx b/components/form/GoogleAppointmentBlock.tsx new file mode 100644 index 0000000..f906b08 --- /dev/null +++ b/components/form/GoogleAppointmentBlock.tsx @@ -0,0 +1,16 @@ +const GoogleAppointmentBlock = () => { + const {GOOGLE_APPOINTMENTS_LINK} = process.env; + console.log(GOOGLE_APPOINTMENTS_LINK) + return ( +
+ +
+ ); +} + +export default GoogleAppointmentBlock; \ No newline at end of file diff --git a/pages/index.tsx b/pages/index.tsx index 2bc3506..75a9099 100755 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -8,6 +8,7 @@ import navigationContent from '../lib/navigationContent' import ContactForm from '@/components/form/ContactForm'; import Footer from '@/components/footer'; import Link from 'next/link'; +import GoogleAppointmentBlock from '@/components/form/GoogleAppointmentBlock'; const inter = Inter({ subsets: ['latin'] }) export default function Home() { @@ -119,6 +120,7 @@ export default function Home() {
+ {/* */}
{ executeScrollToLandiing();