dark mode

This commit is contained in:
2023-03-04 19:17:30 +00:00
parent f17436ec01
commit 62b4d68dfa
6 changed files with 161 additions and 137 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
---
import FormattedDate from '@components/FormattedDate.astro'
import Calendar from './icons/Calendar.astro'
interface Props {
title: String
@@ -12,7 +13,8 @@ const { title, date } = Astro.props
<div class="blog-header">
<h2>{title}</h2>
<h3>
<img src="/media/icons/calendar-2iconImage24px.svg" alt="" />
<!-- <img class="svg-icon" src={calendarIcon} alt="" /> -->
<Calendar />
<FormattedDate date={date} />
</h3>
</div>