- working on appointments block

This commit is contained in:
oonyeje 2023-11-29 16:35:05 -05:00
parent a568ae5e35
commit 7a010a4f8e
2 changed files with 18 additions and 0 deletions

View 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;

View File

@ -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() {
<div className='flex flex-row h-full w-full justify-center'>
<div className='flex flex-col h-full w-full justify-center'>
<ContactForm/>
{/* <GoogleAppointmentBlock/> */}
</div>
<span className="cursor-pointer self-end" onClick={() => {
executeScrollToLandiing();