Skip to content

Commit

Permalink
chore(fix): edit author section
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Aug 25, 2024
1 parent bf3eb40 commit 1748a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions research/src/pages/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ const formattedDate = formatDate(created_at)
</div>

<div class="mb-2 md:flex items-center justify-between">
<div class="transition duration-300 pt-2 hover:text-[#c6ff50] text-[#a2a8ad]">
<div class="pt-2 text-[#a2a8ad]">
<div class="flex gap-x-2">
<span>Written by:</span>{' '}
<span class="flex gap-x-2 capitalize">
{article.data?.authors.map((author) => (
<a href={`https://twitter.com/${author.twitter_username}`} target="_blank" class="underline underline-offset-2">
<a href={`https://twitter.com/${author.twitter_username}`} target="_blank" class="underline underline-offset-2 transition duration-300 hover:text-green-900">
{author.username}
</a>
))}
Expand Down

0 comments on commit 1748a8d

Please sign in to comment.