Skip to content

Commit

Permalink
[gallery] Update home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
123Duo3 committed Nov 8, 2024
1 parent 8e63186 commit b5ef920
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
Binary file modified gallery/src/commonMain/composeResources/drawable/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import androidx.compose.ui.platform.LocalUriHandler
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import com.konyaco.fluent.FluentTheme
import com.konyaco.fluent.build.BuildKonfig
import com.konyaco.fluent.component.Icon
import com.konyaco.fluent.component.Text
import com.konyaco.fluent.gallery.LocalStore
Expand Down Expand Up @@ -86,13 +87,25 @@ fun HomeScreen() {
contentDescription = null,
modifier = Modifier.scale(2.05f)
)
Text(
modifier = Modifier.align(Alignment.BottomEnd).padding(16.dp),
text = "Compose\nFluent Design",
style = FluentTheme.typography.titleLarge,
textAlign = TextAlign.End,
color = FluentTheme.colors.text.text.primary
)
Column(
Modifier.padding(16.dp).align(Alignment.BottomEnd),
horizontalAlignment = Alignment.End
) {
Text(
modifier = Modifier,
text = "Compose\nFluent Design",
style = FluentTheme.typography.title,
textAlign = TextAlign.End,
color = FluentTheme.colors.text.text.primary
)
Spacer(modifier = Modifier.height(8.dp))
Text(
text = BuildKonfig.LIBRARY_VERSION,
style = FluentTheme.typography.body,
textAlign = TextAlign.End,
color = FluentTheme.colors.text.text.secondary
)
}
}

Card(
Expand Down

0 comments on commit b5ef920

Please sign in to comment.