Skip to content

Commit

Permalink
[FEATURE] #82 : Survey TopBar 장착
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Jan 6, 2024
1 parent 2767c27 commit cb96baf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal fun WappProfileCard(
modifier = Modifier
.fillMaxWidth()
.height(150.dp)
.padding(top = 30.dp, start = 10.dp, end = 10.dp),
.padding(start = 10.dp, end = 10.dp),
) {
Box(
modifier = Modifier.background(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import com.wap.designsystem.WappTheme
import com.wap.designsystem.component.WappTitle
import com.wap.designsystem.component.WappMainTopBar
import com.wap.wapp.core.commmon.extensions.toSupportingText
import com.wap.wapp.core.commmon.util.DateUtil
import com.wap.wapp.core.commmon.util.DateUtil.yyyyMMddFormatter
Expand Down Expand Up @@ -93,16 +92,16 @@ private fun SurveyContent(
Column(
verticalArrangement = Arrangement.spacedBy(16.dp),
modifier = Modifier
.padding(paddingValues)
.padding(vertical = 16.dp, horizontal = 8.dp),
.padding(paddingValues),
) {
WappTitle(
title = stringResource(R.string.survey_title),
content = stringResource(R.string.survey_content),
WappMainTopBar(
titleRes = R.string.survey,
contentRes = R.string.survey_content,
)

LazyColumn(
verticalArrangement = Arrangement.spacedBy(8.dp),
modifier = Modifier.padding(horizontal = 15.dp),
) {
items(surveyFormList) { surveyForm ->
SurveyFormItemCard(
Expand All @@ -129,8 +128,7 @@ private fun SurveyFormItemCard(
) {
Column(
verticalArrangement = Arrangement.spacedBy(16.dp),
modifier = Modifier
.padding(16.dp),
modifier = Modifier.padding(16.dp),
) {
Row(
modifier = Modifier.fillMaxWidth(),
Expand Down

0 comments on commit cb96baf

Please sign in to comment.