-
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.
Browse files
Browse the repository at this point in the history
[Feat/#37 signup dev submit] 개발자 등록 페이지 추가
- Loading branch information
Showing
31 changed files
with
1,131 additions
and
245 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
11 changes: 11 additions & 0 deletions
11
core/designsystem/src/main/res/drawable/submit_button_background.xml
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,11 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="340dp" | ||
android:height="80dp" | ||
android:viewportWidth="340" | ||
android:viewportHeight="56"> | ||
<path | ||
android:strokeWidth="1" | ||
android:pathData="M10,0.5L330,0.5A9.5,9.5 0,0 1,339.5 10L339.5,46A9.5,9.5 0,0 1,330 55.5L10,55.5A9.5,9.5 0,0 1,0.5 46L0.5,10A9.5,9.5 0,0 1,10 0.5z" | ||
android:fillColor="#423B39" | ||
android:strokeColor="#423B39"/> | ||
</vector> |
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
31 changes: 31 additions & 0 deletions
31
core/network/src/main/java/com/sample/network/request/CreateDevelopersRequest.kt
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,31 @@ | ||
package com.sample.network.request | ||
|
||
import kotlinx.serialization.SerialName | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class CreateDevelopersRequest( | ||
@SerialName("shortIntro") | ||
val shortIntro: String, | ||
@SerialName("university") | ||
val university: String, | ||
@SerialName("major") | ||
val major: String, | ||
@SerialName("studentNumber") | ||
val studentNumber: String, | ||
@SerialName("kakaoId") | ||
val kakaoId: String, | ||
@SerialName("githubLink") | ||
val githubLink: String, | ||
@SerialName("part1") | ||
val part1: String, | ||
@SerialName("part2") | ||
val part2: String, | ||
@SerialName("languageList") | ||
val languageList: List<String>, | ||
@SerialName("devToolList") | ||
val devToolList: List<String>, | ||
@SerialName("techStackList") | ||
val techStackList: List<String>, | ||
|
||
) |
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
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,20 @@ | ||
package com.zucchini.mapper | ||
|
||
import com.sample.network.request.CreateDevelopersRequest | ||
import com.zucchini.domain.model.SubmitDevInfo | ||
|
||
internal fun SubmitDevInfo.toCreateDevelopersRequest(): CreateDevelopersRequest { | ||
return CreateDevelopersRequest( | ||
shortIntro = devIntro, | ||
university = devUniversity, | ||
major = devMajor, | ||
studentNumber = devStudentNumber, | ||
kakaoId = kakaoId, | ||
githubLink = devGithub, | ||
part1 = devPart1, | ||
part2 = devPart2, | ||
languageList = devLanguageList, | ||
devToolList = devCooperationList, | ||
techStackList = devTechStackList, | ||
) | ||
} |
15 changes: 15 additions & 0 deletions
15
domain/src/main/java/com/zucchini/domain/model/SubmitDevInfo.kt
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,15 @@ | ||
package com.zucchini.domain.model | ||
|
||
data class SubmitDevInfo( | ||
val devGithub: String, | ||
val devUniversity: String, | ||
val devMajor: String, | ||
val devIntro: String, | ||
val kakaoId: String, | ||
val devStudentNumber: String, | ||
val devPart1: String, | ||
val devPart2: String, | ||
val devTechStackList: List<String>, | ||
val devLanguageList: List<String>, | ||
val devCooperationList: List<String> | ||
) |
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
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
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.