Skip to content

Commit

Permalink
Merge pull request #53 from Team-MindWay/51-design-change-modify
Browse files Browse the repository at this point in the history
🔀 :: 디자인 변경사항 적용
  • Loading branch information
shwaaaa authored Apr 17, 2024
2 parents a201a10 + 6c77728 commit 56bad8d
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct MindWayBackButtonModifier: ViewModifier {
willDismiss()
dismiss()
} label: {
MindWayAsset.Icons.chevronRight.swiftUIImage
MindWayAsset.Icons.chevronLeft.swiftUIImage
.foregroundColor(.mindway(.black(.black)))
}
}
Expand Down
67 changes: 37 additions & 30 deletions App/Sources/Feature/GoalReadingFeature/GoalReadingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,40 @@ struct GoalReadingView: View {
var bookCount: [Int] = [0, 2, 2, 4, 1, 0, 0]

var body: some View {
ZStack {
VStack(spacing: 20) {
ZStack {
RoundedRectangle(cornerRadius: 8)
.frame(height: 219)
.foregroundColor(.mindway(.white(.white)))
.shadow(color: .black.opacity(0.05), radius: 10, x: 0)
.padding(.horizontal, 24)
.padding(.top, 20)
NavigationView {
ZStack {
VStack(spacing: 20) {
ZStack {
RoundedRectangle(cornerRadius: 8)
.frame(height: 219)
.foregroundColor(.mindway(.white(.white)))
.shadow(color: .black.opacity(0.05), radius: 10, x: 0)
.padding(.horizontal, 24)
.padding(.top, 20)

GoalReadingGraph(
bookCount: bookCount,
week: week
)
}

GoalReadingGraph(
bookCount: bookCount,
week: week
)
}

ZStack {
RoundedRectangle(cornerRadius: 8)
.frame(height: 60)
.foregroundColor(.mindway(.white(.white)))
.shadow(color: .black.opacity(0.05), radius: 10, x: 0)
.padding(.horizontal, 24)
ZStack {
RoundedRectangle(cornerRadius: 8)
.frame(height: 60)
.foregroundColor(.mindway(.white(.white)))
.shadow(color: .black.opacity(0.05), radius: 10, x: 0)
.padding(.horizontal, 24)

MindWayAsset.Icons.addMain.swiftUIImage
}

MindWayAsset.Icons.addMain.swiftUIImage
}

ForEach(0..<2, id: \.self) { _ in
readingBookList()
ForEach(0..<2, id: \.self) { _ in
readingBookList()
}
Spacer()
}

Spacer()
}
.navigationTitle("목표 도서량")
.toolbar {
ToolbarItemGroup(placement: .navigationBarTrailing) {
Button {
Expand All @@ -49,12 +50,18 @@ struct GoalReadingView: View {
MindWayAsset.Icons.addBlack.swiftUIImage
}
}

ToolbarItemGroup(placement: .principal) {
Text("목표 도서량")
.mindWaySemiboldFont(.m2)
}
}
.mindWayBackButton(dismiss: dismiss)
}
.mindWayBottomSheet(isShowing: $isShowingSettingPage) {
SettingGoalReadingView(viewModel: GoalReadingViewModel())
}
.mindWayBackButton(dismiss: dismiss)

}

@ViewBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct GoalReadingGraph: View {
.foregroundColor(.mindway(.gray(.g8)))

Rectangle()
.frame(width: 16, height: CGFloat(count+1)*CGFloat(count+1))
.frame(width: 16, height: CGFloat(count*3))
.foregroundColor(.mindway(.main(.main)))
.cornerRadius(4, corners: [.topRight, .topLeft])
}
Expand Down
1 change: 0 additions & 1 deletion XCConfig/MindWay/DEBUG.xcconfig

This file was deleted.

1 change: 0 additions & 1 deletion XCConfig/MindWay/RELEASE.xcconfig

This file was deleted.

2 changes: 0 additions & 2 deletions XCConfig/Service/DEBUG.xcconfig

This file was deleted.

2 changes: 0 additions & 2 deletions XCConfig/Service/RELEASE.xcconfig

This file was deleted.

1 change: 0 additions & 1 deletion XCConfig/ThirdPartyLib/DEBUG.xcconfig

This file was deleted.

1 change: 0 additions & 1 deletion XCConfig/ThirdPartyLib/RELEASE.xcconfig

This file was deleted.

0 comments on commit 56bad8d

Please sign in to comment.