From 724860c272afb7fe5a02645ef1c1b8d208d897f3 Mon Sep 17 00:00:00 2001 From: ivar Date: Thu, 4 Dec 2025 00:17:16 +0100 Subject: POC auth in app --- "ios/H\303\246-appen/ProfileContentView.swift" | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 "ios/H\303\246-appen/ProfileContentView.swift" (limited to 'ios/Hæ-appen/ProfileContentView.swift') diff --git "a/ios/H\303\246-appen/ProfileContentView.swift" "b/ios/H\303\246-appen/ProfileContentView.swift" new file mode 100644 index 0000000..af5cd33 --- /dev/null +++ "b/ios/H\303\246-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) + } + } +} -- cgit v1.3