- working on appointments block
This commit is contained in:
parent
6cd3a9deba
commit
68dec878ae
16
components/form/GoogleAppointmentBlock.tsx
Normal file
16
components/form/GoogleAppointmentBlock.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
const GoogleAppointmentBlock = () => {
|
||||||
|
const {GOOGLE_APPOINTMENTS_LINK} = process.env;
|
||||||
|
console.log(GOOGLE_APPOINTMENTS_LINK)
|
||||||
|
return (
|
||||||
|
<div className='w-full h-full flex flex-row justify-center bg-white border-solid'>
|
||||||
|
<embed
|
||||||
|
src={GOOGLE_APPOINTMENTS_LINK!}
|
||||||
|
style={{border: 1}}
|
||||||
|
width="100%"
|
||||||
|
height="600"
|
||||||
|
></embed>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default GoogleAppointmentBlock;
|
||||||
@ -8,6 +8,7 @@ import navigationContent from '../lib/navigationContent'
|
|||||||
import ContactForm from '@/components/form/ContactForm';
|
import ContactForm from '@/components/form/ContactForm';
|
||||||
import Footer from '@/components/footer';
|
import Footer from '@/components/footer';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
import GoogleAppointmentBlock from '@/components/form/GoogleAppointmentBlock';
|
||||||
const inter = Inter({ subsets: ['latin'] })
|
const inter = Inter({ subsets: ['latin'] })
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@ -119,6 +120,7 @@ export default function Home() {
|
|||||||
<div className='flex flex-row h-full w-full justify-center'>
|
<div className='flex flex-row h-full w-full justify-center'>
|
||||||
<div className='flex flex-col h-full w-full justify-center'>
|
<div className='flex flex-col h-full w-full justify-center'>
|
||||||
<ContactForm/>
|
<ContactForm/>
|
||||||
|
{/* <GoogleAppointmentBlock/> */}
|
||||||
</div>
|
</div>
|
||||||
<span className="cursor-pointer self-end" onClick={() => {
|
<span className="cursor-pointer self-end" onClick={() => {
|
||||||
executeScrollToLandiing();
|
executeScrollToLandiing();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user