Skip to content

Commit

Permalink
💡 Comment: Home Views
Browse files Browse the repository at this point in the history
Comment: Home Views
  • Loading branch information
seochan99 committed Jun 15, 2024
1 parent a94a4ef commit fd689f8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions UNIV-4cut/Code/Features/Home/Views/HomeView.swift
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import SwiftUI


// Home View : 로고, 촬영하기 버튼
struct HomeView: View {

var body: some View {
NavigationView {
VStack {
Spacer()
// logo image
Image("logo")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 400, height: 400)
Spacer()
// 촬영하기 버튼
// 촬영하기 버튼 -> 온보딩 뷰로 이동 : 네비게이션 링크 방식
NavigationLink(destination: OnboardingView()) {
Text("촬영하기")
.foregroundColor(.white)
Expand All @@ -21,10 +21,9 @@ struct HomeView: View {
.cornerRadius(10)
}
.padding()

}
}
.navigationViewStyle(StackNavigationViewStyle())
.navigationViewStyle(StackNavigationViewStyle()) // Stack View Style
}
}

Expand Down

0 comments on commit fd689f8

Please sign in to comment.