From fdd66424340710e524f2844a74abe32849e9766c Mon Sep 17 00:00:00 2001 From: JohannaPeanut <76495099+JohannaPeanut@users.noreply.github.com> Date: Wed, 2 Aug 2023 15:13:39 +0200 Subject: [PATCH] npm run format --- src/components/AwardPage/Profile/Profile.tsx | 2 +- src/components/AwardPage/QuoteBox/QuoteBox.tsx | 2 +- .../CommunityEntries/CardCommunityEntry.tsx | 2 +- src/components/ExamplePage/Pagination.tsx | 2 +- src/components/Layout/Breadcrumbs.tsx | 4 ++-- src/components/Layout/Footer/Footer.tsx | 4 ++-- src/components/Layout/Hero.tsx | 2 +- src/components/Layout/Layout.tsx | 2 +- .../Layout/Navigation/NavigationDesktop.tsx | 4 ++-- .../Layout/Navigation/NavigationMobile.tsx | 8 ++++---- src/components/Layout/Navigation/SideNavigation.tsx | 8 ++++---- .../MeasurePage/CardWrapperMeasurePage.tsx | 2 +- src/components/SearchBar/SearchBar.tsx | 8 ++++---- .../StartPage/CardWrapperTopicsStartPage.tsx | 2 +- src/components/Text/Headings.tsx | 10 +++++----- src/components/TopicPage/CardMeasure.tsx | 2 +- .../WissensspeicherStartPage/CardTopic.tsx | 2 +- src/components/core/Prose.tsx | 2 +- src/components/core/articleProseClasses.tsx | 4 ++-- src/components/core/links/Link.tsx | 4 ++-- src/components/core/links/YouTubePreview.tsx | 2 +- src/components/core/links/styles.ts | 12 ++++++------ src/components/utils/sortByPosition.ts | 2 +- src/pages/award/plan-f-award-2022.tsx | 2 +- src/pages/index.tsx | 2 +- src/pages/weitere-angebote/index.tsx | 2 +- .../{strapiExample.slug}.tsx | 4 ++-- 27 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/components/AwardPage/Profile/Profile.tsx b/src/components/AwardPage/Profile/Profile.tsx index d60466d..824c337 100644 --- a/src/components/AwardPage/Profile/Profile.tsx +++ b/src/components/AwardPage/Profile/Profile.tsx @@ -22,7 +22,7 @@ export const Profile: React.FC = ({ {`profilfoto = ({ children, mirror = false }) => {

{children}

diff --git a/src/components/CommunityEntries/CardCommunityEntry.tsx b/src/components/CommunityEntries/CardCommunityEntry.tsx index 729ae88..dbe7fdf 100644 --- a/src/components/CommunityEntries/CardCommunityEntry.tsx +++ b/src/components/CommunityEntries/CardCommunityEntry.tsx @@ -38,7 +38,7 @@ export const CardCommunityEntry: React.FC = ({ button="card" className={clsx( 'flex h-full flex-col items-stretch gap-1 rounded-b-3xl bg-white sm:flex-row sm:gap-6', - className + className, )} href={link} > diff --git a/src/components/ExamplePage/Pagination.tsx b/src/components/ExamplePage/Pagination.tsx index efc6ad2..890a1b0 100644 --- a/src/components/ExamplePage/Pagination.tsx +++ b/src/components/ExamplePage/Pagination.tsx @@ -21,7 +21,7 @@ export const Pagination: React.FC = ({

Praxisbeispiele blättern

diff --git a/src/components/Layout/Breadcrumbs.tsx b/src/components/Layout/Breadcrumbs.tsx index 6ebf333..808562e 100644 --- a/src/components/Layout/Breadcrumbs.tsx +++ b/src/components/Layout/Breadcrumbs.tsx @@ -44,12 +44,12 @@ export const Breadcrumbs: React.FC = ({ names = [], prefix = './' }) => { className={clsx( 'h-4 w-[4px] ', // the current breadcrumb has a lighter color - isLastItem(i) ? 'bg-white/40' : wikiColorsArray[i] + isLastItem(i) ? 'bg-white/40' : wikiColorsArray[i], )} /> diff --git a/src/components/Layout/Footer/Footer.tsx b/src/components/Layout/Footer/Footer.tsx index 2f5c7ef..239b7a0 100644 --- a/src/components/Layout/Footer/Footer.tsx +++ b/src/components/Layout/Footer/Footer.tsx @@ -17,7 +17,7 @@ export const Footer: React.FC = () => { >
    {Object.keys(menuItems).map((key) => ( @@ -54,7 +54,7 @@ export const Footer: React.FC = () => { {childKey} - ) + ), )}
) : ( diff --git a/src/components/Layout/Hero.tsx b/src/components/Layout/Hero.tsx index 99fa07f..0b80e43 100644 --- a/src/components/Layout/Hero.tsx +++ b/src/components/Layout/Hero.tsx @@ -24,7 +24,7 @@ export const Hero: React.FC = ({ className={clsx( 'relative mb-4 flex flex-col justify-center gap-4 rounded-b-3xl px-8 pb-8 pt-36 md:mb-6 md:px-12 md:pb-16', className, - bgColor + bgColor, )} > {breadcrumbs &&
{breadcrumbs}
} diff --git a/src/components/Layout/Layout.tsx b/src/components/Layout/Layout.tsx index 92a9260..4ecb614 100644 --- a/src/components/Layout/Layout.tsx +++ b/src/components/Layout/Layout.tsx @@ -42,7 +42,7 @@ const Layout: React.FC< breadcrumbs.push( data.example.measure.topic.name, data.example.measure.name, - data.example.title + data.example.title, ); } } diff --git a/src/components/Layout/Navigation/NavigationDesktop.tsx b/src/components/Layout/Navigation/NavigationDesktop.tsx index 64eae4c..321b1e5 100644 --- a/src/components/Layout/Navigation/NavigationDesktop.tsx +++ b/src/components/Layout/Navigation/NavigationDesktop.tsx @@ -16,7 +16,7 @@ export const NavigationDesktop: React.FC = ({ path, className }) => {