From c2d7f95681d5420ae2cfdc4d700a08e6da62612d Mon Sep 17 00:00:00 2001 From: "dbitter@anwb.nl" Date: Thu, 29 Aug 2024 14:04:13 +0200 Subject: [PATCH] fix(prettier): run on all layout and component files --- components/Article.js | 2 +- components/EventCalendar.js | 8 ++++---- components/EventCarousel.js | 8 ++++---- components/Experiment.js | 2 +- components/Footer.js | 2 +- components/Pagination.js | 2 +- components/ScrollTop.js | 2 +- components/SectionTitle.js | 2 +- components/TOCInline.js | 2 +- components/Talk.js | 2 +- components/VideoCard.js | 8 ++++---- components/Workshop.js | 2 +- layouts/AuthorLayout.js | 4 ++-- layouts/ListLayout.js | 4 ++-- layouts/PostLayout.js | 6 +++--- layouts/PostSimple.js | 2 +- layouts/SerieLayout.js | 6 +++--- layouts/SeriesLayout.js | 4 ++-- layouts/StaticPageLayout.js | 4 ++-- 19 files changed, 36 insertions(+), 36 deletions(-) diff --git a/components/Article.js b/components/Article.js index 79d7f9e2..c8eca466 100644 --- a/components/Article.js +++ b/components/Article.js @@ -55,7 +55,7 @@ const Article = ({ slug, date, title, summary, tags, authors, border = true }) =

{}

-

+

{}

diff --git a/components/EventCalendar.js b/components/EventCalendar.js index e23e1ac3..506a2ae7 100644 --- a/components/EventCalendar.js +++ b/components/EventCalendar.js @@ -11,9 +11,9 @@ const EventCalendar = ({ events }) => { }`} key={event.id} > -

{event.title}

-

{event.description}

-

+

{event.title}

+

{event.description}

+

-

{event.title}

+

{event.title}

-

{event.description}

+

{event.description}

-

+

Demo diff --git a/components/Footer.js b/components/Footer.js index f4561548..28be61cf 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -20,7 +20,7 @@ export default function Footer() {
{` • `}
{siteMetadata.title}
-
+
{siteMetadata.legal.map((link, index) => { return (
diff --git a/components/Pagination.js b/components/Pagination.js index d26bc797..278aa1e1 100644 --- a/components/Pagination.js +++ b/components/Pagination.js @@ -9,7 +9,7 @@ export default function Pagination({ totalPages, currentPage, subpath = 'article const btnClassesDisabled = `${btnClasses} cursor-auto disabled:opacity-50` return ( -
+