Skip to content

Commit

Permalink
Update the web-landing example with a link to Compose for Desktop
Browse files Browse the repository at this point in the history
… landing page
  • Loading branch information
Oleksandr Karpovich committed May 4, 2021
1 parent c1aa3a3 commit be66d9e
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*

Expand All @@ -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(
Expand Down

0 comments on commit be66d9e

Please sign in to comment.