Compare commits
2 commits
d3a8d4eb89
...
7851abb262
Author | SHA1 | Date | |
---|---|---|---|
|
7851abb262 | ||
|
3b96b42d4b |
4 changed files with 24 additions and 3 deletions
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
@ -3,9 +3,11 @@ 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 { siteConfig } from "../config";
|
|
||||||
import Meta from "../components/helper/head/Meta.astro";
|
import Meta from "../components/helper/head/Meta.astro";
|
||||||
|
|
||||||
|
import { siteConfig } from "../config";
|
||||||
|
import Logo from '../assets/mercury.svg'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
|
@ -65,7 +67,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"><img src="/mercury.svg" width="16px" alt="mercury logo" /> mercury</a></p>
|
<p>Powered by <a href="https://git.gb0.dev/gb/mercury" target="_blank"><Logo width={16} height={16} /> 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 img {
|
.footer svg {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
19
staticwebapp.config.json
Normal file
19
staticwebapp.config.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"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