feat: 설정 페이지
- 공지사항, 이벤트 메뉴 제거
This commit is contained in:
		@@ -24,50 +24,6 @@ struct SettingsView: View {
 | 
			
		||||
                    ScrollView(.vertical, showsIndicators: false) {
 | 
			
		||||
                        VStack(spacing: 0) {
 | 
			
		||||
                            VStack(spacing: 0) {
 | 
			
		||||
                                HStack(spacing: 0) {
 | 
			
		||||
                                    Text("공지사항")
 | 
			
		||||
                                        .font(.custom(Font.bold.rawValue, size: 14.7))
 | 
			
		||||
                                        .foregroundColor(Color.grayee)
 | 
			
		||||
                                    
 | 
			
		||||
                                    Spacer()
 | 
			
		||||
                                    
 | 
			
		||||
                                    Image("ic_forward")
 | 
			
		||||
                                        .resizable()
 | 
			
		||||
                                        .frame(width: 20, height: 20)
 | 
			
		||||
                                }
 | 
			
		||||
                                .padding(.horizontal, 3.3)
 | 
			
		||||
                                .frame(width: cardWidth - 26.7, height: 50)
 | 
			
		||||
                                .contentShape(Rectangle())
 | 
			
		||||
                                .onTapGesture {
 | 
			
		||||
                                    AppState.shared.setAppStep(step: .notices)
 | 
			
		||||
                                }
 | 
			
		||||
                                
 | 
			
		||||
                                Rectangle()
 | 
			
		||||
                                    .frame(width: cardWidth - 26.7, height: 0.3)
 | 
			
		||||
                                    .foregroundColor(Color.gray90)
 | 
			
		||||
                                
 | 
			
		||||
                                HStack(spacing: 0) {
 | 
			
		||||
                                    Text("이벤트")
 | 
			
		||||
                                        .font(.custom(Font.bold.rawValue, size: 14.7))
 | 
			
		||||
                                        .foregroundColor(Color.grayee)
 | 
			
		||||
                                    
 | 
			
		||||
                                    Spacer()
 | 
			
		||||
                                    
 | 
			
		||||
                                    Image("ic_forward")
 | 
			
		||||
                                        .resizable()
 | 
			
		||||
                                        .frame(width: 20, height: 20)
 | 
			
		||||
                                }
 | 
			
		||||
                                .padding(.horizontal, 3.3)
 | 
			
		||||
                                .frame(width: cardWidth - 26.7, height: 50)
 | 
			
		||||
                                .contentShape(Rectangle())
 | 
			
		||||
                                .onTapGesture {
 | 
			
		||||
                                    AppState.shared.setAppStep(step: .events)
 | 
			
		||||
                                }
 | 
			
		||||
                                
 | 
			
		||||
                                Rectangle()
 | 
			
		||||
                                    .frame(width: cardWidth - 26.7, height: 0.3)
 | 
			
		||||
                                    .foregroundColor(Color.gray90)
 | 
			
		||||
                                
 | 
			
		||||
                                HStack(spacing: 0) {
 | 
			
		||||
                                    Text("알림 설정")
 | 
			
		||||
                                        .font(.custom(Font.bold.rawValue, size: 14.7))
 | 
			
		||||
@@ -85,6 +41,30 @@ struct SettingsView: View {
 | 
			
		||||
                                .onTapGesture {
 | 
			
		||||
                                    AppState.shared.setAppStep(step: .notificationSettings)
 | 
			
		||||
                                }
 | 
			
		||||
                                
 | 
			
		||||
                                if UserDefaults.bool(forKey: .auth) {
 | 
			
		||||
                                    Rectangle()
 | 
			
		||||
                                        .frame(width: cardWidth - 26.7, height: 0.3)
 | 
			
		||||
                                        .foregroundColor(Color.gray90)
 | 
			
		||||
                                    
 | 
			
		||||
                                    HStack(spacing: 0) {
 | 
			
		||||
                                        Text("콘텐츠 보기 설정")
 | 
			
		||||
                                            .font(.custom(Font.bold.rawValue, size: 14.7))
 | 
			
		||||
                                            .foregroundColor(Color.grayee)
 | 
			
		||||
                                        
 | 
			
		||||
                                        Spacer()
 | 
			
		||||
                                        
 | 
			
		||||
                                        Image("ic_forward")
 | 
			
		||||
                                            .resizable()
 | 
			
		||||
                                            .frame(width: 20, height: 20)
 | 
			
		||||
                                    }
 | 
			
		||||
                                    .padding(.horizontal, 3.3)
 | 
			
		||||
                                    .frame(width: cardWidth - 26.7, height: 50)
 | 
			
		||||
                                    .contentShape(Rectangle())
 | 
			
		||||
                                    .onTapGesture {
 | 
			
		||||
                                        AppState.shared.setAppStep(step: .contentViewSettings)
 | 
			
		||||
                                    }
 | 
			
		||||
                                }
 | 
			
		||||
                            }
 | 
			
		||||
                            .padding(.horizontal, 13.3)
 | 
			
		||||
                            .frame(width: cardWidth)
 | 
			
		||||
@@ -92,29 +72,6 @@ struct SettingsView: View {
 | 
			
		||||
                            .cornerRadius(6.7)
 | 
			
		||||
                            .padding(.top, 26.7)
 | 
			
		||||
                            
 | 
			
		||||
                            if UserDefaults.bool(forKey: .auth) {
 | 
			
		||||
                                HStack(spacing: 0) {
 | 
			
		||||
                                    Text("콘텐츠 보기 설정")
 | 
			
		||||
                                        .font(.custom(Font.bold.rawValue, size: 14.7))
 | 
			
		||||
                                        .foregroundColor(Color.grayee)
 | 
			
		||||
                                    
 | 
			
		||||
                                    Spacer()
 | 
			
		||||
                                    
 | 
			
		||||
                                    Image("ic_forward")
 | 
			
		||||
                                        .resizable()
 | 
			
		||||
                                        .frame(width: 20, height: 20)
 | 
			
		||||
                                }
 | 
			
		||||
                                .padding(.horizontal, 16.7)
 | 
			
		||||
                                .frame(width: cardWidth, height: 50)
 | 
			
		||||
                                .background(Color.gray22)
 | 
			
		||||
                                .cornerRadius(6.7)
 | 
			
		||||
                                .contentShape(Rectangle())
 | 
			
		||||
                                .padding(.top, 13.3)
 | 
			
		||||
                                .onTapGesture {
 | 
			
		||||
                                    AppState.shared.setAppStep(step: .contentViewSettings)
 | 
			
		||||
                                }
 | 
			
		||||
                            }
 | 
			
		||||
                            
 | 
			
		||||
                            VStack(spacing: 0) {
 | 
			
		||||
                                HStack(spacing: 0) {
 | 
			
		||||
                                    Text("이용약관")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user