Ending ContentView design from Section 3.
This commit is contained in:
@@ -11,10 +11,21 @@ struct ContentView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|
||||||
VStack {
|
VStack(alignment: .leading) {
|
||||||
Text("Turtle Rock")
|
Text("Turtle Rock")
|
||||||
.font(.title)
|
.font(.title)
|
||||||
|
|
||||||
|
HStack {
|
||||||
|
Text("Joshua Tree National Park")
|
||||||
|
.font(.subheadline)
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
Text("California")
|
||||||
|
.font(.subheadline)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.padding()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user