Skip to content

Commit c083d70

Browse files
committed
refactor: update image sources in home live module to use local assets
- Replaced external image URLs with local asset paths for improved loading performance and consistency. - Added new SVG and PNG images for various organizations to the static assets directory.
1 parent a5d0cd8 commit c083d70

File tree

9 files changed

+54
-8
lines changed

9 files changed

+54
-8
lines changed

lib/algora_web/live/home_live.ex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ defmodule AlgoraWeb.HomeLive do
411411
<section class="relative isolate overflow-hidden bg-black py-16 sm:py-40">
412412
<div class="mx-auto max-w-7xl px-6 lg:px-8">
413413
<img
414-
src="https://www.firecrawl.dev/images/yc.svg"
414+
src={~p"/images/logos/yc.svg"}
415415
class="h-16 sm:h-24 mx-auto"
416416
alt="Y Combinator Logo"
417417
loading="lazy"
@@ -1266,7 +1266,7 @@ defmodule AlgoraWeb.HomeLive do
12661266
>
12671267
<img
12681268
class="size-4 sm:size-7 mr-2 sm:mr-4"
1269-
src="https://browser-use.com/logo.svg"
1269+
src={~p"/images/wordmarks/browser-use.svg"}
12701270
loading="lazy"
12711271
/> Browser Use
12721272
</.link>
@@ -1339,7 +1339,7 @@ defmodule AlgoraWeb.HomeLive do
13391339
</.link>
13401340
<.link class="relative flex items-center justify-center" navigate={~p"/org/traceloop"}>
13411341
<img
1342-
src="https://cdn.prod.website-files.com/664553b7af7a800a7911b9f0/664553f95f4ec29495eb8eb9_traceloop%20logo%20dark%20bg.png"
1342+
src={~p"/images/wordmarks/traceloop.png"}
13431343
alt="Traceloop"
13441344
class="sm:w-[90%] col-auto saturate-0"
13451345
loading="lazy"
@@ -1350,7 +1350,7 @@ defmodule AlgoraWeb.HomeLive do
13501350
navigate={~p"/org/trieve"}
13511351
>
13521352
<img
1353-
src="https://cdn.trieve.ai/trieve-logo.png"
1353+
src={~p"/images/wordmarks/trieve.png"}
13541354
alt="Trieve logo"
13551355
class="size-8 sm:size-12 mr-2 brightness-0 invert"
13561356
loading="lazy"
@@ -1382,7 +1382,7 @@ defmodule AlgoraWeb.HomeLive do
13821382
/>
13831383
</.link>
13841384
<.link class="relative flex items-center justify-center" navigate={~p"/org/moonrepo"}>
1385-
<img src="https://moonrepo.dev/img/logo.svg" alt="moon" class="w-[80%]" loading="lazy" />
1385+
<img src={~p"/images/wordmarks/moonrepo.svg"} alt="moon" class="w-[80%]" loading="lazy" />
13861386
</.link>
13871387
<.link class="relative flex items-center justify-center" navigate={~p"/org/highlight"}>
13881388
<img
@@ -1406,7 +1406,7 @@ defmodule AlgoraWeb.HomeLive do
14061406
navigate={~p"/org/onyx-dot-app"}
14071407
>
14081408
<img
1409-
src="https://onyx.app/Onyx.png"
1409+
src={~p"/images/wordmarks/onyx.png"}
14101410
alt="Onyx Logo"
14111411
class="object-contain w-[60%]"
14121412
loading="lazy"
@@ -1436,7 +1436,7 @@ defmodule AlgoraWeb.HomeLive do
14361436
navigate={~p"/org/windmill-labs"}
14371437
>
14381438
<img
1439-
src="https://windmill.dev/img/windmill.svg"
1439+
src={~p"/images/wordmarks/windmill.svg"}
14401440
alt="Windmill"
14411441
class="size-4 sm:size-10 mr-2 saturate-0"
14421442
loading="lazy"
@@ -1445,7 +1445,7 @@ defmodule AlgoraWeb.HomeLive do
14451445
14461446
<.link class="relative flex items-center justify-center" navigate={~p"/org/panoratech"}>
14471447
<img
1448-
src="https://getpanora.com/wp-content/uploads/2023/09/logo-panora.png"
1448+
src={~p"/images/wordmarks/panora.png"}
14491449
alt="Panora"
14501450
class="col-auto w-[60%] sm:w-[50%] saturate-0 brightness-0 invert"
14511451
loading="lazy"

priv/static/images/logos/yc.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 13 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
44.4 KB
Loading
2 KB
Loading
16.8 KB
Loading
428 KB
Loading
Lines changed: 29 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)