diff --git a/src/pages/index.astro b/src/pages/index.astro index 1c949ce..f19a094 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,6 +3,7 @@ import Layout from "@layouts/Layout.astro"; import Header from "@components/Header.astro"; import Card from "@components/Card.astro"; import Footer from "@components/Footer.astro"; +import LinkButton from "@components/LinkButton.astro"; export interface Frontmatter { title: string; @@ -37,7 +38,10 @@ const sortedPosts = posts.sort(
- - - - +

@@ -108,16 +121,14 @@ const sortedPosts = posts.sort( }
- + All Posts - - +
@@ -145,11 +156,11 @@ const sortedPosts = posts.sort( .social-icons { @apply mt-1 sm:ml-2; } - .social-icons button { + .link-button { @apply p-2 sm:p-1; } - .social-icons button svg { - @apply w-6 h-6 fill-skin-base hover:fill-skin-accent scale-125 sm:scale-110; + .link-button svg { + @apply scale-125 sm:scale-110; } /* ===== Featured & Recent Posts Sections ===== */ @@ -165,10 +176,4 @@ const sortedPosts = posts.sort( .all-posts-btn-wrapper { @apply text-center my-8; } - .all-posts-btn-wrapper a { - @apply hover:text-skin-accent; - } - .all-posts-btn-wrapper svg { - @apply inline-block w-6 h-6; - }