feat: 404界面、微调ui
This commit is contained in:
@@ -3,5 +3,16 @@ import Layout from "@/layouts/Layout.astro";
|
||||
---
|
||||
|
||||
<Layout title="404" description="这里什么也没有发现~">
|
||||
|
||||
<div class="not-found">
|
||||
<h1>404 NOT FOUND</h1>
|
||||
</div>
|
||||
</Layout>
|
||||
|
||||
<style>
|
||||
.not-found{
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -123,5 +123,10 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
|
||||
.year-title{
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.post-title{
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -102,6 +102,7 @@ const published_at = formatDatetime(data.published_at, "YYYY.MM.DD");
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
color: var(--text-meta);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.divider {
|
||||
|
||||
Reference in New Issue
Block a user