@@ -569,20 +569,47 @@ export default function CertificateCard({ cert, onReset }: Props) {
569569 ) }
570570
571571 { ! showInlineShare && (
572- < button
573- type = "button"
574- onClick = { handleCopyLink }
575- className = "cert-btn-secondary"
572+ < div
576573 style = { {
577- fontFamily : UI , fontSize : '13px' , fontWeight : 600 ,
578- width : '100%' , height : '44px' , background : '#FAF6EF' , color : '#0a0a0a ',
579- border : '2px solid #0a0a0a' , cursor : 'pointer' ,
580- display : 'flex' , alignItems : 'center' , justifyContent : 'center ',
581- gap : '6px' , letterSpacing : '0.02em ',
574+ display : 'flex' ,
575+ alignItems : 'center ' ,
576+ border : '2px solid #0a0a0a' ,
577+ background : '#FAF6EF ' ,
578+ overflow : 'hidden ' ,
582579 } }
583580 >
584- { copied ? 'Copied ✓' : 'Copy link' }
585- </ button >
581+ < span style = { {
582+ fontFamily : `var(--font-courier), 'Courier New', monospace` ,
583+ fontSize : '12px' ,
584+ color : '#5f5f5f' ,
585+ flex : 1 ,
586+ padding : '0 12px' ,
587+ overflow : 'hidden' ,
588+ textOverflow : 'ellipsis' ,
589+ whiteSpace : 'nowrap' ,
590+ } } >
591+ { shareUrl }
592+ </ span >
593+ < button
594+ type = "button"
595+ onClick = { handleCopyLink }
596+ style = { {
597+ fontFamily : UI , fontSize : '12px' , fontWeight : 700 ,
598+ flexShrink : 0 ,
599+ height : '40px' ,
600+ padding : '0 14px' ,
601+ background : copied ? '#2a5a2a' : '#0a0a0a' ,
602+ color : '#fff' ,
603+ border : 'none' ,
604+ borderLeft : '2px solid #0a0a0a' ,
605+ cursor : 'pointer' ,
606+ letterSpacing : '0.04em' ,
607+ transition : 'background 0.15s' ,
608+ } }
609+ >
610+ { copied ? '✓' : 'Copy' }
611+ </ button >
612+ </ div >
586613 ) }
587614
588615 { /* Export error */ }
0 commit comments