From be66d9e822fde85cee013ba4b05a6ea6e050f20b Mon Sep 17 00:00:00 2001 From: Oleksandr Karpovich Date: Tue, 4 May 2021 17:43:40 +0200 Subject: [PATCH] Update the `web-landing` example with a link to `Compose for Desktop` landing page --- .../jsMain/kotlin/com/sample/content/JoinUs.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt b/examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt index 082696e36e..853604e369 100644 --- a/examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt +++ b/examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt @@ -4,6 +4,7 @@ import androidx.compose.runtime.Composable import androidx.compose.web.attributes.ATarget import androidx.compose.web.attributes.target import androidx.compose.web.elements.* +import androidx.compose.web.css.* import com.sample.components.ContainerInSection import com.sample.style.* @@ -16,8 +17,25 @@ fun JoinUs() { Div(attrs = { classes(WtCols.wtCol9, WtCols.wtColMd11, WtCols.wtColSm12) }) { + P(attrs = { classes(WtTexts.wtSubtitle2) + }) { + Text("Interested in Compose for other platforms?") + + P { + Text("Have a look at ") + A(href = "https://www.jetbrains.com/lp/compose/", attrs = { + classes(WtTexts.wtLink) + target(ATarget.Blank) + }) { + Text("Compose for Desktop") + } + } + } + + P(attrs = { + classes(WtTexts.wtSubtitle2, WtOffsets.wtTopOffset24) }) { Text("Feel free to join the ") LinkToSlack(