style: reformat
Reformat files using Prettier and Rustywind. I tried the official Tailwind CSS Prettier plugin but it was erroring when trying to run it - I assume because I'm using Astro's Tailwind integration.
This commit is contained in:
parent
f2dc5ad235
commit
a33f269253
19 changed files with 111 additions and 113 deletions
|
@ -6,7 +6,8 @@ interface ItemProps {
|
|||
title: string;
|
||||
}
|
||||
|
||||
const { date, description, excerpt, title } = Astro.props.item.item.data as ItemProps;
|
||||
const { date, description, excerpt, title } = Astro.props.item.item
|
||||
.data as ItemProps;
|
||||
const { slug } = Astro.props.item;
|
||||
---
|
||||
|
||||
|
@ -15,7 +16,7 @@ const { slug } = Astro.props.item;
|
|||
|
||||
{
|
||||
date && (
|
||||
<time class="mt-0 mb-2 block text-base" datetime={date}>
|
||||
<time class="block mt-0 mb-2 text-base" datetime={date}>
|
||||
{new Date(date).toLocaleDateString("en-GB", {
|
||||
day: "numeric",
|
||||
month: "long",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue