Compare commits
3 Commits
abf61463fe
...
7471f06c52
Author | SHA1 | Date | |
---|---|---|---|
|
7471f06c52 | ||
|
828162ee36 | ||
|
f1f770c859 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
.DS_Store
|
@ -32,7 +32,7 @@ let cvInfoEnglish = CVInfo(
|
|||||||
imageName: "Cover",
|
imageName: "Cover",
|
||||||
name: "Christoph Hagen",
|
name: "Christoph Hagen",
|
||||||
tagLine: "Problem solver and creative mind with a favour for interdisciplinary work.",
|
tagLine: "Problem solver and creative mind with a favour for interdisciplinary work.",
|
||||||
place: "Würzburg, Germany",
|
place: "Munich, Germany",
|
||||||
ageText: "Age 32",
|
ageText: "Age 32",
|
||||||
web: "christophhagen.de",
|
web: "christophhagen.de",
|
||||||
email: "jobs@christophhagen.de",
|
email: "jobs@christophhagen.de",
|
||||||
@ -124,7 +124,7 @@ let cvInfoGerman = CVInfo(
|
|||||||
imageName: "Cover",
|
imageName: "Cover",
|
||||||
name: "Christoph Hagen",
|
name: "Christoph Hagen",
|
||||||
tagLine: "Problemlöser und kreativer Kopf mit einer Vorliebe für interdisziplinäre Arbeit.",
|
tagLine: "Problemlöser und kreativer Kopf mit einer Vorliebe für interdisziplinäre Arbeit.",
|
||||||
place: "Würzburg",
|
place: "München",
|
||||||
ageText: "32 Jahre",
|
ageText: "32 Jahre",
|
||||||
web: "christophhagen.de",
|
web: "christophhagen.de",
|
||||||
email: "jobs@christophhagen.de",
|
email: "jobs@christophhagen.de",
|
||||||
|
@ -53,25 +53,29 @@ struct TopView: View {
|
|||||||
lineWidth: style.imageBorderWidth)
|
lineWidth: style.imageBorderWidth)
|
||||||
VStack(alignment: .trailing) {
|
VStack(alignment: .trailing) {
|
||||||
LeftImageLabel(systemSymbol: .globe) {
|
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)
|
.frame(maxHeight: style.iconHeight)
|
||||||
Spacer()
|
Spacer()
|
||||||
LeftImageLabel(systemSymbol: .envelope) {
|
LeftImageLabel(systemSymbol: .envelope) {
|
||||||
Link(info.email, destination: URL(string: "mailto:" + info.email)!)
|
Text(info.email)
|
||||||
.disabled(!isValidEmail)
|
//Link(info.email, destination: URL(string: "mailto:" + info.email)!)
|
||||||
|
//.disabled(!isValidEmail)
|
||||||
}
|
}
|
||||||
.frame(maxHeight: style.iconHeight)
|
.frame(maxHeight: style.iconHeight)
|
||||||
Spacer()
|
Spacer()
|
||||||
LeftImageLabel(systemSymbol: .phone) {
|
LeftImageLabel(systemSymbol: .phone) {
|
||||||
Link(info.phone, destination: URL(string: "tel:" + info.phone)!)
|
Text(info.phone)
|
||||||
.disabled(!isValidPhoneNumber)
|
//Link(info.phone, destination: URL(string: "tel:" + info.phone)!)
|
||||||
|
//.disabled(!isValidPhoneNumber)
|
||||||
}
|
}
|
||||||
.frame(maxHeight: style.iconHeight)
|
.frame(maxHeight: style.iconHeight)
|
||||||
Spacer()
|
Spacer()
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
Spacer()
|
Spacer()
|
||||||
Link(info.github, destination: URL(string: "https://" + info.github)!)
|
Text(info.github)
|
||||||
|
//Link(info.github, destination: URL(string: "https://" + info.github)!)
|
||||||
Image("Github")
|
Image("Github")
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(1.0, contentMode: .fit)
|
.aspectRatio(1.0, contentMode: .fit)
|
||||||
|
Loading…
Reference in New Issue
Block a user