Created
September 26, 2019 12:24
-
-
Save alexvenom/8feae2a6b59562e5e606aaf22b2c9c09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct HomeView: View { | |
var body: some View { | |
GeometryReader { geometry in | |
VStack{ | |
HStack{ | |
Button(action: {}){ | |
Image("camera") | |
.resizable() | |
.frame(width: 30, height: 30) | |
}.padding() | |
Text("Back4Gram") | |
.font(.largeTitle) | |
.foregroundColor(lightBlueColor) | |
.fontWeight(.semibold) | |
Spacer() | |
Button(action: {}){ | |
Image("home") | |
.resizable() | |
.frame(width: 30, height: 30) | |
} | |
Button(action: {}){ | |
Image("paper-plane") | |
.resizable() | |
.frame(width: 30, height: 30) | |
}.padding() | |
}.frame(height: 50) | |
ScrollView(.horizontal, showsIndicators: false) { | |
HStack { | |
PreviewViewTop() | |
PreviewViewTop() | |
PreviewViewTop() | |
PreviewViewTop() | |
PreviewViewTop() | |
PreviewViewTop() | |
} | |
}.frame(height: 70) | |
BottomView() | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment