Ending ContentView design from Section 3.

This commit is contained in:
Maxime Delporte
2025-10-19 20:17:20 +02:00
parent 4699d0e540
commit 933051e3d0

View File

@@ -11,11 +11,22 @@ 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()
}
} }
#Preview { #Preview {