diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj index 864b865..89a80b7 100644 --- a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj +++ b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj @@ -29,7 +29,6 @@ 649B59AE2BF64EAB002BAE38 /* AppImages.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649B59AD2BF64EAB002BAE38 /* AppImages.swift */; }; 649B59B22BF65392002BAE38 /* TextStyles.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649B59B12BF65392002BAE38 /* TextStyles.swift */; }; 649B59B42BF653E1002BAE38 /* ViewTitleTextStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649B59B32BF653E1002BAE38 /* ViewTitleTextStyle.swift */; }; - EC62C4EF2BFE367F0048CD0B /* SwiftUIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC62C4EE2BFE367F0048CD0B /* SwiftUIView.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -89,7 +88,6 @@ 649B59AD2BF64EAB002BAE38 /* AppImages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppImages.swift; sourceTree = ""; }; 649B59B12BF65392002BAE38 /* TextStyles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextStyles.swift; sourceTree = ""; }; 649B59B32BF653E1002BAE38 /* ViewTitleTextStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewTitleTextStyle.swift; sourceTree = ""; }; - EC62C4EE2BFE367F0048CD0B /* SwiftUIView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftUIView.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -130,7 +128,6 @@ isa = PBXGroup; children = ( 643AB69A2BFCFB5C0018DA73 /* HistoricView.swift */, - EC62C4EE2BFE367F0048CD0B /* SwiftUIView.swift */, ); path = Game; sourceTree = ""; @@ -419,7 +416,6 @@ 649B59AE2BF64EAB002BAE38 /* AppImages.swift in Sources */, 649ABF602BF60F2D002E8894 /* MainMenuButton.swift in Sources */, 643AB6932BFCEFD00018DA73 /* GameResumeFrame.swift in Sources */, - EC62C4EF2BFE367F0048CD0B /* SwiftUIView.swift in Sources */, 649B59B22BF65392002BAE38 /* TextStyles.swift in Sources */, 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */, 645B4C202BFCCA0500FD658A /* PlayerResumeFrame.swift in Sources */, diff --git a/DouShouQi_App/DouShouQi_App/Views/Game/SwiftUIView.swift b/DouShouQi_App/DouShouQi_App/Views/Game/SwiftUIView.swift deleted file mode 100644 index e544d48..0000000 --- a/DouShouQi_App/DouShouQi_App/Views/Game/SwiftUIView.swift +++ /dev/null @@ -1,98 +0,0 @@ -// -// SwiftUIView.swift -// DouShouQi_App -// -// Created by étudiant on 22/05/2024. -// - -import SwiftUI - -struct SwiftUIView: View { - var body: some View { - VStack { - TitlePageFrame(Text: "DOU SHOU QI", ImageWidth: 200, ImageHeight: 200) - Spacer() - - VStack { - HStack{ - VStack { - Button(action: { - // Action du bouton - }, label: { - Text("Play".uppercased()) - .font(.headline) - .fontWeight(.semibold) - .foregroundColor(.white) - .frame(maxWidth: .infinity, maxHeight: 50) - .background( - Color.red - ) - .cornerRadius(0) - }) - .frame(width: UIScreen.main.bounds.width / 1.7) - .frame(maxWidth: .infinity, alignment: .leading) - - Button(action: { - // Action du bouton - }, label: { - Text("Historique".uppercased()) - .font(.headline) - .fontWeight(.semibold) - .foregroundColor(.white) - .frame(maxWidth: .infinity, maxHeight: 50) - .background( - Color.red - ) - .cornerRadius(0) - }) - .frame(width: UIScreen.main.bounds.width / 1.7) - .frame(maxWidth: .infinity, alignment: .leading) - - Button(action: { - // Action du bouton - }, label: { - Text("Best scores".uppercased()) - .font(.headline) - .fontWeight(.semibold) - .foregroundColor(.white) - .frame(maxWidth: .infinity, maxHeight: 50) - .background( - Color.red - ) - .cornerRadius(0) - }) - .frame(width: UIScreen.main.bounds.width / 1.7) - .frame(maxWidth: .infinity, alignment: .leading) - - Button(action: { - // Action du bouton - }, label: { - Text("Players".uppercased()) - .font(.headline) - .fontWeight(.semibold) - .foregroundColor(.white) - .frame(maxWidth: .infinity, maxHeight: 50) - .background( - Color.red - ) - .cornerRadius(0) - }) - .frame(width: UIScreen.main.bounds.width / 1.7) - .frame(maxWidth: .infinity, alignment: .leading) - } - .padding() - } - } - .padding(.horizontal, 10) - - Spacer() - } - } -} - - -struct SwiftUIView_Previews: PreviewProvider { - static var previews: some View { - SwiftUIView() - } -}