Skip to content

Commit 388ce9a

Browse files
committed
fix: Refine blog controls copy and style
1 parent 348b66d commit 388ce9a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/components/Blog/BlogControls.astro

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const searchIndexUrl = localizedPath('/search-index.json', locale);
8080
data-blog-base-href={tab.href}
8181
class={`px-2 py-1.5 rounded-full border transition-colors min-w-16 text-center ${
8282
isActive
83-
? 'bg-[#333] text-white border-[#333]'
83+
? 'bg-[#333] text-white border-[#333] font-bold'
8484
: 'bg-white text-gray-700 border-gray-200 hover:bg-gray-100 dark:bg-gray-900 dark:text-gray-200 dark:border-gray-700 dark:hover:bg-gray-800'
8585
}`}
8686
aria-current={isActive ? 'page' : undefined}
@@ -104,9 +104,6 @@ const searchIndexUrl = localizedPath('/search-index.json', locale);
104104
fill="currentColor"
105105
viewBox="0 0 16 16"
106106
>
107-
<path
108-
d="M3.999 3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-8zM2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2V4z"
109-
></path>
110107
<path
111108
d="M5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-3-8.5a1 1 0 0 1 1-1c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1-1-1zm0 4a1 1 0 0 1 1-1 6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1-1-1z"
112109
></path>

src/lib/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const uiText = {
8383
en: 'View older posts',
8484
},
8585
rss: {
86-
ja: 'RSSフィードで購読',
86+
ja: 'RSSで購読する',
8787
en: 'Subscribe via RSS',
8888
},
8989
tabs: {

0 commit comments

Comments
 (0)