Skip to content

Commit

Permalink
Merge pull request #142 from GSM-MSG/feature/#140_publishing_main_page
Browse files Browse the repository at this point in the history
🔀 :: (#140) - Publishing main page
  • Loading branch information
wjdcksdn authored Dec 28, 2023
2 parents 6ffcf1f + 460775f commit ccb64ec
Show file tree
Hide file tree
Showing 59 changed files with 2,145 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
package com.msg.design_system.component.icon

import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import com.msg.design_system.R
Expand Down Expand Up @@ -120,4 +126,87 @@ fun SuccessIcon(
contentDescription = "Success Icon",
modifier = modifier
)
}

@Composable
fun MedicalIcon(
modifier: Modifier = Modifier
) {
Image(
painter = painterResource(id = R.mipmap.ic_banner_medical),
contentDescription = "Medical government logo",
modifier = modifier,
contentScale = ContentScale.Fit
)
}

@Composable
fun AiIcon(
modifier: Modifier = Modifier
) {
Image(
painter = painterResource(id = R.mipmap.ic_banner_ai),
contentDescription = "Ai government logo",
modifier = modifier
.height(28.dp),
contentScale = ContentScale.Fit
)
}

@Composable
fun EnergyIcon(
modifier: Modifier = Modifier
) {
Image(
painter = painterResource(id = R.mipmap.ic_banner_energy),
contentDescription = "Energy government logo",
modifier = modifier
.height(28.dp),
contentScale = ContentScale.Fit
)
}

@Composable
fun FutureTransportIcon(
modifier: Modifier = Modifier
) {
Image(
painter = painterResource(id = R.mipmap.ic_banner_future),
contentDescription = "FutureTransport logo",
modifier = modifier
.height(28.dp)
)
}

@Composable
fun GwangjuIcon(
modifier: Modifier = Modifier
) {
Row(
verticalAlignment = Alignment.CenterVertically
) {
Image(
modifier = modifier
.width(48.dp)
.height(48.dp),
painter = painterResource(id = R.mipmap.ic_banner_gwangju),
contentDescription = "Icon of Gwangju",
colorFilter = ColorFilter.tint(color = Color(0xffF2F2F2))
)
Spacer(modifier = modifier.width(16.dp))
Image(
painter = painterResource(id = R.drawable.text_gwangju),
contentDescription = "광주광역시"
)
}
}

