File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
src/main/scala/gsoc/contributors Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ val allContributors = NonEmptyList.of(
99 synan_mannan,
1010 antoniojimeneznieto,
1111 `tanmay_008`,
12+ jnnfrpyn,
1213 `typelevel-bot`,
1314 `im-vedant`,
1415 abby_ql,
Original file line number Diff line number Diff line change 1+ package gsoc
2+ package contributors
3+
4+ import cats .effect .*
5+ import fs2 .concurrent .*
6+ import fs2 .dom .HtmlElement
7+ import calico .html .io .{* , given }
8+ import calico .syntax .*
9+
10+ val jnnfrpyn : Contributor = Contributor (" jnnfrpyn" ):
11+ SignallingRef [IO ].of(0 ).toResource.flatMap { count =>
12+ div(
13+ styleAttr := " padding: 24px;" ,
14+ p(
15+ " Hi folks! I'm " ,
16+ span(styleAttr := " color: #fd6161; font-weight: bold" , " @jnnfrpyn " ),
17+ " on GitHub. I heartily agree to follow the Typelevel CoC and GSoC AI policy! ❤️"
18+ ),
19+ button(
20+ onClick --> (_.foreach(_ => count.update(_ + 1 ))),
21+ " Add a circle!"
22+ ),
23+ count.map(n =>
24+ div(
25+ styleAttr := " display: flex; gap: 8px; flex-wrap: wrap;" ,
26+ List .fill(n)(
27+ div(
28+ styleAttr := " width: 40px; height: 40px; border-radius: 50%; background-color: #fd6161"
29+ )
30+ )
31+ ))
32+ )
33+ }
You can’t perform that action at this time.
0 commit comments