Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Dec 24, 2024
1 parent af3d791 commit 9802f30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
10 changes: 9 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ import sitemap from '@astrojs/sitemap'

// https://astro.build/config
export default defineConfig({
integrations: [ tailwind(), sitemap()],
integrations: [
tailwind(),
sitemap(),
icon({
include: {
mdi: ["*"]
}
})
],
site: 'https://derekbrown.io',
markdown: {
syntaxHighlight: 'shiki',
Expand Down
9 changes: 3 additions & 6 deletions src/pages/tags/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ tags.sort()
{tags.map(tag => (
<a href={`/tags/${tag}`}>
<div class="bg-[#1E262F] rounded-lg mr-6 text-lg flex items-center">
<div class="px-5 py-2">
{tag}
</div>
<div class="px-3 py-2 bg-[#adbccd] text-[#0F141B] rounded-lg font-semibold">
{tagsWithNotes[tag].length}
</div>
<div class="px-3 py-2">{tag}</div>
<div class="font-medium">|</div>
<div class="px-3">{tagsWithNotes[tag].length}</div>
</div>
</a>
))}
Expand Down

0 comments on commit 9802f30

Please sign in to comment.