- Extract PresentationFormHeader to reduce PresentationForm line count - Add all missing translations to public/locales files - Update Bitcoin address help text to specify 'excluding fees' - All TypeScript and linter checks pass
23 lines
550 B
TypeScript
23 lines
550 B
TypeScript
import { t } from '@/lib/i18n'
|
|
|
|
interface PresentationFormHeaderProps {
|
|
userName: string
|
|
}
|
|
|
|
export function PresentationFormHeader({ userName }: PresentationFormHeaderProps) {
|
|
return (
|
|
<div className="mb-6">
|
|
<h2 className="text-2xl font-bold mb-2 text-neon-cyan font-mono">
|
|
{userName}
|
|
</h2>
|
|
<p className="text-cyber-accent text-sm mb-2">
|
|
{t('presentation.description')}
|
|
</p>
|
|
<p className="text-xs text-cyber-accent/60 italic">
|
|
{t('presentation.profileNote')}
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|
|
|