diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..b4bfed35 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "plugins": ["prettier-plugin-tailwindcss"] +} diff --git a/apps/web/app/[lang]/layout.tsx b/apps/web/app/[lang]/layout.tsx index 727efd61..356aa6f0 100644 --- a/apps/web/app/[lang]/layout.tsx +++ b/apps/web/app/[lang]/layout.tsx @@ -21,7 +21,7 @@ export default function RootLayout({ /> -
+

Kalkulacka.1

diff --git a/apps/web/app/[lang]/page.tsx b/apps/web/app/[lang]/page.tsx index 943a15c3..d71c9639 100644 --- a/apps/web/app/[lang]/page.tsx +++ b/apps/web/app/[lang]/page.tsx @@ -8,7 +8,7 @@ export const metadata: Metadata = { export default function Page(): JSX.Element { return ( -
+

Tvoříme Volební kalkulačku, která diff --git a/apps/web/app/[lang]/podporte-kalkulacku/page.tsx b/apps/web/app/[lang]/podporte-kalkulacku/page.tsx index 465f94f0..cb8c8727 100644 --- a/apps/web/app/[lang]/podporte-kalkulacku/page.tsx +++ b/apps/web/app/[lang]/podporte-kalkulacku/page.tsx @@ -16,7 +16,7 @@ export default function Page(): JSX.Element { }, []); return ( -
+

Podpořte Volební kalkulačku a demokracii @@ -71,7 +71,7 @@ export default function Page(): JSX.Element {
Přidat se na Herohero diff --git a/apps/web/app/[lang]/test/page.tsx b/apps/web/app/[lang]/test/page.tsx index 1841694f..f5828c11 100644 --- a/apps/web/app/[lang]/test/page.tsx +++ b/apps/web/app/[lang]/test/page.tsx @@ -15,7 +15,7 @@ export default function Page() { console.info(test); return ( -
+
-
+
{/* desktop grid content */} {/* Place button end with flex ok? */} -
+
{/* button wrapper */} -
+
-
+
{/* button wrapper */} -
+
); diff --git a/packages/design-system/src/demo.tsx b/packages/design-system/src/demo.tsx index 1b48f27a..376bf463 100644 --- a/packages/design-system/src/demo.tsx +++ b/packages/design-system/src/demo.tsx @@ -1,17 +1,17 @@ export function Demo() { return (
-
+

Hello from design-system

-
+

Hello from design-system

-
+

Hello from design-system

diff --git a/packages/design-system/src/heading.tsx b/packages/design-system/src/heading.tsx index d204f603..f32eba1d 100644 --- a/packages/design-system/src/heading.tsx +++ b/packages/design-system/src/heading.tsx @@ -5,7 +5,7 @@ type Props = { }; const Heading = ({ children }: Props): JSX.Element => { - return

{children}

; + return

{children}

; }; export { Heading }; diff --git a/packages/design-system/src/ui/button/button.tsx b/packages/design-system/src/ui/button/button.tsx index 911c1265..c1ddbc89 100644 --- a/packages/design-system/src/ui/button/button.tsx +++ b/packages/design-system/src/ui/button/button.tsx @@ -155,7 +155,7 @@ const Button = React.forwardRef( } {...props} > - {hasIcon ? : null} + {hasIcon ? : null}
{children}
diff --git a/packages/design-system/src/ui/input/checkbox.tsx b/packages/design-system/src/ui/input/checkbox.tsx index 7f954177..4eac6ae9 100644 --- a/packages/design-system/src/ui/input/checkbox.tsx +++ b/packages/design-system/src/ui/input/checkbox.tsx @@ -35,13 +35,13 @@ const Checkbox = React.forwardRef< data-checked={checkboxState === "checked" ? true : undefined} > {checkboxState === "unchecked" && ( - + )} {checkboxState === "checked" && ( - + )} {checkboxState === "delete" && ( - + )} ); diff --git a/packages/design-system/src/ui/input/clearButton.tsx b/packages/design-system/src/ui/input/clearButton.tsx index fe6b118b..e23fe7e0 100644 --- a/packages/design-system/src/ui/input/clearButton.tsx +++ b/packages/design-system/src/ui/input/clearButton.tsx @@ -10,7 +10,7 @@ function ClearButton({ onClose }: Props) { {showClearButton && } diff --git a/packages/design-system/src/ui/input/combobox/components/comboboxButton.tsx b/packages/design-system/src/ui/input/combobox/components/comboboxButton.tsx index 5acb880d..41996592 100644 --- a/packages/design-system/src/ui/input/combobox/components/comboboxButton.tsx +++ b/packages/design-system/src/ui/input/combobox/components/comboboxButton.tsx @@ -10,7 +10,7 @@ const Button = forwardRef< -
+
{children} diff --git a/packages/design-system/src/ui/input/combobox/multipleSelect/multipleSelectField.tsx b/packages/design-system/src/ui/input/combobox/multipleSelect/multipleSelectField.tsx index afa388b2..02b54dde 100644 --- a/packages/design-system/src/ui/input/combobox/multipleSelect/multipleSelectField.tsx +++ b/packages/design-system/src/ui/input/combobox/multipleSelect/multipleSelectField.tsx @@ -47,9 +47,9 @@ const MultipleSelectField = forwardRef, Props>( return ( - {hasIcon && } + {hasIcon && } -
+
{ @@ -114,14 +114,14 @@ const Combobox = forwardRef< }} /> {children} - {showClearButton && }
{filteredOptions.length === 0 ? (
Žadné vysledky
diff --git a/packages/design-system/src/ui/input/combobox/singleSelect/singleSelectField.tsx b/packages/design-system/src/ui/input/combobox/singleSelect/singleSelectField.tsx index 8accc20e..f66d7cc3 100644 --- a/packages/design-system/src/ui/input/combobox/singleSelect/singleSelectField.tsx +++ b/packages/design-system/src/ui/input/combobox/singleSelect/singleSelectField.tsx @@ -47,9 +47,9 @@ const SingleSelectField = forwardRef, Props>( return ( - {hasIcon && } + {hasIcon && } , Props>( return ( - {hasIcon && } + {hasIcon && } { return (
{ return ( -
+
2/25 Hromadná doprava vs. automobilová @@ -16,13 +16,13 @@ const Question = () => {
{/* TODO: line height fix value */} - + Investice do hromadné dopravy by měly mít přednost před rozvojem infrastruktury pro osobní automobilovou dopravu.
-

+

Investice do veřejné dopravy jsou klíčové pro všechny kraje, zejména pro venkovské a méně rozvinuté oblasti.