-
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.
- Loading branch information
1 parent
cbcd5cc
commit 6416c65
Showing
14 changed files
with
150 additions
and
10 deletions.
There are no files selected for viewing
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
23 changes: 23 additions & 0 deletions
23
...esignSystem/DesignCore/Resources/Images/Images.xcassets/name-paper.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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "name-paper.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+34.8 KB
.../DesignCore/Resources/Images/Images.xcassets/name-paper.imageset/name-paper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+121 KB
...signCore/Resources/Images/Images.xcassets/name-paper.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+249 KB
...signCore/Resources/Images/Images.xcassets/name-paper.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
...ts/DesignSystem/DesignCore/Resources/Images/Images.xcassets/pencil.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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "pencil.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+6.38 KB
...gnSystem/DesignCore/Resources/Images/Images.xcassets/pencil.imageset/pencil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.5 KB
...ystem/DesignCore/Resources/Images/Images.xcassets/pencil.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.1 KB
...ystem/DesignCore/Resources/Images/Images.xcassets/pencil.imageset/[email protected]
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
88 changes: 88 additions & 0 deletions
88
Projects/Features/SignUp/Sources/ProfileInput/AuthName/AuthNameInputView.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,88 @@ | ||
// | ||
// AuthNameInputView.swift | ||
// DesignPreview | ||
// | ||
// Created by 김지수 on 10/2/24. | ||
// Copyright © 2024 com.weave. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
import DesignCore | ||
import CommonKit | ||
import UIKit | ||
|
||
public struct AuthNameInputView: View { | ||
|
||
@State var inputText = String() | ||
|
||
public init() { | ||
|
||
} | ||
|
||
@ViewBuilder | ||
var backgroundView: some View { | ||
ZStack { | ||
DesignCore.Images.namePaper.image | ||
.resizable() | ||
.aspectRatio(contentMode: .fit) | ||
.padding(.horizontal, 72) | ||
DesignCore.Images.pencil.image | ||
.resizable() | ||
.frame(width: 68, height: 68) | ||
.offset(x: 100, y: 12) | ||
} | ||
} | ||
|
||
public var body: some View { | ||
VStack(spacing: 44) { | ||
VStack(spacing: 0) { | ||
Text("이제 마지막이에요.") | ||
.typography(.regular_14) | ||
.foregroundStyle(DesignCore.Colors.grey200) | ||
Text("당신의 이름은 무엇인가요?") | ||
.typography(.semibold_24) | ||
.foregroundStyle(DesignCore.Colors.grey500) | ||
} | ||
|
||
ZStack { | ||
backgroundView | ||
TextField( | ||
"김위브", | ||
text: $inputText | ||
) | ||
.keyboardType(.namePhonePad) | ||
.interactiveDismissDisabled() | ||
.textInputAutocapitalization(.never) | ||
.autocorrectionDisabled() | ||
.speechAnnouncementsQueued(false) | ||
.speechSpellsOutCharacters(false) | ||
.multilineTextAlignment(.center) | ||
.pretendard(weight: ._400, size: 28) | ||
.foregroundStyle(DesignCore.Colors.grey500) | ||
.offset(y: -4) | ||
} | ||
|
||
Spacer() | ||
|
||
CTABottomButton( | ||
title: "다음", | ||
backgroundStyle: LinearGradient.gradientA, | ||
isActive: inputText.count >= 2 | ||
) { | ||
|
||
} | ||
} | ||
.ignoresSafeArea() | ||
.padding(.top, 10) | ||
.textureBackground() | ||
.setNavigation { | ||
AppCoordinator.shared.pop() | ||
} | ||
} | ||
} | ||
|
||
#Preview { | ||
NavigationView { | ||
AuthNameInputView() | ||
} | ||
} |
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