Introduce initial UI for connecting to networks
This commit is contained in:
parent
a757ac7be9
commit
453dd2d116
33 changed files with 1458 additions and 321 deletions
23
Apple/App/Networks/HackClub.swift
Normal file
23
Apple/App/Networks/HackClub.swift
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import SwiftUI
|
||||
|
||||
struct HackClub: Network {
|
||||
var id: String
|
||||
var backgroundColor: Color { .init("HackClub") }
|
||||
|
||||
var label: some View {
|
||||
GeometryReader { reader in
|
||||
VStack(alignment: .leading) {
|
||||
Image("HackClub")
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
.frame(height: reader.size.height / 4)
|
||||
Spacer()
|
||||
Text("@conradev")
|
||||
.foregroundStyle(.white)
|
||||
.font(.body.monospaced())
|
||||
}
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue