Files
tenext-next/components/sections/contacts/MapSection.tsx
2026-08-03 14:42:01 +05:30

24 lines
697 B
TypeScript

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>
);
}