Add multi-language option
This commit is contained in:
@ -29,7 +29,7 @@ struct TitledIconSection: View {
|
||||
TitledSection(title: content.title, spacing: titleSpacing) {
|
||||
VStack(alignment: .leading) {
|
||||
ForEach(content.items) { item in
|
||||
HStack(alignment: .firstTextBaseline) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 5) {
|
||||
Image(systemSymbol: item.systemSymbol)
|
||||
.frame(
|
||||
width: style.iconSize,
|
||||
|
@ -24,6 +24,7 @@ struct TopView: View {
|
||||
RightImageLabel(info.place, systemSymbol: .house)
|
||||
.padding(.leading, -4)
|
||||
RightImageLabel(info.ageText, systemSymbol: .hourglass)
|
||||
Spacer()
|
||||
}.font(.subheadline)
|
||||
}
|
||||
.frame(width: sideWidth)
|
||||
@ -63,7 +64,7 @@ struct TopView_Previews: PreviewProvider {
|
||||
TopView(info: .init(
|
||||
imageName: "Cover",
|
||||
name: "Christoph Hagen",
|
||||
tagLine: "Problem solver and creative mind with a favour for interdisciplinary work.",
|
||||
tagLine: "Problem solver with a favour for interdisciplinary work.",
|
||||
place: "Würzburg, Germany",
|
||||
ageText: "Age 32",
|
||||
web: "christophhagen.de",
|
||||
|
Reference in New Issue
Block a user