{/* Column 1: Logo and optionally description */}
{/* Logo and name */}
{config.logo && (
}>
{config.logo as any}
)}
{config.nameElement || {config.name}}
{/* Only show description here if NOT moving to right */}
{!config.moveDescriptionToRight && (
<>
{config.description}
{/* Custom content below description */}
{config.belowDescriptionContent && (
}>
{config.belowDescriptionContent as any}
)}
{/* Conditional social row - show by default unless hideSocialRow is true */}
{!config.hideSocialRow && (
href)
.map(([platform, href]) => ({ platform, href: href as string }))
: undefined
}
/>
)}
>
)}
{/* Show belowDescriptionContent on left even when description is moved to right */}
{config.moveDescriptionToRight && config.keepBelowDescriptionLeft && config.belowDescriptionContent && (
}>
{config.belowDescriptionContent as any}
)}
{/* Dynamic sections - 1 column each on all screens */}
{config.sections.map((section, index) => (
{section.title}
{section.links.map((link, linkIndex) => (
}>
{linkRenderer(link) as any}
))}
))}
{/* Custom component column - full width on mobile and medium, 1 column on large */}
{config.customComponent && (
}>
{config.customComponent as any}
)}
{/* Right column content - shows if rightColumnContent is provided OR if moving description to right */}
{(config.rightColumnContent || config.moveDescriptionToRight) && (
{/* Show description in right column if moveDescriptionToRight is true */}
{config.moveDescriptionToRight && (
<>
{config.description}
{/* Custom content below description - only if NOT keeping it on left */}
{config.belowDescriptionContent && !config.keepBelowDescriptionLeft && (
}>
{config.belowDescriptionContent as any}
)}
>
)}
{/* Regular right column content */}
{config.rightColumnContent && (
}>
{config.rightColumnContent as any}
)}
)}
{/* Copyright */}
© {new Date().getFullYear()} {config.legalName}. All rights reserved.