fix: ensure email addresses are strictly lowercase
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 18s
Build & Deploy / 🧪 QA (push) Successful in 1m59s
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🏗️ Build (push) Has been cancelled

This commit is contained in:
2026-06-12 12:01:00 +02:00
parent e72879b222
commit b78a848ec2
17 changed files with 4 additions and 5 deletions

View File

@@ -314,7 +314,7 @@ const styles = StyleSheet.create({
roleText: {
fontSize: 6.5,
fontWeight: 'bold',
color: COLORS.primary,
color: COLORS.darkGreen,
letterSpacing: 1.2,
textTransform: 'uppercase',
},
@@ -815,8 +815,7 @@ export const PDFBusinessCard: React.FC<PDFBusinessCardProps> = ({
};
const getBackLogoPaths = () => {
if (variant === 'black') return logoBlackWithTaglinePaths;
return logoBlueWithTaglinePaths;
return logoBlackWithTaglinePaths;
};
const bgImagePath = isWhiteVariant
@@ -954,7 +953,7 @@ export const PDFBusinessCard: React.FC<PDFBusinessCardProps> = ({
<View style={styles.iconWrapper}>
<EmailIcon />
</View>
<Text style={styles.contactText}>{person.email}</Text>
<Text style={styles.contactText}>{person.email.toLowerCase()}</Text>
</View>
<View style={styles.contactRow}>
<View style={styles.iconWrapper}>

View File

@@ -34,7 +34,7 @@ const PEOPLE: PersonData[] = [
name: 'Klaus Mintel',
role: 'Managing Director',
phone: '+49 151 1775 2873',
email: 'Klaus.mintel@klz-cables.com',
email: 'klaus.mintel@klz-cables.com',
},
{
name: 'Johannes Gleich',