generated from GSM-MSG/MSG-Repository-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #378 from School-of-Company/377-school-list-page-p…
…ublishing 🔀 :: [#377] 학교 목록 페이지 퍼블리싱
- Loading branch information
Showing
25 changed files
with
436 additions
and
140 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
App/Resources/Icon/Icons.xcassets/pen_fill.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "penFill.svg", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
App/Resources/Icon/Icons.xcassets/pen_fill.imageset/penFill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
App/Sources/DesignSystem/Button/DeactivateButton/DeactivateButton.swift
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
51 changes: 51 additions & 0 deletions
51
App/Sources/Feature/AdminBaseFeature/Source/Component/Button/ActivateButton.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import SwiftUI | ||
|
||
public enum ActivateType { | ||
case check | ||
case add | ||
case pen | ||
} | ||
|
||
public struct ActivateButton: View { | ||
let text: String | ||
let buttonType: ActivateType | ||
let action: () -> Void | ||
|
||
public var body: some View { | ||
HStack { | ||
Spacer() | ||
|
||
HStack(spacing: 8) { | ||
buttonIcon() | ||
.renderingMode(.template) | ||
|
||
BitgouelText( | ||
text: text, | ||
font: .text2 | ||
) | ||
} | ||
.padding(.vertical, 12) | ||
|
||
Spacer() | ||
} | ||
.foregroundColor(.white) | ||
.background(Color.bitgouel(.primary(.p5))) | ||
.cornerRadius(8, corners: .allCorners) | ||
.buttonWrapper { | ||
action() | ||
} | ||
} | ||
|
||
func buttonIcon() -> Image { | ||
switch buttonType { | ||
case .check: | ||
return BitgouelAsset.Icons.checkFill.swiftUIImage | ||
|
||
case .add: | ||
return BitgouelAsset.Icons.addFill.swiftUIImage | ||
|
||
case .pen: | ||
return BitgouelAsset.Icons.penFill.swiftUIImage | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
App/Sources/Feature/AdminBaseFeature/Source/Component/Button/DeactivateButton.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import SwiftUI | ||
|
||
public enum deactivateType { | ||
case minus | ||
case cancel | ||
} | ||
|
||
public struct DeactivateButton: View { | ||
let text: String | ||
let buttonType: deactivateType | ||
let action: () -> Void | ||
|
||
public var body: some View { | ||
HStack { | ||
Spacer() | ||
|
||
HStack(spacing: 8) { | ||
ButtonIcon() | ||
.renderingMode(.template) | ||
|
||
BitgouelText( | ||
text: text, | ||
font: .text2 | ||
) | ||
} | ||
.padding(.vertical, 12) | ||
|
||
Spacer() | ||
} | ||
.foregroundColor(.white) | ||
.background(Color.bitgouel(.error(.e5))) | ||
.cornerRadius(8, corners: .allCorners) | ||
.buttonWrapper(action) | ||
} | ||
|
||
func ButtonIcon() -> Image { | ||
switch buttonType { | ||
case .minus: | ||
BitgouelAsset.Icons.minusFill.swiftUIImage | ||
|
||
case .cancel: | ||
BitgouelAsset.Icons.cancelFill.swiftUIImage | ||
} | ||
} | ||
} |
File renamed without changes.
29 changes: 0 additions & 29 deletions
29
App/Sources/Feature/RequestUserSignupFeature/Source/Component/Button/AcceptButton.swift
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
App/Sources/Feature/RequestUserSignupFeature/Source/Component/Button/RejectionButton.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.