fix: remove widget from footer and set neighborhood to marmaris
This commit is contained in:
@@ -153,8 +153,7 @@ export default function MenuClient({ initialCategories, siteSettings }: { initia
|
|||||||
<React.Fragment key={l}>
|
<React.Fragment key={l}>
|
||||||
<button
|
<button
|
||||||
onClick={() => router.replace(pathname, { locale: l })}
|
onClick={() => router.replace(pathname, { locale: l })}
|
||||||
className={`text-[11px] font-sans tracking-[0.25em] uppercase transition-all duration-300 ${
|
className={`text-[11px] font-sans tracking-[0.25em] uppercase transition-all duration-300 ${locale === l
|
||||||
locale === l
|
|
||||||
? 'text-white opacity-100 scale-105'
|
? 'text-white opacity-100 scale-105'
|
||||||
: 'text-white/40 hover:text-white/70 hover:scale-100'
|
: 'text-white/40 hover:text-white/70 hover:scale-100'
|
||||||
}`}
|
}`}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { NextIntlClientProvider } from 'next-intl';
|
|||||||
import { getMessages, setRequestLocale } from 'next-intl/server';
|
import { getMessages, setRequestLocale } from 'next-intl/server';
|
||||||
import { routing } from '@/i18n/routing';
|
import { routing } from '@/i18n/routing';
|
||||||
import { notFound } from 'next/navigation';
|
import { notFound } from 'next/navigation';
|
||||||
|
import { MarmarisWidget } from '@/components/MarmarisWidget';
|
||||||
import "../globals.css";
|
import "../globals.css";
|
||||||
|
|
||||||
const cormorant = Cormorant_Garamond({
|
const cormorant = Cormorant_Garamond({
|
||||||
@@ -57,14 +58,7 @@ export default async function LocaleLayout({
|
|||||||
{/* VPS Panel Analytics */}
|
{/* VPS Panel Analytics */}
|
||||||
<Script src="https://panel.ayris.tech/api/analytics/script" data-domain="http://menu.moybeachakyaka.com" strategy="afterInteractive" />
|
<Script src="https://panel.ayris.tech/api/analytics/script" data-domain="http://menu.moybeachakyaka.com" strategy="afterInteractive" />
|
||||||
|
|
||||||
<div
|
<MarmarisWidget locale={locale} style={{ display: "none" }} />
|
||||||
data-marmaris-widget="marmaris"
|
|
||||||
data-limit="3"
|
|
||||||
data-lang={locale}
|
|
||||||
data-neighborhood=""
|
|
||||||
style={{ display: "none" }}
|
|
||||||
></div>
|
|
||||||
<Script src="https://marmarislocal.com/widget.js" strategy="afterInteractive" />
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export function MarmarisWidget({ locale, style, className }: MarmarisWidgetProps
|
|||||||
data-marmaris-widget="marmaris"
|
data-marmaris-widget="marmaris"
|
||||||
data-limit="3"
|
data-limit="3"
|
||||||
data-lang={locale}
|
data-lang={locale}
|
||||||
data-neighborhood="akyaka"
|
data-neighborhood="marmaris"
|
||||||
></div>
|
></div>
|
||||||
<Script src="https://marmarislocal.com/widget.js" strategy="afterInteractive" />
|
<Script src="https://marmarislocal.com/widget.js" strategy="afterInteractive" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user