diff --git a/MobileFort/MobileFort/ContentView.swift b/MobileFort/MobileFort/ContentView.swift index dfe33f9..4ba668f 100644 --- a/MobileFort/MobileFort/ContentView.swift +++ b/MobileFort/MobileFort/ContentView.swift @@ -1,13 +1,17 @@ import SwiftUI -struct ContentView: View { +struct ProfileView: View { var body: some View { - Text("Hello, World!") + Text("Hello, world!") } } -struct ContentView_Previews: PreviewProvider { - static var previews: some View { - ContentView() +struct MainView: View { + var body: some View { + NavigationView { + NavigationLink(destination: ProfileView()) { + Text("Show Feed") + } + } } } diff --git a/MobileFort/MobileFort/SceneDelegate.swift b/MobileFort/MobileFort/SceneDelegate.swift index 9e9ee9b..95f64c6 100644 --- a/MobileFort/MobileFort/SceneDelegate.swift +++ b/MobileFort/MobileFort/SceneDelegate.swift @@ -6,7 +6,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { - let contentView = ContentView() + let contentView = MainView() if let windowScene = scene as? UIWindowScene { let window = UIWindow(windowScene: windowScene)