Compare commits

..

No commits in common. "7471f06c525985b2a45b4a08136817682e1845a7" and "abf61463fe0b6b799711842c47cbb0aa0da53a2e" have entirely different histories.

3 changed files with 8 additions and 14 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
.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: "Munich, Germany",
place: "Würzburg, 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: "München",
place: "Würzburg",
ageText: "32 Jahre",
web: "christophhagen.de",
email: "jobs@christophhagen.de",

View File

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