Skip to content

Commit

Permalink
[CHORE/#12] conflict μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Jul 11, 2024
1 parent 4d15952 commit c4dfed4
Showing 1 changed file with 60 additions and 65 deletions.
125 changes: 60 additions & 65 deletions feature/src/main/java/com/terning/feature/home/HomeRoute.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.HorizontalDivider
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import com.terning.core.designsystem.component.topappbar.LogoTopAppBar
import com.terning.core.designsystem.theme.Black
import com.terning.core.designsystem.theme.Grey150
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.designsystem.theme.White
import com.terning.feature.R
import com.terning.feature.home.component.HomeFilteringScreen
import com.terning.feature.home.component.HomeTodayIntern
import com.terning.core.designsystem.component.topappbar.LogoTopAppBar

@Composable
fun HomeRoute() {
Expand All @@ -38,81 +37,77 @@ fun HomeScreen() {
LogoTopAppBar()
}
) { paddingValues ->
Column(
LazyColumn(
modifier = Modifier
.fillMaxSize()
.padding(paddingValues)
.padding(top = paddingValues.calculateTopPadding())
) {
LazyColumn(
modifier = Modifier
.fillMaxSize()
) {
item {
Column(
modifier = Modifier
.padding(bottom = 16.dp)
) {
Text(
text = stringResource(
id = R.string.home_today_title_start
)
+ "λ‚¨μ§€μš°"
+ stringResource(
id = R.string.home_today_title_end
),
modifier = Modifier
.padding(top = 11.dp)
.padding(horizontal = 24.dp),
style = TerningTheme.typography.title1,
color = Black,
item {
Column(
modifier = Modifier
.padding(bottom = 16.dp)
) {
Text(
text = stringResource(
id = R.string.home_today_title_start
)
HomeTodayIntern()
}
+ "λ‚¨μ§€μš°"
+ stringResource(
id = R.string.home_today_title_end
),
modifier = Modifier
.padding(top = 11.dp)
.padding(horizontal = 24.dp),
style = TerningTheme.typography.title1,
color = Black,
)
HomeTodayIntern()
}
stickyHeader {
Column(
}
stickyHeader {
Column(
modifier = Modifier
.background(White)
) {
Text(
text = stringResource(id = R.string.home_recommend_sub_title),
style = TerningTheme.typography.detail2,
color = Black,
modifier = Modifier
.background(White)
) {
Text(
text = stringResource(id = R.string.home_recommend_sub_title),
style = TerningTheme.typography.detail2,
color = Black,
modifier = Modifier
.padding(top = 25.dp)
.padding(horizontal = 24.dp),
)

Text(
text = stringResource(id = R.string.home_recommend_main_title),
style = TerningTheme.typography.title1,
color = Black,
modifier = Modifier
.padding(top = 5.dp)
.padding(horizontal = 24.dp),
)
.padding(top = 25.dp)
.padding(horizontal = 24.dp),
)

HomeFilteringScreen(3, 1, 7)
Text(
text = stringResource(id = R.string.home_recommend_main_title),
style = TerningTheme.typography.title1,
color = Black,
modifier = Modifier
.padding(top = 5.dp)
.padding(horizontal = 24.dp),
)

HorizontalDivider(
thickness = 4.dp,
color = Grey150,
modifier = Modifier
.fillMaxWidth(),
)
}
}
HomeFilteringScreen(3, 1, 7)

items(10) {
TerningPostItem(
imageUrl = "https://reqres.in/img/faces/7-image.jpg",
title = "[Someone] μ½˜ν…μΈ  λ§ˆμΌ€ν„° λŒ€ν•™μƒ 인턴 μ±„μš©",
dateDeadline = "2",
workingPeriod = "2κ°œμ›”",
isScraped = false,
HorizontalDivider(
thickness = 4.dp,
color = Grey150,
modifier = Modifier
.fillMaxWidth(),
)
}
}

items(10) {
TerningPostItem(
imageUrl = "https://reqres.in/img/faces/7-image.jpg",
title = "[Someone] μ½˜ν…μΈ  λ§ˆμΌ€ν„° λŒ€ν•™μƒ 인턴 μ±„μš©",
dateDeadline = "2",
workingPeriod = "2κ°œμ›”",
isScraped = false,
)
}
}

}
}

0 comments on commit c4dfed4

Please sign in to comment.