Skip to content

Commit 304e322

Browse files
author
Mithun
committed
Cleaning up code: New lines
1 parent 43428a6 commit 304e322

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

DesignCode/ContentView.swift

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ struct ContentView: View {
1414

1515
var body: some View {
1616
ZStack {
17-
1817
TitleView()
1918
.blur(radius: show ? 20 : 0)
2019
.animation(.default)
@@ -81,16 +80,19 @@ struct CertificateView: View {
8180
.fontWeight(.bold)
8281
.color(Color("accent"))
8382
.padding(.top)
83+
8484
Text("Certificate")
8585
.color(.white)
8686
}
8787
Spacer()
88+
8889
Image("Logo")
8990
.resizable()
9091
.frame(width: 30, height: 30)
9192
}
9293
.padding(.horizontal)
9394
Spacer()
95+
9496
Image("Background")
9597
}
9698
.frame(width: 340.0, height: 220.0)
@@ -107,9 +109,11 @@ struct TitleView: View {
107109
Text("Certificates")
108110
.font(.largeTitle)
109111
.fontWeight(.heavy)
112+
110113
Spacer()
111114
}
112115
Image("Illustration5")
116+
113117
Spacer()
114118
}.padding()
115119
}
@@ -122,8 +126,10 @@ struct CardBottomView: View {
122126
.frame(width: 60, height: 6)
123127
.cornerRadius(3.0)
124128
.opacity(0.1)
129+
125130
Text("This certificate is proof that Mithun has achieved UI Design course with approval from a Design+Code instructor.")
126131
.lineLimit(nil)
132+
127133
Spacer()
128134
}
129135
.frame(minWidth: 0, maxWidth: .infinity)

0 commit comments

Comments
 (0)