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}>
|
||||
<button
|
||||
onClick={() => router.replace(pathname, { locale: l })}
|
||||
className={`text-[11px] font-sans tracking-[0.25em] uppercase transition-all duration-300 ${
|
||||
locale === l
|
||||
className={`text-[11px] font-sans tracking-[0.25em] uppercase transition-all duration-300 ${locale === l
|
||||
? 'text-white opacity-100 scale-105'
|
||||
: '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 { routing } from '@/i18n/routing';
|
||||
import { notFound } from 'next/navigation';
|
||||
import { MarmarisWidget } from '@/components/MarmarisWidget';
|
||||
import "../globals.css";
|
||||
|
||||
const cormorant = Cormorant_Garamond({
|
||||
@@ -57,14 +58,7 @@ export default async function LocaleLayout({
|
||||
{/* VPS Panel Analytics */}
|
||||
<Script src="https://panel.ayris.tech/api/analytics/script" data-domain="http://menu.moybeachakyaka.com" strategy="afterInteractive" />
|
||||
|
||||
<div
|
||||
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" />
|
||||
<MarmarisWidget locale={locale} style={{ display: "none" }} />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
@@ -13,7 +13,7 @@ export function MarmarisWidget({ locale, style, className }: MarmarisWidgetProps
|
||||
data-marmaris-widget="marmaris"
|
||||
data-limit="3"
|
||||
data-lang={locale}
|
||||
data-neighborhood="akyaka"
|
||||
data-neighborhood="marmaris"
|
||||
></div>
|
||||
<Script src="https://marmarislocal.com/widget.js" strategy="afterInteractive" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user