App reorganization

This commit is contained in:
adilallo
2026-04-18 14:12:49 -06:00
parent f866d11ff8
commit e9dab04b34
288 changed files with 2698 additions and 5029 deletions
+2 -12
View File
@@ -1,29 +1,19 @@
"use client";
import { memo } from "react";
import { normalizeSectionHeaderVariant } from "../../../lib/propNormalization";
export type SectionHeaderVariantValue =
| "default"
| "multi-line"
| "Default"
| "Multi-Line";
export type SectionHeaderVariantValue = "default" | "multi-line";
interface SectionHeaderProps {
title: string;
subtitle: string;
titleLg?: string;
/**
* Section header variant. Accepts both lowercase and PascalCase (case-insensitive).
* Figma uses PascalCase, codebase uses lowercase - both are supported.
*/
variant?: SectionHeaderVariantValue;
}
const SectionHeader = memo<SectionHeaderProps>(
({ title, subtitle, titleLg, variant: variantProp = "default" }) => {
// Normalize props to handle both PascalCase (Figma) and lowercase (codebase)
const variant = normalizeSectionHeaderVariant(variantProp);
const variant = variantProp;
return (
<div
className={