|
|
|
@ -10,9 +10,38 @@ import SwiftUI
|
|
|
|
|
struct MainMenu: View {
|
|
|
|
|
var body: some View {
|
|
|
|
|
VStack {
|
|
|
|
|
Spacer()
|
|
|
|
|
Button("parties enregistrées"){}
|
|
|
|
|
.frame(maxWidth: .infinity)
|
|
|
|
|
.padding(EdgeInsets(top: 10, leading: 32, bottom: 10, trailing: 32))
|
|
|
|
|
.buttonStyle(.bordered)
|
|
|
|
|
.controlSize(.large)
|
|
|
|
|
.foregroundColor(.white)
|
|
|
|
|
.background(.black)
|
|
|
|
|
.buttonBorderShape(.roundedRectangle)
|
|
|
|
|
.clipShape(Capsule())
|
|
|
|
|
Spacer().frame(height: 50)
|
|
|
|
|
Button("paramètres"){}
|
|
|
|
|
.frame(maxWidth: .infinity)
|
|
|
|
|
.padding(EdgeInsets(top: 10, leading: 32, bottom: 10, trailing: 32))
|
|
|
|
|
.buttonStyle(.bordered)
|
|
|
|
|
.controlSize(.large)
|
|
|
|
|
.foregroundColor(.white)
|
|
|
|
|
.background(.black)
|
|
|
|
|
.clipShape(Capsule())
|
|
|
|
|
Spacer().frame(height: 50)
|
|
|
|
|
Button("jouer"){}
|
|
|
|
|
.frame(maxWidth: .infinity)
|
|
|
|
|
.padding(EdgeInsets(top: 10, leading: 32, bottom: 10, trailing: 32))
|
|
|
|
|
.buttonStyle(.bordered)
|
|
|
|
|
.controlSize(.large)
|
|
|
|
|
.foregroundColor(.white)
|
|
|
|
|
.background(.black)
|
|
|
|
|
.clipShape(Capsule())
|
|
|
|
|
Spacer()
|
|
|
|
|
}
|
|
|
|
|
.fixedSize(horizontal: false, vertical: true)
|
|
|
|
|
.padding(EdgeInsets(top: 10, leading: 32, bottom: 10, trailing: 32))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|