Skip to content

Commit f930cff

Browse files
committed
style: update text colors and formatting in challenge live views
- Changed text colors from purple to indigo for better visual consistency across Golem, Prettier, and Tsperf challenge pages. - Reformatted text elements for improved readability and layout, ensuring a cleaner presentation of challenge details.
1 parent ef5e6ab commit f930cff

File tree

3 files changed

+158
-76
lines changed

3 files changed

+158
-76
lines changed

lib/algora_web/live/challenges/golem_live.ex

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ defmodule AlgoraWeb.Challenges.GolemLive do
6969
</g>
7070
</g>
7171
</svg>
72-
<span class="font-display text-[1.75rem] tracking-tight md:text-[4rem]">CHALLENGE</span>
72+
<span class="font-display text-[1.75rem] tracking-tight md:text-[4rem]">
73+
CHALLENGE
74+
</span>
7375
</div>
7476
<div class="hidden pt-2 text-[3rem] font-black tracking-tighter md:block">
7577
Win<!-- -->
@@ -119,7 +121,9 @@ defmodule AlgoraWeb.Challenges.GolemLive do
119121
<path d="M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"></path>
120122
<path d="M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path>
121123
</svg>
122-
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">Tackle a challenging Rust-based task in Golem's open-source codebase</span>
124+
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">
125+
Tackle a challenging Rust-based task in Golem's open-source codebase
126+
</span>
123127
</div>
124128
<div class="flex items-center gap-2">
125129
<svg
@@ -137,7 +141,11 @@ defmodule AlgoraWeb.Challenges.GolemLive do
137141
<path d="M6 5h12l3 5l-8.5 9.5a.7 .7 0 0 1 -1 0l-8.5 -9.5l3 -5"></path>
138142
<path d="M10 12l-2 -2.2l.6 -1"></path>
139143
</svg>
140-
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">Best implementation wins a<!-- --><span class="font-semibold">$15,000</span> bounty</span>
144+
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">
145+
Best implementation wins a<!-- -->
146+
<span class="font-semibold">$15,000</span>
147+
bounty
148+
</span>
141149
</div>
142150
<div class="flex items-center gap-2">
143151
<svg
@@ -159,7 +167,9 @@ defmodule AlgoraWeb.Challenges.GolemLive do
159167
<path d="M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"></path>
160168
<path d="M3 13v-1a2 2 0 0 1 2 -2h2"></path>
161169
</svg>
162-
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">Collaborate with and learn from top-tier Rust developers</span>
170+
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">
171+
Collaborate with and learn from top-tier Rust developers
172+
</span>
163173
</div>
164174
<div class="flex items-center gap-2">
165175
<svg
@@ -177,7 +187,9 @@ defmodule AlgoraWeb.Challenges.GolemLive do
177187
<path d="M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z">
178188
</path>
179189
</svg>
180-
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">Showcase your skills to a wider open-source community</span>
190+
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">
191+
Showcase your skills to a wider open-source community
192+
</span>
181193
</div>
182194
<div class="flex items-center gap-2">
183195
<svg
@@ -198,7 +210,10 @@ defmodule AlgoraWeb.Challenges.GolemLive do
198210
<path d="M12 12l0 .01"></path>
199211
<path d="M3 13a20 20 0 0 0 18 0"></path>
200212
</svg>
201-
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">Potential opportunity to<!-- --><span class="font-semibold">join Golem's elite engineering team</span></span>
213+
<span class="shadow-black [text-shadow:_0_1px_0_var(--tw-shadow-color)]">
214+
Potential opportunity to<!-- -->
215+
<span class="font-semibold">join Golem's elite engineering team</span>
216+
</span>
202217
</div>
203218
</div>
204219
</div>

0 commit comments

Comments
 (0)