Compare commits

..

3 Commits

Author SHA1 Message Date
Christoph Hagen
7471f06c52 Don't use links until bug is fixed 2023-12-05 14:47:52 +01:00
Christoph Hagen
828162ee36 Create .gitignore 2023-12-03 09:23:55 +01:00
Christoph Hagen
f1f770c859 Update city 2023-12-03 09:23:47 +01:00
3 changed files with 14 additions and 8 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.DS_Store

View File

@ -32,7 +32,7 @@ let cvInfoEnglish = CVInfo(
imageName: "Cover",
name: "Christoph Hagen",
tagLine: "Problem solver and creative mind with a favour for interdisciplinary work.",
place: "Würzburg, Germany",
place: "Munich, Germany",
ageText: "Age 32",
web: "christophhagen.de",
email: "jobs@christophhagen.de",
@ -124,7 +124,7 @@ let cvInfoGerman = CVInfo(
imageName: "Cover",
name: "Christoph Hagen",
tagLine: "Problemlöser und kreativer Kopf mit einer Vorliebe für interdisziplinäre Arbeit.",
place: "Würzburg",
place: "München",
ageText: "32 Jahre",
web: "christophhagen.de",
email: "jobs@christophhagen.de",

View File

@ -53,25 +53,29 @@ struct TopView: View {
lineWidth: style.imageBorderWidth)
VStack(alignment: .trailing) {
LeftImageLabel(systemSymbol: .globe) {
Link(info.web, destination: URL(string: "https://" + info.web)!)
Text(info.web)
//Link(info.web, destination: URL(string: "https://" + info.web)!)
}
.frame(maxHeight: style.iconHeight)
Spacer()
LeftImageLabel(systemSymbol: .envelope) {
Link(info.email, destination: URL(string: "mailto:" + info.email)!)
.disabled(!isValidEmail)
Text(info.email)
//Link(info.email, destination: URL(string: "mailto:" + info.email)!)
//.disabled(!isValidEmail)
}
.frame(maxHeight: style.iconHeight)
Spacer()
LeftImageLabel(systemSymbol: .phone) {
Link(info.phone, destination: URL(string: "tel:" + info.phone)!)
.disabled(!isValidPhoneNumber)
Text(info.phone)
//Link(info.phone, destination: URL(string: "tel:" + info.phone)!)
//.disabled(!isValidPhoneNumber)
}
.frame(maxHeight: style.iconHeight)
Spacer()
HStack(spacing: 0) {
Spacer()
Link(info.github, destination: URL(string: "https://" + info.github)!)
Text(info.github)
//Link(info.github, destination: URL(string: "https://" + info.github)!)
Image("Github")
.resizable()
.aspectRatio(1.0, contentMode: .fit)