Skip to content

Commit be66d9e

Browse files
author
Oleksandr Karpovich
committed
Update the web-landing example with a link to Compose for Desktop landing page
1 parent c1aa3a3 commit be66d9e

File tree

1 file changed

+18
-0
lines changed
  • examples/web_landing/src/jsMain/kotlin/com/sample/content

1 file changed

+18
-0
lines changed

examples/web_landing/src/jsMain/kotlin/com/sample/content/JoinUs.kt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import androidx.compose.runtime.Composable
44
import androidx.compose.web.attributes.ATarget
55
import androidx.compose.web.attributes.target
66
import androidx.compose.web.elements.*
7+
import androidx.compose.web.css.*
78
import com.sample.components.ContainerInSection
89
import com.sample.style.*
910

@@ -16,8 +17,25 @@ fun JoinUs() {
1617
Div(attrs = {
1718
classes(WtCols.wtCol9, WtCols.wtColMd11, WtCols.wtColSm12)
1819
}) {
20+
1921
P(attrs = {
2022
classes(WtTexts.wtSubtitle2)
23+
}) {
24+
Text("Interested in Compose for other platforms?")
25+
26+
P {
27+
Text("Have a look at ")
28+
A(href = "https://www.jetbrains.com/lp/compose/", attrs = {
29+
classes(WtTexts.wtLink)
30+
target(ATarget.Blank)
31+
}) {
32+
Text("Compose for Desktop")
33+
}
34+
}
35+
}
36+
37+
P(attrs = {
38+
classes(WtTexts.wtSubtitle2, WtOffsets.wtTopOffset24)
2139
}) {
2240
Text("Feel free to join the ")
2341
LinkToSlack(

0 commit comments

Comments
 (0)