Skip to content

Instantly share code, notes, and snippets.

@alexvenom
Created September 26, 2019 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexvenom/f18c61a3169d704bb9f2cd20fb5a9843 to your computer and use it in GitHub Desktop.
Save alexvenom/f18c61a3169d704bb9f2cd20fb5a9843 to your computer and use it in GitHub Desktop.
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)
TimelineDetailView().padding(.top, 20)
BottomView()
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment