@@ -96,40 +96,42 @@ defmodule AlgoraWeb.Org.BountiesNewLive do
96
96
</ div >
97
97
</ div >
98
98
99
- < div class = "mt-6 grid grid-cols-1 gap-6 md:grid-cols-4 " >
100
- < . stat_card
101
- title = "Open Bounties "
102
- value = { Money . to_string! ( @ stats . open_bounties_amount ) }
103
- subtext = { "#{ @ stats . open_bounties_count } bounties" }
104
- navigate = { ~p" /#{ @ org . handle } /bounties?status=open" }
105
- icon = "tabler-diamond "
106
- />
107
- < . stat_card
108
- title = "Total Awarded "
109
- value = { Money . to_string! ( @ stats . total_awarded_amount ) }
110
- subtext = { @ total_awarded_subtext }
111
- navigate = { ~p" /#{ @ org . handle } /bounties?status=completed" }
112
- icon = "tabler-gift "
113
- />
114
- < . stat_card
115
- title = "Solvers "
116
- value = { @ stats . solvers_count }
117
- subtext = { "+#{ @ stats . solvers_diff } from last month" }
118
- navigate = { ~p" /#{ @ org . handle } /leaderboard" }
119
- icon = "tabler-user-code "
120
- />
121
- < . stat_card
122
- title = "Members "
123
- value = { @ stats . members_count }
124
- subtext = ""
125
- navigate = { ~p" /#{ @ org . handle } /team" }
126
- icon = "tabler-users "
127
- />
128
- </ div >
99
+ < div class = "mt-6 flex flex-col-reverse md:flex-col gap-6 " >
100
+ < div class = "grid grid-cols-1 gap-6 md:grid-cols-4 " >
101
+ < . stat_card
102
+ title = "Open Bounties "
103
+ value = { Money . to_string! ( @ stats . open_bounties_amount ) }
104
+ subtext = { "#{ @ stats . open_bounties_count } bounties" }
105
+ navigate = { ~p" /#{ @ org . handle } /bounties?status=open" }
106
+ icon = "tabler-diamond "
107
+ />
108
+ < . stat_card
109
+ title = "Total Awarded "
110
+ value = { Money . to_string! ( @ stats . total_awarded_amount ) }
111
+ subtext = { @ total_awarded_subtext }
112
+ navigate = { ~p" /#{ @ org . handle } /bounties?status=completed" }
113
+ icon = "tabler-gift "
114
+ />
115
+ < . stat_card
116
+ title = "Solvers "
117
+ value = { @ stats . solvers_count }
118
+ subtext = { "+#{ @ stats . solvers_diff } from last month" }
119
+ navigate = { ~p" /#{ @ org . handle } /leaderboard" }
120
+ icon = "tabler-user-code "
121
+ />
122
+ < . stat_card
123
+ title = "Members "
124
+ value = { @ stats . members_count }
125
+ subtext = ""
126
+ navigate = { ~p" /#{ @ org . handle } /team" }
127
+ icon = "tabler-users "
128
+ />
129
+ </ div >
129
130
130
- < . section >
131
- { create_bounty ( assigns ) }
132
- </ . section >
131
+ < . section >
132
+ { create_bounty ( assigns ) }
133
+ </ . section >
134
+ </ div >
133
135
134
136
< div class = "grid grid-cols-1 gap-6 lg:grid-cols-2 " >
135
137
<!-- Bounties Section -->
0 commit comments