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',

View File

@ -16,9 +16,9 @@ metadata:
index: true
follow: true
openGraph:
siteName: AstroWind
site_name: AstroWind
images:
- url: '~/assets/images/default.jpg'
- url: '~/assets/images/default.png'
width: 1200
height: 628
type: website

View File

@ -14,7 +14,7 @@ import CallToAction from '~/components/widgets/CallToAction.astro';
const metadata = {
title: 'AstroWind — Free template for creating websites with Astro + Tailwind CSS',
dontUseTitleTemplate: true,
ignoreTitleTemplate: true,
};
---