@Composable
fun OfficeOfEducationIcon(
modifier: Modifier = Modifier
) {
Image(
painter = painterResource(id = R.drawable.ic_banner_education),
contentDescription = "Gwangju Metropolitan office of education logo"
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package com.msg.design_system.component.pager

import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.msg.design_system.theme.BitgoeulAndroidTheme

@Composable
fun PagerIndicator(
modifier: Modifier = Modifier,
count: Int,
currentPage: Int
) {
BitgoeulAndroidTheme { colors, _ ->
Row(
modifier = modifier,
horizontalArrangement = Arrangement.spacedBy(4.dp)
) {
(0 until count).forEach {
Canvas(
modifier = modifier
.width(4.dp)
.height(4.dp)
) {
drawCircle(
color = if (it == currentPage) colors.P5 else colors.WHITE
)
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ object BitgoeulColor : ColorTheme() {

override val BLACK = Color(0xFF000000)
override val G1 = Color(0xFFB8B8B8)
override val G2 = Color(0xFF6B6B6B)
override val G2 = Color(0xFF9E9E9E)
override val G3 = Color(0xFF525252)
override val G4 = Color(0xFF9E9E9E)
override val G4 = Color(0xFF6B6B6B)
override val G5 = Color(0xFF858585)
override val G6 = Color(0xFF383838)
override val G7 = Color(0xFFD1D1D1)
Expand Down
29 changes: 29 additions & 0 deletions core/design-system/src/main/res/drawable/ic_banner_education.xml

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions core/design-system/src/main/res/drawable/text_gwangju.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="112dp"
android:height="22dp"
android:viewportWidth="112"
android:viewportHeight="22">
<path
android:pathData="M15.58,13.59C16.76,14.54 17.35,15.66 17.35,16.95C17.35,17.64 17.19,18.27 16.85,18.85C16.51,19.42 16.07,19.94 15.53,20.38C14.97,20.8 14.31,21.13 13.56,21.37C12.83,21.61 12.07,21.73 11.28,21.73C10.47,21.73 9.68,21.61 8.93,21.37C8.18,21.13 7.54,20.8 7.01,20.38C6.45,19.94 6.01,19.42 5.69,18.85C5.37,18.27 5.21,17.64 5.21,16.95C5.21,16.31 5.36,15.7 5.67,15.13C5.99,14.54 6.43,14.02 7.01,13.59C7.54,13.19 8.18,12.86 8.93,12.61C9.68,12.35 10.47,12.22 11.28,12.22C12.96,12.22 14.39,12.68 15.58,13.59ZM17.91,4.38C18.19,4.39 18.48,4.4 18.77,4.4H21C21.1,4.4 21.19,4.39 21.29,4.38V6.32H17.91V12.37H14.55L14.52,10.57C14.01,10.79 13.41,10.98 12.72,11.12C12.05,11.26 11.35,11.34 10.61,11.34H0.82V9.44C0.9,9.46 0.97,9.46 1.03,9.46C1.11,9.48 1.21,9.49 1.32,9.49C1.43,9.49 1.55,9.49 1.66,9.49C1.88,9.49 2.12,9.49 2.38,9.49C2.65,9.49 2.91,9.48 3.15,9.46C3.4,9.46 3.67,9.46 3.96,9.44V4.95H7.15C7.14,5.05 7.13,5.16 7.13,5.29C7.11,5.38 7.11,5.51 7.11,5.67C7.11,5.83 7.11,5.99 7.11,6.15C7.11,6.47 7.11,6.82 7.11,7.21C7.11,7.58 7.11,7.94 7.13,8.29C7.13,8.66 7.14,9.04 7.15,9.44H10.78C11.56,9.44 12.27,9.39 12.89,9.3C13.53,9.2 14.08,9.07 14.55,8.91V0.32H17.91C17.89,0.42 17.88,0.51 17.88,0.61V3.32C17.88,3.7 17.89,4.06 17.91,4.38ZM9.43,2.65H1.59V0.73H10.44C11.13,0.73 11.69,0.94 12.12,1.38C12.57,1.79 12.79,2.34 12.79,3.01V5.14C12.79,5.42 12.76,5.73 12.7,6.08C12.65,6.42 12.58,6.74 12.48,7.04C12.42,7.38 12.33,7.68 12.22,7.95C12.11,8.21 11.99,8.4 11.88,8.53H8.98C9.19,8.08 9.31,7.56 9.36,6.97C9.41,6.38 9.43,5.79 9.43,5.22V2.65ZM13.18,18.97C13.72,18.39 13.99,17.72 13.99,16.95C13.99,16.6 13.92,16.26 13.78,15.92C13.65,15.57 13.45,15.26 13.18,14.98C12.94,14.73 12.65,14.52 12.31,14.36C11.99,14.2 11.65,14.12 11.28,14.12C10.91,14.12 10.56,14.2 10.23,14.36C9.89,14.52 9.59,14.73 9.31,14.98C9.07,15.26 8.89,15.57 8.76,15.92C8.63,16.26 8.57,16.6 8.57,16.95C8.57,17.34 8.63,17.7 8.76,18.03C8.89,18.37 9.07,18.68 9.31,18.97C9.59,19.21 9.89,19.41 10.23,19.57C10.56,19.74 10.91,19.83 11.28,19.83C12,19.83 12.63,19.54 13.18,18.97Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M31.89,2.72H25.94V0.8H41.22V2.72H35.3V2.84C35.3,4.33 36.09,5.66 37.67,6.82C39.3,7.98 40.97,8.55 42.66,8.55L41.06,9.99C40.32,9.99 39.58,9.9 38.85,9.73C38.13,9.55 37.38,9.29 36.59,8.94C35.07,8.2 34.06,7.36 33.57,6.42C33.1,7.41 32.1,8.25 30.57,8.94C29.02,9.64 27.53,9.99 26.1,9.99L24.52,8.55C26.25,8.55 27.9,7.98 29.49,6.82C31.09,5.69 31.89,4.36 31.89,2.84V2.72ZM31.91,13.78H23.92V11.86C23.92,11.86 24.19,11.86 24.74,11.86C25.3,11.86 26.03,11.86 26.94,11.86C27.84,11.88 28.86,11.89 30.02,11.89C31.18,11.89 32.37,11.89 33.57,11.89C34.78,11.89 35.97,11.89 37.12,11.89C38.29,11.89 39.33,11.88 40.24,11.86C41.14,11.86 41.86,11.86 42.4,11.86C42.96,11.86 43.24,11.86 43.24,11.86V13.78H35.27V17.38C35.27,17.82 35.27,18.24 35.27,18.66C35.27,19.09 35.27,19.48 35.27,19.83C35.27,20.17 35.27,20.43 35.27,20.62C35.27,20.83 35.27,20.94 35.27,20.94H31.91V13.78Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M61.8,13.59C62.98,14.54 63.57,15.66 63.57,16.95C63.57,17.64 63.4,18.27 63.07,18.85C62.73,19.42 62.29,19.94 61.75,20.38C61.19,20.8 60.53,21.13 59.78,21.37C59.04,21.61 58.28,21.73 57.5,21.73C56.68,21.73 55.9,21.61 55.15,21.37C54.4,21.13 53.76,20.8 53.23,20.38C52.67,19.94 52.23,19.42 51.91,18.85C51.59,18.27 51.43,17.64 51.43,16.95C51.43,16.31 51.58,15.7 51.88,15.13C52.2,14.54 52.65,14.02 53.23,13.59C53.76,13.19 54.4,12.86 55.15,12.61C55.9,12.35 56.68,12.22 57.5,12.22C59.18,12.22 60.61,12.68 61.8,13.59ZM64.12,4.38C64.41,4.39 64.7,4.4 64.99,4.4H67.22C67.32,4.4 67.41,4.39 67.51,4.38V6.32H64.12V12.37H60.76L60.74,10.57C60.23,10.79 59.63,10.98 58.94,11.12C58.27,11.26 57.56,11.34 56.83,11.34H47.04V9.44C47.12,9.46 47.19,9.46 47.25,9.46C47.33,9.48 47.43,9.49 47.54,9.49C47.65,9.49 47.76,9.49 47.88,9.49C48.1,9.49 48.34,9.49 48.6,9.49C48.87,9.49 49.12,9.48 49.36,9.46C49.62,9.46 49.89,9.46 50.18,9.44V4.95H53.37C53.36,5.05 53.35,5.16 53.35,5.29C53.33,5.38 53.32,5.51 53.32,5.67C53.32,5.83 53.32,5.99 53.32,6.15C53.32,6.47 53.32,6.82 53.32,7.21C53.32,7.58 53.33,7.94 53.35,8.29C53.35,8.66 53.36,9.04 53.37,9.44H57C57.78,9.44 58.48,9.39 59.11,9.3C59.75,9.2 60.3,9.07 60.76,8.91V0.32H64.12C64.11,0.42 64.1,0.51 64.1,0.61V3.32C64.1,3.7 64.11,4.06 64.12,4.38ZM55.65,2.65H47.8V0.73H56.66C57.35,0.73 57.91,0.94 58.34,1.38C58.79,1.79 59.01,2.34 59.01,3.01V5.14C59.01,5.42 58.98,5.73 58.92,6.08C58.87,6.42 58.8,6.74 58.7,7.04C58.64,7.38 58.55,7.68 58.44,7.95C58.32,8.21 58.21,8.4 58.1,8.53H55.2C55.4,8.08 55.53,7.56 55.58,6.97C55.63,6.38 55.65,5.79 55.65,5.22V2.65ZM59.4,18.97C59.94,18.39 60.21,17.72 60.21,16.95C60.21,16.6 60.14,16.26 60,15.92C59.87,15.57 59.67,15.26 59.4,14.98C59.16,14.73 58.87,14.52 58.53,14.36C58.21,14.2 57.87,14.12 57.5,14.12C57.13,14.12 56.78,14.2 56.44,14.36C56.11,14.52 55.8,14.73 55.53,14.98C55.29,15.26 55.11,15.57 54.98,15.92C54.85,16.26 54.79,16.6 54.79,16.95C54.79,17.34 54.85,17.7 54.98,18.03C55.11,18.37 55.29,18.68 55.53,18.97C55.8,19.21 56.11,19.41 56.44,19.57C56.78,19.74 57.13,19.83 57.5,19.83C58.22,19.83 58.85,19.54 59.4,18.97Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M76.45,11.12C75.67,11.12 74.93,10.98 74.24,10.71C73.57,10.42 72.98,10.05 72.47,9.58C71.94,9.09 71.51,8.53 71.19,7.9C70.89,7.26 70.74,6.58 70.74,5.86C70.74,5.13 70.89,4.44 71.19,3.8C71.5,3.16 71.91,2.59 72.44,2.1C72.95,1.63 73.55,1.26 74.22,0.97C74.91,0.68 75.65,0.54 76.45,0.54C77.33,0.54 78.16,0.7 78.95,1.04C79.75,1.38 80.4,1.87 80.91,2.53L85.02,2.5V1.69C85.02,1.5 85.02,1.29 85.02,1.06C85.03,0.82 85.04,0.63 85.04,0.49V0.32H88.38C88.36,0.62 88.35,0.94 88.35,1.28V8.84C88.35,9.82 88.36,10.79 88.38,11.77H85.02V9.34H80.72C80.11,9.95 79.44,10.4 78.71,10.69C77.99,10.98 77.23,11.12 76.45,11.12ZM88.38,15.3V20.96H85.04V17.96C85.04,17.1 85.03,16.11 85.02,15.01C82.86,14.99 80.93,14.98 79.23,14.98C78.51,14.98 77.81,14.98 77.12,14.98C76.43,14.98 75.81,14.98 75.25,14.98C74.71,14.98 74.27,14.99 73.93,15.01C73.61,15.01 73.45,15.01 73.45,15.01V13.09H86.03C86.73,13.09 87.31,13.3 87.75,13.71C88.17,14.11 88.38,14.64 88.38,15.3ZM76.43,9.22C76.76,9.22 77.07,9.14 77.34,8.96C77.63,8.77 77.89,8.51 78.13,8.19C78.32,7.87 78.48,7.51 78.61,7.11C78.74,6.7 78.8,6.28 78.8,5.86C78.8,5.42 78.74,4.98 78.61,4.57C78.48,4.15 78.32,3.78 78.13,3.46C77.89,3.16 77.63,2.92 77.34,2.74C77.07,2.55 76.76,2.46 76.43,2.46C76.11,2.46 75.8,2.55 75.51,2.74C75.24,2.92 75.01,3.16 74.82,3.46C74.58,3.78 74.39,4.15 74.27,4.57C74.15,4.98 74.1,5.42 74.1,5.86C74.1,6.2 74.15,6.57 74.24,6.97C74.35,7.35 74.5,7.72 74.67,8.07C74.88,8.41 75.13,8.69 75.42,8.91C75.71,9.12 76.04,9.22 76.43,9.22ZM81.92,7.5H85.02V4.4H81.99C82.09,4.93 82.14,5.45 82.14,5.96C82.15,6.47 82.08,6.98 81.92,7.5Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M107.85,0.27H111.18C111.18,0.27 111.18,0.58 111.18,1.18C111.18,1.78 111.18,2.55 111.18,3.51C111.17,4.49 111.16,5.59 111.16,6.82C111.16,8.06 111.16,9.32 111.16,10.62C111.16,11.9 111.16,13.16 111.16,14.41C111.16,15.64 111.17,16.74 111.18,17.7C111.18,18.67 111.18,19.46 111.18,20.05C111.18,20.64 111.18,20.94 111.18,20.94H107.85C107.85,20.94 107.85,20.64 107.85,20.05C107.85,19.46 107.85,18.67 107.87,17.7C107.87,16.74 107.87,15.64 107.87,14.41C107.87,13.16 107.87,11.9 107.87,10.62C107.87,9.32 107.87,8.06 107.87,6.82C107.87,5.59 107.87,4.49 107.87,3.51C107.85,2.55 107.85,1.78 107.85,1.18C107.85,0.58 107.85,0.27 107.85,0.27ZM101.32,4.71C101.32,5.69 101.46,6.61 101.75,7.47C102.04,8.32 102.41,9.08 102.88,9.75C103.37,10.42 103.93,10.98 104.56,11.43C105.2,11.86 105.85,12.14 106.53,12.25L104.89,13.71C104.35,13.66 103.8,13.52 103.24,13.28C102.68,13.02 102.15,12.7 101.65,12.3C101.16,11.93 100.73,11.51 100.36,11.05C99.99,10.57 99.73,10.1 99.59,9.63C99.49,10.1 99.26,10.57 98.89,11.05C98.53,11.51 98.1,11.93 97.62,12.3C97.11,12.7 96.57,13.02 95.99,13.28C95.43,13.52 94.89,13.66 94.36,13.71L92.7,12.25C93.37,12.14 94.02,11.86 94.65,11.43C95.29,11 95.85,10.45 96.33,9.78C96.81,9.1 97.19,8.34 97.48,7.5C97.77,6.63 97.91,5.7 97.91,4.71V0.73H101.32C101.3,0.81 101.29,0.9 101.29,1.02V3.7C101.29,4.04 101.3,4.38 101.32,4.71Z"
android:fillColor="#ffffff"/>
</vector>
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 core/design-system/src/main/res/mipmap/bg_ai.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 core/design-system/src/main/res/mipmap/ic_gsm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions core/model/src/main/java/com/msg/model/ui/BitgoeulList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,78 @@ val GNSHSClubList = listOf(
"뉴쿡",
"베이커리 카페 CEO",
"우(리들의)아(름다운)행(복)"
)

val SWCollegeData = CollegeData(
collegeName = "송원대학교",
departmentName = listOf(
"철도운전관제학과",
"철도차량전기시스템과",
"미용예술학과",
"철도운전경영과",
"사회복지학과",
"간호학과",
"건축공학과"
)
)

val HNCollegeData = CollegeData(
collegeName = "호남대학교",
departmentName = listOf(
"로봇드론공학과",
"전기공학과",
"정보통신학과",
"뷰티미용학과",
"토목환경공학과",
"외식조리학과",
"건축학과",
"조경학과",
"작업치료학과(수의사)",
"경영학과"
)
)

val CSTCollegeData = CollegeData(
collegeName = "조선이공대학교",
departmentName = listOf(
"기계설계과",
"자동화시스템과",
"특수전군사학과",
"미래자동차과",
"전자과",
"하이테크 CAD/CAM과",
"호텔조리파티쉐과"
)
)

val DKCollegeData = CollegeData(
collegeName = "동강대학교",
departmentName = listOf(
"AI융합기계과",
"K뷰티아트과",
"AI드론과",
"외식조리제빵과"
)
)

val SYCollegeData = CollegeData(
collegeName = "서영대학교",
departmentName = listOf(
"자동차과",
"전기과",
"생명공학과",
"뷰티미용과",
"치위생과",
"E크리에이터과"
)
)

val NBCollegeData = CollegeData(
collegeName = "남부대학교",
departmentName = listOf(
"자동차기계공학과",
"전기공학과",
"향장미용학과",
"호텔조리학과"
)
)
8 changes: 8 additions & 0 deletions core/model/src/main/java/com/msg/model/ui/ClubInfoData.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.msg.model.ui

data class ClubInfoData(
val roleName: String,
val roleDetailName: String,
val primaryRoleContent: String,
val roleContent: List<String>
)
6 changes: 6 additions & 0 deletions core/model/src/main/java/com/msg/model/ui/CollegeData.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.msg.model.ui

data class CollegeData(
val collegeName: String,
val departmentName: List<String>
)
10 changes: 10 additions & 0 deletions core/ui/src/main/java/com/msg/ui/DevicePreviews.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.msg.ui

import androidx.compose.ui.tooling.preview.Preview

@Preview(name = "phone_1", device = "spec:shape=Normal,width=360,height=880,unit=dp,dpi=480")
@Preview(name = "phone_2", device = "spec:shape=Normal,width=412,height=732,unit=dp,dpi=420")
@Preview(name = "s23", device = "spec:shape=Normal,width=360,height=780,unit=dp,dpi=480")
@Preview(name = "foldable", device = "spec:shape=Normal,width=673,height=841,unit=dp,dpi=480")
@Preview(name = "tablet", device = "spec:shape=Normal,width=1280,height=800,unit=dp,dpi=480")
annotation class DevicePreviews
1 change: 1 addition & 0 deletions feature/main/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
9 changes: 9 additions & 0 deletions feature/main/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
plugins {
id("bitgoeul.android.feature")
id("bitgoeul.android.hilt")
}

android {
namespace = "com.msg.main"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.example.main

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.example.main.test", appContext.packageName)
}
}
4 changes: 4 additions & 0 deletions feature/main/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
62 changes: 62 additions & 0 deletions feature/main/src/main/java/com/msg/main/ClubInfo.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package com.msg.main

import com.msg.model.ui.ClubInfoData

val teacherInfo = ClubInfoData(
roleName = "취동쌤",
roleDetailName = "취업동아리 담당교사",
primaryRoleContent = "동아리 운영",
roleContent = listOf(
"취업동아리 지도교사 멘토",
"동아리 학생 선발, 학생관리, 프로그램, 학생지원",
"전공기초 방과후 운영",
"컨설턴트 멘토 매칭 및 상담지"
)
)

val studentInfo = ClubInfoData(
roleName = "취동선후배",
roleDetailName = "취업동아리 선•후배",
primaryRoleContent = "협력 지지 활동",
roleContent = listOf(
"학교에서 끌어주고, 밀어주는 또래 멘토",
"졸업 후에는 현장 실무 및 비전 지원",
"재직 기업 채용 시 동아리 후배 추천"
)
)

val professorInfo = ClubInfoData(
roleName = "대학교수",
roleDetailName = "",
primaryRoleContent = "현장 실무형 교육 및 멘토",
roleContent = listOf(
"일학습병행 경로 선이수 학점 운영",
"대학 학과체험 프로그램, 채용 연계 지원",
"전공 심화 맞춤 교육",
"진로 지원 취업 동아리 1:1 멘토"
)
)

val enterpriseInfo = ClubInfoData(
roleName = "기업 현장 교사",
roleDetailName = "",
primaryRoleContent = "기업 맞춤형 교육 및 멘토",
roleContent = listOf(
"현장중심직무체험, 직무교육운영",
"취업경로 학생 취업 연계 지원",
"현장 실무 중심 맞춤 지원 및 동아리 1:1 멘토"
)
)

val governmentInfo = ClubInfoData(
roleName = "유관기관 강사",
roleDetailName = "",
primaryRoleContent = "현장 실무형 교육 및 멘토",
roleContent = listOf(
"취업경로 현장 실무형 맞춤 교육 운영",
"참여기업 채용 연계 지원",
"현장 실무 중심 지원 멘토 활동"
)
)

val ClubInfoList = listOf(teacherInfo, studentInfo, professorInfo, enterpriseInfo, governmentInfo)
Loading

0 comments on commit ccb64ec

Please sign in to comment.