Browse Source

Update the `web-landing` example with a link to `Compose for Desktop` landing page

pull/642/head 0.4.0-build188
Oleksandr Karpovich 3 years ago
parent
commit
be66d9e822
  1. 18
      examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt

18
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(

Loading…
Cancel
Save