@@ -7,18 +7,30 @@ import com.sample.style.WtContainer
77import com.sample.style.WtOffsets
88import com.sample.style.WtTexts
99import io.github.amanshuraikwar.portfolio.model.ThemeData
10+ import org.jetbrains.compose.web.attributes.ATarget
11+ import org.jetbrains.compose.web.attributes.target
1012import org.jetbrains.compose.web.css.AlignItems
1113import org.jetbrains.compose.web.css.Color
1214import org.jetbrains.compose.web.css.DisplayStyle
15+ import org.jetbrains.compose.web.css.FlexDirection
16+ import org.jetbrains.compose.web.css.FlexWrap
1317import org.jetbrains.compose.web.css.JustifyContent
1418import org.jetbrains.compose.web.css.alignItems
1519import org.jetbrains.compose.web.css.background
1620import org.jetbrains.compose.web.css.color
1721import org.jetbrains.compose.web.css.display
22+ import org.jetbrains.compose.web.css.flexDirection
23+ import org.jetbrains.compose.web.css.flexWrap
24+ import org.jetbrains.compose.web.css.gap
1825import org.jetbrains.compose.web.css.justifyContent
26+ import org.jetbrains.compose.web.css.px
1927import org.jetbrains.compose.web.css.value
28+ import org.jetbrains.compose.web.dom.A
29+ import org.jetbrains.compose.web.dom.AttrBuilderContext
2030import org.jetbrains.compose.web.dom.Div
31+ import org.jetbrains.compose.web.dom.Img
2132import org.jetbrains.compose.web.dom.Text
33+ import org.w3c.dom.HTMLDivElement
2234
2335@Composable
2436fun Footer (
@@ -47,6 +59,15 @@ fun Footer(
4759 classes(WtContainer .wtContainerSm)
4860 }
4961 ) {
62+ GithubBuildStatus (
63+ attrs = {
64+ classes(
65+ WtOffsets .wtTopOffset96,
66+ WtOffsets .wtTopOffsetSm48,
67+ )
68+ }
69+ )
70+
5071 Div (
5172 attrs = {
5273 classes(
@@ -92,4 +113,67 @@ fun Footer(
92113 )
93114 }
94115 }
116+ }
117+
118+ @Composable
119+ fun GithubBuildStatus (
120+ attrs : AttrBuilderContext <HTMLDivElement >? = null,
121+ ) {
122+ Div (
123+ attrs = {
124+ attrs?.invoke(this )
125+ style {
126+ display(DisplayStyle .Flex )
127+ flexDirection(FlexDirection .Row )
128+ justifyContent(JustifyContent .FlexStart )
129+ alignItems(AlignItems .Center )
130+ flexWrap(FlexWrap .Wrap )
131+ gap(12 .px)
132+ }
133+ }
134+ ) {
135+ A (
136+ href = " https://github.com/amanshuraikwar/amanshuraikwar.github.io/tree/gh-pages" ,
137+ {
138+ style {
139+ target(ATarget .Blank )
140+ }
141+ }
142+ ) {
143+ Img (src = " https://github.com/amanshuraikwar/amanshuraikwar.github.io/actions/workflows/build-web-html-js-deploy-github-pages.yml/badge.svg?branch=trunk" )
144+ }
145+
146+ A (
147+ href = " " ,
148+ {
149+ style {
150+ target(ATarget .Blank )
151+ }
152+ }
153+ ) {
154+ Img (src = " https://github.com/amanshuraikwar/amanshuraikwar.github.io/actions/workflows/build-web-html-js.yml/badge.svg" )
155+ }
156+
157+ A (
158+ href = " https://amanshuraikwar.github.io/tests/shared/android-jvm/" ,
159+ {
160+ style {
161+ target(ATarget .Blank )
162+ }
163+ }
164+ ) {
165+ Img (src = " https://github.com/amanshuraikwar/amanshuraikwar.github.io/actions/workflows/shared-tests-android-jvm.yml/badge.svg" )
166+ }
167+
168+ A (
169+ href = " https://amanshuraikwar.github.io/tests/shared/js-browser/" ,
170+ {
171+ style {
172+ target(ATarget .Blank )
173+ }
174+ }
175+ ) {
176+ Img (src = " https://github.com/amanshuraikwar/amanshuraikwar.github.io/actions/workflows/shared-tests-js-browser.yml/badge.svg" )
177+ }
178+ }
95179}
0 commit comments