summaryrefslogtreecommitdiffstats
path: root/ios/Hæ-appen/ProfileContentView.swift
blob: af5cd33647b623771998957e25285e826c6ec707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)
        }
    }
}