tenext redesign
This commit is contained in:
23
components/sections/contacts/MapSection.tsx
Normal file
23
components/sections/contacts/MapSection.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { SectionContainer } from "@/components/shared/SectionContainer";
|
||||
import { siteConfig } from "@/data/site-config";
|
||||
|
||||
export function MapSection() {
|
||||
const query = encodeURIComponent(
|
||||
`${siteConfig.address.line1}, ${siteConfig.address.line2}`
|
||||
);
|
||||
|
||||
return (
|
||||
<SectionContainer paddingY="none" className="h-[500px] w-full">
|
||||
<iframe
|
||||
src={`https://www.google.com/maps?q=${query}&output=embed`}
|
||||
width="100%"
|
||||
height="100%"
|
||||
style={{ border: 0 }}
|
||||
allowFullScreen={false}
|
||||
loading="lazy"
|
||||
referrerPolicy="no-referrer-when-downgrade"
|
||||
title={`${siteConfig.legalName} — Coimbatore`}
|
||||
/>
|
||||
</SectionContainer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user