summaryrefslogtreecommitdiffstats
path: root/ios/Hæ-appen/ProfileContentView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'ios/Hæ-appen/ProfileContentView.swift')
-rw-r--r--ios/Hæ-appen/ProfileContentView.swift28
1 files changed, 28 insertions, 0 deletions
diff --git a/ios/Hæ-appen/ProfileContentView.swift b/ios/Hæ-appen/ProfileContentView.swift
new file mode 100644
index 0000000..af5cd33
--- /dev/null
+++ b/ios/Hæ-appen/ProfileContentView.swift
@@ -0,0 +1,28 @@
+//
+// ProfileContentView.swift
+// Hæ-appen
+//
+// Created by Ivar Løvlie on 03/12/2025.
+//
+
+import SwiftUI
+
+struct ProfileContentView : View {
+ let auth = Auth()
+
+ var body: some View {
+ VStack {
+ Text("Halla!")
+ .font(.largeTitle)
+ HStack
+ {
+ Button("Logg på", systemImage: "hand.raised.square.on.square") {
+ auth.login()
+ }
+ Button("Registrer deg", systemImage: "hand.raised.square.on.square") {
+ auth.register()
+ }
+ }.buttonStyle(.borderless)
+ }
+ }
+}