Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmbrown committed Dec 1, 2024
1 parent 94bc4d1 commit b7f4657
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/pages/tags/[tag].astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ const title = `Tag: ${tag}`
>
<div class="mb-6 text-xl">{filteredNotes.length} notes tagged with <span class="font-bold">{tag}</span>:</div>
{filteredNotes.map((note) =>
<div class="flex flex-col justify-between md:flex-row md:mb-3 mb-3 bg-[#1E262F] p-6 text-lg rounded-lg">
<div><a href={`/notes/${note.slug}`}>{note.data.title}</a></div>
<div class="text-[#7E8C9A] shrink-0">
{new Date(note.data.pubDate).toDateString().slice(4, 15)}
<a href={`/notes/${note.slug}`}>
<div class="flex flex-col justify-between md:flex-row md:mb-3 mb-3 bg-[#1E262F] p-6 text-lg rounded-lg">
<div>{note.data.title}</div>
<div class="text-[#7E8C9A] shrink-0">
{new Date(note.data.pubDate).toDateString().slice(4, 15)}
</div>
</div>
</div>
</a>
)}
</Main>

0 comments on commit b7f4657

Please sign in to comment.