diff --git a/components/Card.tsx b/components/Card.tsx index e5c1377..495b328 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -3,18 +3,21 @@ import { ReactNode, ComponentPropsWithoutRef } from "react"; interface CardProps extends ComponentPropsWithoutRef<"section"> { title: string; children: ReactNode; + hasLeftBorder?: boolean; } -export default function Card({ title, children, className = "", ...props }: CardProps) { +export default function Card({ title, hasLeftBorder = false, children, className = "", ...props }: CardProps) { return (

{title}

-
+ + {/* border-l-2 fügt den Strich links ein, pl-4 macht Platz zum Inhalt */} +
{children}