Skip to content

Commit 45ad300

Browse files
committed
feat: update navbar style
1 parent 5a340eb commit 45ad300

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/Header.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ import naosi from "../assets/naosi.svg";
2121
<style>
2222
.navbar a:hover,
2323
.navbar a.active {
24-
@apply text-black;
24+
@apply text-primary;
25+
}
26+
27+
.navbar a.active {
28+
@apply underline underline-2 underline-offset-6;
2529
}
2630
</style>
2731

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const blog = await getCollection("blog");
5151
/>
5252
<Service
5353
icon="i-ri-blogger-fill"
54-
href="https://github.com/NAOSI-DLUT/blogroll"
54+
href="https://blogroll.naosi.org/"
5555
title="友情链接"
5656
description="成员们的博客友链"
5757
/>

0 commit comments

Comments
 (0)