Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement