diff --git a/components/Card.tsx b/components/Card.tsx index e5c1377..136c507 100644 --- a/components/Card.tsx +++ b/components/Card.tsx @@ -3,9 +3,10 @@ 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}