File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
lib/algora_web/components Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ defmodule AlgoraWeb.Components.TechBadge do
3535 defp icon_url ( "huggingface" ) , do: "/images/logos/huggingface.png"
3636 defp icon_url ( "youtube" ) , do: "/images/logos/youtube.png"
3737 defp icon_url ( "tiktok" ) , do: "/images/logos/tiktok.png"
38+
3839 defp icon_url ( tech ) , do: "https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/#{ icon_path ( tech ) } "
3940
4041 defp icon_path ( "aws" ) , do: "amazonwebservices/amazonwebservices-plain-wordmark.svg"
@@ -59,6 +60,7 @@ defmodule AlgoraWeb.Components.TechBadge do
5960 defp icon_class ( "bash" ) , do: "bg-white invert saturate-0"
6061 defp icon_class ( "twitter" ) , do: "bg-white invert saturate-0"
6162 defp icon_class ( "apachekafka" ) , do: "bg-white invert saturate-0"
63+ defp icon_class ( "emacs" ) , do: "bg-white invert saturate-0"
6264 defp icon_class ( _tech ) , do: "bg-transparent"
6365
6466 defp normalize ( tech ) do
@@ -117,6 +119,9 @@ defmodule AlgoraWeb.Components.TechBadge do
117119 "vim script" ->
118120 "vim"
119121
122+ "emacs lisp" ->
123+ "emacs"
124+
120125 t ->
121126 t
122127 |> String . replace ( "+" , "plus" )
@@ -204,7 +209,8 @@ defmodule AlgoraWeb.Components.TechBadge do
204209 "Envoy" ,
205210 "RabbitMQ" ,
206211 "Flutter" ,
207- "Vim"
212+ "Vim" ,
213+ "Emacs"
208214 ]
209215 end
210216end
You can’t perform that action at this time.
0 commit comments