|
|
@ -64,56 +64,56 @@ fun BookmarkButton(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceAuthors(
|
|
|
|
fun NewsResourceAuthors(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceHeaderImage(
|
|
|
|
fun NewsResourceHeaderImage(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceTitle(
|
|
|
|
fun NewsResourceTitle(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceDate(
|
|
|
|
fun NewsResourceDate(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceLink(
|
|
|
|
fun NewsResourceLink(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceShortDescription(
|
|
|
|
fun NewsResourceShortDescription(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceTopics(
|
|
|
|
fun NewsResourceTopics(
|
|
|
|
newsResource: NewsResource
|
|
|
|
newsResource: NewsResource
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ResourceCardExpanded() {
|
|
|
|
fun NewsResourceCardExpanded() {
|
|
|
|
TODO()
|
|
|
|
TODO()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -140,10 +140,10 @@ fun BookmarkButtonBookmarkedPreview() {
|
|
|
|
@Preview("Expanded resource card")
|
|
|
|
@Preview("Expanded resource card")
|
|
|
|
@Preview("Expanded resource card (dark)", uiMode = Configuration.UI_MODE_NIGHT_YES)
|
|
|
|
@Preview("Expanded resource card (dark)", uiMode = Configuration.UI_MODE_NIGHT_YES)
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun ExpandedResourcePreview() {
|
|
|
|
fun ExpandedNewsResourcePreview() {
|
|
|
|
NiaTheme {
|
|
|
|
NiaTheme {
|
|
|
|
Surface {
|
|
|
|
Surface {
|
|
|
|
ResourceCardExpanded()
|
|
|
|
NewsResourceCardExpanded()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|