Skip to content

Commit 72d44d3

Browse files
committed
fix: persist
1 parent 8209e7e commit 72d44d3

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/components/Nav.astro

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ const navLinks = [
1010
];
1111
---
1212

13-
<nav aria-label="主導覽選單">
13+
<nav aria-label="主導覽選單" transition:persist>
1414
<div class="banner">
15-
<div class="banner-text">
16-
<h2>還不確定要不要投稿嗎?來聽聽以往講者怎麼說</h2>
17-
</div>
15+
<div class="banner-text">還不確定要不要投稿嗎?來聽聽以往講者怎麼說</div>
1816
<div class="banner-button-group">
1917
<button onclick="window.open('http://sitcon.org/podcast', '_blank')" class="banner-main-button" aria-label="學生戰鬥機 Podcast">
2018
<span class="banner-btn-text">學生戰鬥機 Podcast</span>
@@ -149,8 +147,8 @@ const navLinks = [
149147
}
150148

151149
.banner-text {
152-
font-size: 0.8rem;
153-
font-weight: bold;
150+
font-size: 1rem;
151+
font-weight: 600;
154152
color: #000000;
155153
transition: transform 0.3s ease;
156154
flex-shrink: 0;
@@ -202,10 +200,6 @@ const navLinks = [
202200
gap: 0.5rem;
203201
}
204202

205-
.banner-text {
206-
font-size: 0.7rem;
207-
}
208-
209203
.banner-main-button {
210204
margin: 0;
211205
font-size: 1rem;

0 commit comments

Comments
 (0)