Skip to content

Commit 96e3075

Browse files
committed
refactor: update image paths for Prettier challenge assets
- Changed image source paths in the PrettierLive module to reflect the new directory structure under `/images/challenges/prettier/`. - Added new image assets for the Prettier challenge, including backgrounds and participant images, enhancing the visual presentation of the challenge page.
1 parent 592b77d commit 96e3075

File tree

9 files changed

+7
-7
lines changed

9 files changed

+7
-7
lines changed

lib/algora_web/live/challenges/prettier_live.ex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
136136
</div>
137137
<div class="absolute inset-0 z-0 h-[810px]">
138138
<img
139-
src={~p"/images/prettier/bg.png"}
139+
src={~p"/images/challenges/prettier/bg.png"}
140140
alt="Background"
141141
class="h-full w-full object-cover object-[50%]"
142142
/>
@@ -160,7 +160,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
160160
alt="Christopher Chedeau"
161161
loading="lazy"
162162
class="rounded-full saturate-0"
163-
src={~p"/images/prettier/vjeux.jpg"}
163+
src={~p"/images/challenges/prettier/vjeux.jpg"}
164164
style="position: absolute; height: 100%; width: 100%; inset: 0px; color: transparent;"
165165
/>
166166
</div>
@@ -185,7 +185,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
185185
alt="Guillermo Rauch"
186186
loading="lazy"
187187
class="rounded-full saturate-0"
188-
src={~p"/images/prettier/rauchg.jpg"}
188+
src={~p"/images/challenges/prettier/rauchg.jpg"}
189189
style="position: absolute; height: 100%; width: 100%; inset: 0px; color: transparent;"
190190
/>
191191
</div>
@@ -210,7 +210,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
210210
alt="Wasmer"
211211
loading="lazy"
212212
class="rounded-full saturate-0"
213-
src={~p"/images/prettier/wasmer.png"}
213+
src={~p"/images/challenges/prettier/wasmer.png"}
214214
style="position: absolute; height: 100%; width: 100%; inset: 0px; color: transparent;"
215215
/>
216216
</div>
@@ -235,7 +235,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
235235
alt="NAPI-RS"
236236
loading="lazy"
237237
class="rounded-full saturate-0"
238-
src={~p"/images/prettier/napi-rs.png"}
238+
src={~p"/images/challenges/prettier/napi-rs.png"}
239239
style="position: absolute; height: 100%; width: 100%; inset: 0px; color: transparent;"
240240
/>
241241
</div>
@@ -309,7 +309,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
309309
</div>
310310
<div
311311
class="absolute inset-0 bg-cover bg-center opacity-100 mix-blend-overlay"
312-
style="background-image: url(&quot;/images/prettier/sponsor.png&quot;);"
312+
style="background-image: url(&quot;/images/challenges/prettier/sponsor.png&quot;);"
313313
>
314314
</div>
315315
<div
@@ -354,7 +354,7 @@ defmodule AlgoraWeb.Challenges.PrettierLive do
354354
</div>
355355
<div
356356
class="absolute inset-0 bg-cover bg-center opacity-100 mix-blend-overlay"
357-
style="background-image: url(&quot;/images/prettier/solve.png&quot;);"
357+
style="background-image: url(&quot;/images/challenges/prettier/solve.png&quot;);"
358358
>
359359
</div>
360360
<div
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)