47 lines
822 B
Plaintext
47 lines
822 B
Plaintext
---
|
||
import { metadata } from "../consts";
|
||
|
||
const year = new Date().getFullYear();
|
||
---
|
||
|
||
<footer>
|
||
<div class="content">
|
||
<span>© 2026 {metadata.siteTitle}</span>
|
||
<a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index">
|
||
备案号:鄂ICP备2023000060号-2
|
||
</a>
|
||
</div>
|
||
</footer>
|
||
|
||
|
||
<style>
|
||
footer {
|
||
background: #22252b;
|
||
height: 70px;
|
||
overflow: hidden;
|
||
flex-shrink: 0;
|
||
box-shadow: var(--shadow);
|
||
}
|
||
|
||
.content {
|
||
max-width: var(--layout-width);
|
||
margin: 0 auto;
|
||
color: #fff;
|
||
display: flex;
|
||
align-items: center;
|
||
height: 100%;
|
||
font-size: 14px;
|
||
justify-content: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
:global(.dark) footer {
|
||
background: var(--background);
|
||
box-shadow: none;
|
||
}
|
||
|
||
:global(.dark) .content {
|
||
color: #ffffff;
|
||
}
|
||
</style>
|