From a33f2692537a808590f93eeeaa0cf1530f29ff6c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 19 Apr 2023 17:00:29 +0100 Subject: [PATCH] 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. --- src/components/ListingPageItem.astro | 5 +- src/content/blog/feature-flags-sculpin.md | 2 +- .../mediacurrent-contrib-half-hour-is-back.md | 2 +- .../blog/published-my-first-npm-package.md | 2 +- ...default-theme-vuejs-tailwind-css-part-2.md | 12 +-- ...rupals-default-theme-vuejs-tailwind-css.md | 44 +++++----- src/content/blog/tweets-drupalcamp-london.md | 84 +++++++++---------- src/content/daily-email/2023-01-07.md | 10 +-- src/layouts/Layout.astro | 4 +- src/pages/archive/[...page].astro | 11 ++- .../archive/[year]/[month]/[day]/[slug].astro | 20 ++--- src/pages/blog/[slug].astro | 4 +- src/pages/call.mdx | 4 +- src/pages/daily.mdx | 4 +- src/pages/drupal-testing.mdx | 2 +- src/pages/search.astro | 2 +- src/pages/talks/[slug].astro | 4 +- src/pages/talks/index.astro | 6 +- src/pages/things-about-php.mdx | 2 +- 19 files changed, 111 insertions(+), 113 deletions(-) diff --git a/src/components/ListingPageItem.astro b/src/components/ListingPageItem.astro index 3e15094f..dc1f3f6e 100644 --- a/src/components/ListingPageItem.astro +++ b/src/components/ListingPageItem.astro @@ -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 && ( -