Compare commits
No commits in common. "7851abb2627d7f217d3ab65533118edb7155b9b9" and "d3a8d4eb89d254743581fa72107646f042c68762" have entirely different histories.
7851abb262
...
d3a8d4eb89
4 changed files with 3 additions and 24 deletions
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -3,10 +3,8 @@ import '../styles/global.css';
|
||||||
import Search from '../components/Search.astro';
|
import Search from '../components/Search.astro';
|
||||||
import ThemeSwitcher from '../components/ThemeSwitcher.astro';
|
import ThemeSwitcher from '../components/ThemeSwitcher.astro';
|
||||||
import BackToTop from "../components/BackToTop.astro";
|
import BackToTop from "../components/BackToTop.astro";
|
||||||
import Meta from "../components/helper/head/Meta.astro";
|
|
||||||
|
|
||||||
import { siteConfig } from "../config";
|
import { siteConfig } from "../config";
|
||||||
import Logo from '../assets/mercury.svg'
|
import Meta from "../components/helper/head/Meta.astro";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
@ -67,7 +65,7 @@ const { title = pageTitle, description = siteConfig.description, ogImage = "" }
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<Fragment set:html={customFooter} />
|
<Fragment set:html={customFooter} />
|
||||||
<p>Powered by <a href="https://git.gb0.dev/gb/mercury" target="_blank"><Logo width={16} height={16} /> mercury</a></p>
|
<p>Powered by <a href="https://git.gb0.dev/gb/mercury"><img src="/mercury.svg" width="16px" alt="mercury logo" /> mercury</a></p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{ siteConfig.neko.enabled &&
|
{ siteConfig.neko.enabled &&
|
||||||
|
|
|
@ -134,7 +134,7 @@ main {
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer svg {
|
.footer img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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'"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue