fix: set data-neighborhood to akyaka for Marmaris widget
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
import Script from "next/script";
|
||||||
|
|
||||||
|
interface MarmarisWidgetProps {
|
||||||
|
locale: string;
|
||||||
|
style?: React.CSSProperties;
|
||||||
|
className?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function MarmarisWidget({ locale, style, className }: MarmarisWidgetProps) {
|
||||||
|
return (
|
||||||
|
<div style={style} className={className}>
|
||||||
|
<div
|
||||||
|
data-marmaris-widget="marmaris"
|
||||||
|
data-limit="3"
|
||||||
|
data-lang={locale}
|
||||||
|
data-neighborhood="akyaka"
|
||||||
|
></div>
|
||||||
|
<Script src="https://marmarislocal.com/widget.js" strategy="afterInteractive" />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user