Skip to content

Commit

Permalink
adding see all section on the blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-m-masood committed Aug 18, 2024
1 parent 1bb53c5 commit fd3212f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Section.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ const { className, title } = Astro.props;
<section class:list={["flex flex-col gap-4 print:gap-0", className]}>
{title && <h3 class="relative flex w-full items-center gap-3 pb-4 text-3xl print:gap-1 print:pb-0 print:text-xl">{title}</h3>}
<slot />
{title === "Blog Posts" && <a href="https://hamza-masood.com/blog" class="text-orange-500">see all...</a>}
</section>

0 comments on commit fd3212f

Please sign in to comment.