diff --git a/src/assets/mercury.svg b/public/mercury.svg similarity index 100% rename from src/assets/mercury.svg rename to public/mercury.svg diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 50b9cdf..a1d7633 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,10 +3,8 @@ import '../styles/global.css'; import Search from '../components/Search.astro'; import ThemeSwitcher from '../components/ThemeSwitcher.astro'; import BackToTop from "../components/BackToTop.astro"; -import Meta from "../components/helper/head/Meta.astro"; - import { siteConfig } from "../config"; -import Logo from '../assets/mercury.svg' +import Meta from "../components/helper/head/Meta.astro"; interface Props { title: string; @@ -67,7 +65,7 @@ const { title = pageTitle, description = siteConfig.description, ogImage = "" }
{ siteConfig.neko.enabled && diff --git a/src/styles/global.css b/src/styles/global.css index b20c67a..f211a81 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -134,7 +134,7 @@ main { opacity: 0.7; } -.footer svg { +.footer img { vertical-align: middle; } diff --git a/staticwebapp.config.json b/staticwebapp.config.json deleted file mode 100644 index c56f2f2..0000000 --- a/staticwebapp.config.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "trailingSlash": "auto", - "routes": [ - { - "route": "/*", - "headers": { - "cache-control": "must-revalidate, max-age=15770000" - } - } - ], - "responseOverrides": { - "404": { - "rewrite": "/404.html" - } - }, - "globalHeaders": { - "content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'" - } -} \ No newline at end of file