This commit is contained in:
widgeter
2023-08-09 11:49:52 +02:00
6 changed files with 14 additions and 11 deletions

View File

@ -39,7 +39,10 @@ import { UI_CONFIG } from '~/utils/config';
document.querySelector("[data-aw-toggle-menu]")?.classList.remove("expanded");
document.body.classList.remove("overflow-hidden");
document.getElementById("header")?.classList.remove("h-screen");
document.getElementById("header")?.classList.remove("expanded");
document.getElementById("header")?.classList.remove("bg-page");
document.querySelector("#header nav")?.classList.add("hidden");
document.querySelector("#header > div > div:last-child")?.classList.add("hidden");
});
attachEvent('[data-aw-toggle-menu]', 'click', function () {

View File

@ -34,7 +34,7 @@ const seoProps: AstroSeoProps = merge(
description: undefined,
openGraph: {
url: canonical,
siteName: SITE_CONFIG?.name,
site_name: SITE_CONFIG?.name,
images: [],
locale: I18N_CONFIG?.language || 'en',
type: 'website',