Icon sharing button

This commit is contained in:
Sylvain Duchesne
2026-01-26 15:48:28 +01:00
parent 8e673a5690
commit 5258b46c8d
+6 -10
View File
@@ -60,27 +60,23 @@ export function ShareProfileScreen({ navigate }: ScreenProps) {
{/* Link section */}
<Text style={{ fontWeight: 'bold', marginBottom: 12 }}>Mon lien de profil</Text>
<Card style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
<Card style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
<Text style={{
margin: 0,
flex: 1,
fontSize: 14,
wordBreak: 'break-all',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
}}>
{profileLink}
</Text>
<Button style={{ flexShrink: 0 }}>Copier</Button>
<Button style={{ flexShrink: 0, padding: '8px 10px' }} title="Copier le lien">📋</Button>
<Button variant="primary" style={{ flexShrink: 0, padding: '8px 10px' }} title="Partager"></Button>
</Card>
<Divider />
{/* Share action */}
<Button variant="primary" style={{ width: '100%' }}>
Partager
</Button>
<Divider />
{/* Stats */}
<Text style={{ fontWeight: 'bold', marginBottom: 12 }}>Statistiques de parrainage</Text>
<Card>