Skip to content

Commit

Permalink
Added version controller
Browse files Browse the repository at this point in the history
  • Loading branch information
damienRifflart committed Sep 1, 2023
1 parent 37b8f89 commit 955d116
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
Binary file not shown.
21 changes: 17 additions & 4 deletions Shapy/LandingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,23 @@ struct LandingView: View {
Spacer()

// Title Text
Text("Bienvenue")
.foregroundColor(Color.white)
.font(.system(size: 50))
.padding(.top, 150)
HStack{
Spacer()
Text("v0.8")
.foregroundColor(Color.gray.opacity(0.5))
.font(.system(size:25))
.padding(.top,150)
Spacer()

Text("Bienvenue")
.foregroundColor(Color.white)
.font(.system(size: 50))
.padding(.top, 150)
.padding(.trailing, 60)

Spacer()

}

Text("Damien")
.foregroundColor(Color(hex: 0xE6D2F7))
Expand Down
10 changes: 5 additions & 5 deletions Shapy/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct SettingsView: View {
// Back Button
Button(action: { isLandingViewActive.toggle() }) {
Text("Retour")
.font(.system(size: 30, weight: .bold))
.font(.system(size: 27, weight: .semibold))
.foregroundColor(Color(hex: 0x0E0215))
.padding()
.frame(width: 130, height:60)
Expand All @@ -42,7 +42,7 @@ struct SettingsView: View {
// Save Button
Button(action: { saveButton() }) {
Text("Enregistrer")
.font(.system(size: 30, weight: .bold))
.font(.system(size: 27, weight: .semibold))
.foregroundColor(Color(hex: 0x0E0215))
.padding()
.frame(width: 188, height:60)
Expand Down Expand Up @@ -82,7 +82,7 @@ struct SettingsView: View {
.padding(.leading, 40.0)
.frame(maxWidth: .infinity, alignment: .leading)

TextField(" 15 Pompes", text: $exerciceTwoInput)
TextField(" 25 Abdos", text: $exerciceTwoInput)
.background(Color.gray.opacity(0.2))
.foregroundColor(Color(hex: 0xE6D2F7))
.frame(width: 300)
Expand All @@ -99,7 +99,7 @@ struct SettingsView: View {
.padding(.leading, 40.0)
.frame(maxWidth: .infinity, alignment: .leading)

TextField(" 15 Pompes", text: $exerciceThreeInput)
TextField(" 10 Fentes", text: $exerciceThreeInput)
.background(Color.gray.opacity(0.2))
.foregroundColor(Color(hex: 0xE6D2F7))
.frame(width: 300)
Expand All @@ -116,7 +116,7 @@ struct SettingsView: View {
.padding(.leading, 40.0)
.frame(maxWidth: .infinity, alignment: .leading)

TextField(" 15 Pompes", text: $exerciceFourInput)
TextField(" 5 Squats", text: $exerciceFourInput)
.background(Color.gray.opacity(0.2))
.foregroundColor(Color(hex: 0xE6D2F7))
.frame(width: 300)
Expand Down

0 comments on commit 955d116

Please sign in to comment.