Skip to content

Commit

Permalink
style: 💄 perfect the ui of learning tab
Browse files Browse the repository at this point in the history
  • Loading branch information
xlgzsgf committed Nov 10, 2024
1 parent 78d6984 commit 15c7ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/learning/[tag]/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function getStaticPaths({paginate}: GetStaticPathsOptions) {
slug: 'all'
}, ...TAGS].map((currTag) => (
<a href={`/learning/${currTag.slug}`}
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>
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>
))
}
</div>
Expand Down

0 comments on commit 15c7ee2

Please sign in to comment.