-
Notifications
You must be signed in to change notification settings - Fork 0
π :: (#463) κ° λ°λ³ νμ΄μ§ νμ΄ν μμ #464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "feature/463-\uAC01-\uBC18\uBCC4-\uD398\uC774\uC9C0-\uD0C0\uC774\uD2C0-\uC218\uC815"
Changes from 4 commits
0a7786d
000ab3d
5e5fc11
46ca9f9
c5912b4
538ee4c
bf9246d
69b3868
ca93019
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.Column | ||
| import androidx.compose.foundation.layout.PaddingValues | ||
| import androidx.compose.foundation.layout.Row | ||
| import androidx.compose.foundation.layout.Spacer | ||
| import androidx.compose.foundation.layout.fillMaxSize | ||
| import androidx.compose.foundation.layout.fillMaxWidth | ||
| import androidx.compose.foundation.layout.padding | ||
|
|
@@ -23,6 +24,7 @@ import androidx.compose.ui.draw.clip | |
| import androidx.compose.ui.draw.shadow | ||
| import androidx.compose.ui.layout.ContentScale | ||
| import androidx.compose.ui.res.stringResource | ||
| import androidx.compose.ui.text.style.TextAlign | ||
| import androidx.compose.ui.unit.dp | ||
| import androidx.hilt.navigation.compose.hiltViewModel | ||
| import androidx.lifecycle.compose.collectAsStateWithLifecycle | ||
|
|
@@ -128,19 +130,30 @@ private fun CompanyCard( | |
| imageUrl: String, | ||
| companyName: String, | ||
| ) { | ||
| Box( | ||
| modifier = Modifier | ||
| .size(80.dp) | ||
| .shadow(elevation = 12.dp) | ||
| .clip(RoundedCornerShape(6.dp)) | ||
| .background(color = JobisTheme.colors.inverseSurface), | ||
| Column( | ||
| horizontalAlignment = Alignment.CenterHorizontally, | ||
| ) { | ||
| AsyncImage( | ||
| Box( | ||
| modifier = Modifier | ||
| .align(Alignment.Center), | ||
| model = imageUrl, | ||
| contentDescription = companyName, | ||
| contentScale = ContentScale.Crop, | ||
| .size(80.dp) | ||
| .shadow(elevation = 18.dp) | ||
| .clip(RoundedCornerShape(6.dp)) | ||
| .background(color = JobisTheme.colors.inverseSurface), | ||
| ) { | ||
| AsyncImage( | ||
| modifier = Modifier | ||
| .align(Alignment.Center), | ||
| model = imageUrl, | ||
| contentDescription = companyName, | ||
| contentScale = ContentScale.Crop, | ||
| ) | ||
|
Comment on lines
+142
to
+148
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Boxλ‘ κ°μΈμ§ λ§κ³ μ¬κΈ°μ Modifierλ‘ μ μ©νλ©΄ μλλμ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. μλν΄λ³΄κ² μ΅λλ€
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. λΉ μ΄λ―Έμ§μΌ κ²½μ° νλ©΄μ Boxκ° λ체νκ³ μμ΄ μλλ κ±° κ°μ΅λλ€ |
||
| } | ||
| Spacer(modifier = Modifier.padding(top = 8.dp)) | ||
| JobisText( | ||
| text = companyName, | ||
| style = JobisTypography.Description, | ||
| color = JobisTheme.colors.onSurfaceVariant, | ||
| textAlign = TextAlign.Center, | ||
| ) | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄κ±°λ μ μΆκ°λ건κ°μ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
λ€λ₯Έ λͺ¨λμλ μΆκ°λμ΄μμ΄ νμΈν΄λ³΄λ libsλ₯Ό μ κ·Όν λ IDEκ° μμ νμ§ μλ€κ³ νλ¨λμ΄ μ¬μ©νλ κ²μ μκ³ λ£κ² λμμ΅λλ€
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.