diff --git a/src/components/BlogHeader.astro b/src/components/BlogHeader.astro index 414aafa..ea21b91 100644 --- a/src/components/BlogHeader.astro +++ b/src/components/BlogHeader.astro @@ -1,14 +1,13 @@ --- -import FormattedDate from '@components/FormattedDate.astro' -import Calendar from './icons/Calendar.astro' +import FormattedDate from '@components/FormattedDate.astro'; interface Props { - title: String - date: String - slug: String + title: String; + date: String; + slug?: String; } -const { title, date, slug } = Astro.props +const { title, date, slug } = Astro.props; ---
@@ -17,8 +16,8 @@ const { title, date, slug } = Astro.props

- - + + 🗓️

@@ -30,10 +29,15 @@ const { title, date, slug } = Astro.props text-decoration: none; } + h2, + h2 a { + font-size: 1.4rem; + } + h3 { display: flex; align-items: center; gap: 6px; - font-size: 1.1rem; + font-size: 0.9rem; } diff --git a/src/components/Footer.astro b/src/components/Footer.astro index a85f303..74ef1e9 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,6 +1,6 @@ --- -import RSSIcon from './icons/RSS.astro' -const year = new Date().getFullYear() +import RSSIcon from './icons/RSS.astro'; +const year = new Date().getFullYear(); ---