diff options
| author | ivar <i@oiee.no> | 2025-12-04 00:17:16 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2025-12-04 00:17:16 +0100 |
| commit | 724860c272afb7fe5a02645ef1c1b8d208d897f3 (patch) | |
| tree | df9b72b9cd9cc716ceb19a4a9085b8f1ba5b6972 /ios/Hæ-appen/ProfileContentView.swift | |
| parent | 401226a14f3e5ef98b959e818d37683afd7056d9 (diff) | |
| download | what-724860c272afb7fe5a02645ef1c1b8d208d897f3.tar.xz what-724860c272afb7fe5a02645ef1c1b8d208d897f3.zip | |
POC auth in app
Diffstat (limited to 'ios/Hæ-appen/ProfileContentView.swift')
| -rw-r--r-- | ios/Hæ-appen/ProfileContentView.swift | 28 |
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) + } + } +} |
