Prettier config

This commit is contained in:
2023-02-25 17:56:35 +00:00
parent eaa1ccfd9e
commit b60f598ba2
17 changed files with 1381 additions and 220 deletions
+15 -15
View File
@@ -1,27 +1,27 @@
---
import FormattedDate from "@components/FormattedDate.astro";
import FormattedDate from '@components/FormattedDate.astro'
interface Props {
title: String;
date: String;
title: String
date: String
}
const { title, date } = Astro.props;
const { title, date } = Astro.props
---
<div class="blog-header">
<h2>{title}</h2>
<h3>
<img src="/media/icons/calendar-2iconImage24px.svg" alt="" />
<FormattedDate date={date} />
</h3>
<h2>{title}</h2>
<h3>
<img src="/media/icons/calendar-2iconImage24px.svg" alt="" />
<FormattedDate date={date} />
</h3>
</div>
<style>
h3 {
display: flex;
align-items: center;
gap: 6px;
font-size: 1.1rem;
}
h3 {
display: flex;
align-items: center;
gap: 6px;
font-size: 1.1rem;
}
</style>