Merge branch 'main' of https://github.com/widgeter/astrowind
This commit is contained in:
@ -166,7 +166,7 @@ metadata:
|
|||||||
index: true
|
index: true
|
||||||
follow: true
|
follow: true
|
||||||
openGraph:
|
openGraph:
|
||||||
siteName: 'Example'
|
site_name: 'Example'
|
||||||
images:
|
images:
|
||||||
- url: '~/assets/images/default.jpg'
|
- url: '~/assets/images/default.jpg'
|
||||||
width: 1200
|
width: 1200
|
||||||
|
12
package.json
12
package.json
@ -16,20 +16,20 @@
|
|||||||
"@astrojs/image": "^0.17.3",
|
"@astrojs/image": "^0.17.3",
|
||||||
"@astrojs/mdx": "^0.19.7",
|
"@astrojs/mdx": "^0.19.7",
|
||||||
"@astrojs/partytown": "^1.2.3",
|
"@astrojs/partytown": "^1.2.3",
|
||||||
"@astrojs/rss": "^2.4.3",
|
"@astrojs/rss": "^2.4.4",
|
||||||
"@astrojs/sitemap": "^2.0.1",
|
"@astrojs/sitemap": "^2.0.1",
|
||||||
"@astrojs/tailwind": "^4.0.0",
|
"@astrojs/tailwind": "^4.0.0",
|
||||||
"@astrolib/analytics": "^0.3.0",
|
"@astrolib/analytics": "^0.4.2",
|
||||||
"@astrolib/seo": "^0.4.0",
|
"@astrolib/seo": "^0.6.0",
|
||||||
"@fontsource-variable/inter": "^5.0.8",
|
"@fontsource-variable/inter": "^5.0.8",
|
||||||
"@iconify-json/flat-color-icons": "^1.1.7",
|
"@iconify-json/flat-color-icons": "^1.1.7",
|
||||||
"@iconify-json/ri": "^1.1.12",
|
"@iconify-json/ri": "^1.1.12",
|
||||||
"@iconify-json/tabler": "^1.1.87",
|
"@iconify-json/tabler": "^1.1.87",
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
"@types/lodash.merge": "^4.6.7",
|
"@types/lodash.merge": "^4.6.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
||||||
"@typescript-eslint/parser": "^6.2.1",
|
"@typescript-eslint/parser": "^6.3.0",
|
||||||
"astro": "^2.10.1",
|
"astro": "^2.10.3",
|
||||||
"astro-icon": "^1.0.0-next.2",
|
"astro-icon": "^1.0.0-next.2",
|
||||||
"eslint": "^8.46.0",
|
"eslint": "^8.46.0",
|
||||||
"eslint-plugin-astro": "^0.28.0",
|
"eslint-plugin-astro": "^0.28.0",
|
||||||
|
@ -39,7 +39,10 @@ import { UI_CONFIG } from '~/utils/config';
|
|||||||
document.querySelector("[data-aw-toggle-menu]")?.classList.remove("expanded");
|
document.querySelector("[data-aw-toggle-menu]")?.classList.remove("expanded");
|
||||||
document.body.classList.remove("overflow-hidden");
|
document.body.classList.remove("overflow-hidden");
|
||||||
document.getElementById("header")?.classList.remove("h-screen");
|
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 nav")?.classList.add("hidden");
|
||||||
|
document.querySelector("#header > div > div:last-child")?.classList.add("hidden");
|
||||||
});
|
});
|
||||||
|
|
||||||
attachEvent('[data-aw-toggle-menu]', 'click', function () {
|
attachEvent('[data-aw-toggle-menu]', 'click', function () {
|
||||||
|
@ -34,7 +34,7 @@ const seoProps: AstroSeoProps = merge(
|
|||||||
description: undefined,
|
description: undefined,
|
||||||
openGraph: {
|
openGraph: {
|
||||||
url: canonical,
|
url: canonical,
|
||||||
siteName: SITE_CONFIG?.name,
|
site_name: SITE_CONFIG?.name,
|
||||||
images: [],
|
images: [],
|
||||||
locale: I18N_CONFIG?.language || 'en',
|
locale: I18N_CONFIG?.language || 'en',
|
||||||
type: 'website',
|
type: 'website',
|
||||||
|
@ -16,9 +16,9 @@ metadata:
|
|||||||
index: true
|
index: true
|
||||||
follow: true
|
follow: true
|
||||||
openGraph:
|
openGraph:
|
||||||
siteName: AstroWind
|
site_name: AstroWind
|
||||||
images:
|
images:
|
||||||
- url: '~/assets/images/default.jpg'
|
- url: '~/assets/images/default.png'
|
||||||
width: 1200
|
width: 1200
|
||||||
height: 628
|
height: 628
|
||||||
type: website
|
type: website
|
||||||
|
@ -14,7 +14,7 @@ import CallToAction from '~/components/widgets/CallToAction.astro';
|
|||||||
|
|
||||||
const metadata = {
|
const metadata = {
|
||||||
title: 'AstroWind — Free template for creating websites with Astro + Tailwind CSS',
|
title: 'AstroWind — Free template for creating websites with Astro + Tailwind CSS',
|
||||||
dontUseTitleTemplate: true,
|
ignoreTitleTemplate: true,
|
||||||
};
|
};
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user