Skip to content

Commit

Permalink
feature : HOME 화면 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 5, 2025
1 parent 4b12f15 commit f70bd7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fun HomeTopNavigationTab(
selectedIndex: Int,
onSelected: (Int) -> Unit,
) {
NavigationBar(containerColor = WeSpotThemeManager.colors.backgroundColor) {
NavigationBar(containerColor = WeSpotThemeManager.colors.naviColor) {
Row(
horizontalArrangement = Arrangement.SpaceAround,
verticalAlignment = Alignment.CenterVertically,
Expand All @@ -101,7 +101,6 @@ private fun RowScope.TabItem(
) {
Box(
modifier = Modifier
.weight(1f)
.clickable(
indication = null,
interactionSource = remember { MutableInteractionSource() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package com.wespot.web.home

import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.runtime.Composable
Expand All @@ -28,12 +30,17 @@ private val imageList = persistentListOf(
fun HomeScreen() {
val scrollState = rememberScrollState()

Column(modifier = Modifier.verticalScroll(scrollState)) {
Column(
modifier = Modifier
.fillMaxSize()
.verticalScroll(scrollState)
) {
imageList.forEachIndexed { index, item ->
Image(
painter = painterResource(item),
contentDescription = "Lading Page Image $index",
contentScale = ContentScale.FillWidth,
modifier = Modifier.fillMaxWidth(),
)
}
}
Expand Down

0 comments on commit f70bd7a

Please sign in to comment.