diff --git a/src/components/common/SectionDivider.tsx b/src/components/common/SectionDivider.tsx new file mode 100644 index 0000000..04a96f7 --- /dev/null +++ b/src/components/common/SectionDivider.tsx @@ -0,0 +1,31 @@ +import { cn } from '@/lib/utils'; + +type SectionDividerSpacing = 'compact' | 'default' | 'relaxed'; + +interface SectionDividerProps { + title?: string; + spacing?: SectionDividerSpacing; + className?: string; +} + +const spacingClasses: Record = { + compact: 'my-4 md:my-5', + default: 'my-6 md:my-8', + relaxed: 'my-8 md:my-12', +}; + +function SectionDivider({ title, spacing = 'default', className }: SectionDividerProps) { + return ( +
+ + + + +