fix: 메인 홈 - 이벤트 배너, 오디션 배너 사이즈 수정

- 이벤트 배너: 좌우 마진 제거
- 오디션 배너: 좌우 마진 제거, 352x120 비율로 변경
This commit is contained in:
Yu Sung
2025-07-15 00:09:45 +09:00
parent 1dc07c674f
commit 61b2f9cd89
2 changed files with 9 additions and 9 deletions

View File

@@ -27,8 +27,8 @@ struct HomeAuditionView: View {
.resizable() .resizable()
.scaledToFill() .scaledToFill()
.frame( .frame(
width: screenSize().width - 48, width: screenSize().width,
height: (screenSize().width - 48) * 530 / 1000, height: screenSize().width * 120 / 352,
alignment: .center alignment: .center
) )
.tag(index) .tag(index)
@@ -45,8 +45,8 @@ struct HomeAuditionView: View {
.resizable() .resizable()
.scaledToFill() .scaledToFill()
.frame( .frame(
width: screenSize().width - 48, width: screenSize().width,
height: (screenSize().width - 48) * 530 / 1000, height: screenSize().width * 120 / 352,
alignment: .center alignment: .center
) )
.tag(index) .tag(index)
@@ -63,7 +63,7 @@ struct HomeAuditionView: View {
.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never)) .tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))
.frame( .frame(
width: screenSize().width, width: screenSize().width,
height: screenSize().width * 530 / 1000, height: screenSize().width * 120 / 352,
alignment: .center alignment: .center
) )

View File

@@ -27,8 +27,8 @@ struct SectionEventBannerView: View {
.resizable() .resizable()
.scaledToFill() .scaledToFill()
.frame( .frame(
width: screenSize().width - 48, width: screenSize().width,
height: (screenSize().width - 48) * 300 / 1000, height: screenSize().width * 300 / 1000,
alignment: .center alignment: .center
) )
.tag(index) .tag(index)
@@ -49,8 +49,8 @@ struct SectionEventBannerView: View {
.resizable() .resizable()
.scaledToFill() .scaledToFill()
.frame( .frame(
width: screenSize().width - 48, width: screenSize().width,
height: (screenSize().width - 48) * 300 / 1000, height: screenSize().width * 300 / 1000,
alignment: .center alignment: .center
) )
.tag(index) .tag(index)