mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
21 lines
439 B
Swift
21 lines
439 B
Swift
import SwiftUI
|
|
|
|
struct RegistrationHeroImageView: View {
|
|
let tapGestureHandler: () -> Void
|
|
|
|
var body: some View {
|
|
ZStack(alignment: .topLeading) {
|
|
Image.readingIllustration
|
|
.resizable()
|
|
.aspectRatio(contentMode: .fit)
|
|
Image.omnivoreTitleLogo
|
|
.padding()
|
|
.gesture(
|
|
TapGesture(count: 2)
|
|
.onEnded {
|
|
tapGestureHandler()
|
|
}
|
|
)
|
|
}
|
|
}
|
|
}
|