mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
Fix header alignment and rhythm, swap Megaphone for CampaignLogo, add progressive disclosure for first access, and extract shared auth shells with corrected individual-account copy; record closed critique items in RS+.
20 lines
667 B
TypeScript
20 lines
667 B
TypeScript
import type { ReactNode } from 'react'
|
|
|
|
import { CardDescription, CardHeader } from '@/components/ui/card'
|
|
import {
|
|
campaignAuthCardHeaderClassName,
|
|
campaignAuthDescriptionClassName,
|
|
campaignAuthHeadingClassName,
|
|
} from '@/lib/campaignAuthCopy'
|
|
|
|
type CampaignAuthCardHeaderProps = {
|
|
title: string
|
|
description: ReactNode
|
|
}
|
|
|
|
export const CampaignAuthCardHeader = ({ title, description }: CampaignAuthCardHeaderProps) => (
|
|
<CardHeader className={campaignAuthCardHeaderClassName}>
|
|
<h1 className={campaignAuthHeadingClassName}>{title}</h1>
|
|
<CardDescription className={campaignAuthDescriptionClassName}>{description}</CardDescription>
|
|
</CardHeader>
|
|
)
|