style list disc

This commit is contained in:
Zvonimir Rudinski
2024-07-07 04:45:02 +02:00
parent 0286b9859c
commit d88e152ba6

View File

@@ -33,13 +33,13 @@ const posts = await Astro.glob("./posts/*.md");
> >
</div> </div>
<ul class="list-disc list-inside"> <ul class="list-disc list-inside text-white">
{ {
posts.map((post) => ( posts.map((post) => (
<li> <li>
<a <a
href={post.url} href={post.url}
class="text-lg md:text-xl text-white lowercase transition-colors opacity-60 hover:text-secondary hover:cursor-pointer hover:opacity-80" class="text-lg md:text-xl lowercase transition-colors opacity-60 hover:text-secondary hover:cursor-pointer hover:opacity-80"
> >
{post.frontmatter.title} -{" "} {post.frontmatter.title} -{" "}
{format(new Date(post.frontmatter.pubDate), "MMMM dd, yyyy")} {format(new Date(post.frontmatter.pubDate), "MMMM dd, yyyy")}