Skip to content

Commit 15c7ee2

Browse files
committed
style: 💄 perfect the ui of learning tab
1 parent 78d6984 commit 15c7ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pages/learning/[tag]/[...page].astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function getStaticPaths({paginate}: GetStaticPathsOptions) {
6868
slug: 'all'
6969
}, ...TAGS].map((currTag) => (
7070
<a href={`/learning/${currTag.slug}`}
71-
class=`${currTag.slug === tag ? 'bg-[#1e1f22]' : ''} border border-[#4a4c57] text-white text-sm font-bold py-2 px-4 rounded-full m-2`>{currTag.name}</a>
71+
class=`${currTag.slug === tag ? 'bg-white text-[#121316]' : ''} border border-[#4a4c57] text-white text-sm font-bold py-2 px-4 rounded-full m-2`>{currTag.name}</a>
7272
))
7373
}
7474
</div>

0 commit comments

Comments
 (0)