oh lord. prettier eslint and all that

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-11-02 20:24:41 +01:00
parent e1f37b439e
commit 107feda4ad
121 changed files with 1856 additions and 1684 deletions

View File

@@ -1,10 +1,10 @@
import { cn } from "@/utils/cn";
import { cn } from '@/utils/cn';
type ContentHeaderProps = {
interface ContentHeaderProps {
title: string;
text: string;
children?: React.ReactNode;
};
}
export function ContentHeader({ title, text, children }: ContentHeaderProps) {
return (
@@ -18,12 +18,12 @@ export function ContentHeader({ title, text, children }: ContentHeaderProps) {
);
}
type ContentSectionProps = {
interface ContentSectionProps {
title: string;
text?: string | React.ReactNode;
children: React.ReactNode;
asCol?: boolean;
};
}
export function ContentSection({
title,
@@ -34,8 +34,8 @@ export function ContentSection({
return (
<div
className={cn(
"first:pt-0] flex py-6",
asCol ? "col flex" : "justify-between",
'first:pt-0] flex py-6',
asCol ? 'col flex' : 'justify-between'
)}
>
{title && (