diff --git a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/LoginView.swift b/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/LoginView.swift index 5cf22be..e395d92 100644 --- a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/LoginView.swift +++ b/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/LoginView.swift @@ -24,7 +24,7 @@ struct LoginView: View { //Username Text Field TextField("Username", text: $username) .textFieldStyle(RoundedBorderTextFieldStyle()) - .padding(.horizontal, 20) + .padding(.top, 10) } .padding() diff --git a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/UserView.swift b/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/UserView.swift deleted file mode 100644 index 8674694..0000000 --- a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/UserView.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// UserView.swift -// miniProject-seniorDesign -// -// Created by Darien Aranda on 11/9/24. -// -// -//import SwiftUI -// -//struct UserView: View { -// @Binding var loginState: LoginState -// -// var body: some View { -// VStack { -// Text("User Logged In") -// Button("Log out") { -// loginState = .notLoggedIn -// } -// } -// } -//} diff --git a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/adminView.swift b/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/adminView.swift deleted file mode 100644 index 052bcb4..0000000 --- a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/adminView.swift +++ /dev/null @@ -1,21 +0,0 @@ -// -// AdminView.swift -// miniProject-seniorDesign -// -// Created by Darien Aranda on 11/9/24. -// - -//import SwiftUI - -//struct AdminView: View { -// @Binding var loginState: LoginState -// -// var body: some View { -// VStack { -// Text("Admin Logged In") -// Button("Log out") { -// loginState = .notLoggedIn -// } -// } -// } -//} diff --git a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/deletePostView.swift b/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/deletePostView.swift deleted file mode 100644 index bb55308..0000000 --- a/mini-project-SeniorDesign/miniProject-seniorDesign/Preview Content/ViewLayer/deletePostView.swift +++ /dev/null @@ -1,57 +0,0 @@ -// -// deletePostView.swift -// miniProject-seniorDesign -// -// Created by Austin Lim on 11/11/24. -// - -import SwiftUI - -struct deletePostView: View{ - @Environment(\.presentationMode) var presentationMode - var body: some View{ - ZStack{ - Color.black.opacity(0.4) // Semi-transparent background to simulate a modal overlay - .edgesIgnoringSafeArea(.all) // Extends the overlay to cover the whole screen - - VStack(spacing: 20) { - Text("Are you sure you want to delete this post?") - .font(.title2) - .multilineTextAlignment(.center) - .padding() - HStack(spacing: 40){ - Button(action:{ - - }){ - Text("No") - .font(.headline) - .foregroundColor(.blue) - .padding() - .frame(width: 100) - .background(Color.white) - .cornerRadius(10) - .shadow(radius: 5) - } - Button(action:{ - - }){ - Text("Yes") - .font(.headline) - .foregroundColor(.blue) - .padding() - .frame(width: 100) - .background(Color.white) - .cornerRadius(10) - .shadow(radius: 5) - } - } - } - - - - } - } -} -#Preview { - ContentView() -}