Skip to content

Commit 0531231

Browse files
ux: restore Copy link as always-visible button below Download A4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 91e9a8d commit 0531231

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/components/CertificateCard.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,23 @@ export default function CertificateCard({ cert, onReset }: Props) {
568568
</button>
569569
)}
570570

571+
{!showInlineShare && (
572+
<button
573+
type="button"
574+
onClick={handleCopyLink}
575+
className="cert-btn-secondary"
576+
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',
582+
}}
583+
>
584+
{copied ? 'Copied ✓' : 'Copy link'}
585+
</button>
586+
)}
587+
571588
{/* Export error */}
572589
{exportError && (
573590
<p style={{ fontFamily: UI, fontSize: '12px', color: '#8B1A1A', textAlign: 'center', margin: '0' }}>

0 commit comments

Comments
 (0)