Skip to content

Commit 91f7c75

Browse files
committed
feat: add tech icons
1 parent ea0a1ae commit 91f7c75

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/algora_web/components/tech_badge.ex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,23 @@ defmodule AlgoraWeb.Components.TechBadge do
4444
defp icon_class("groovy"), do: "bg-white invert saturate-0"
4545
defp icon_class("objectivec"), do: "bg-white invert saturate-0"
4646
defp icon_class("purescript"), do: "bg-white invert saturate-0"
47+
defp icon_class("astro"), do: "bg-white invert saturate-0"
4748
defp icon_class(_tech), do: "bg-transparent"
4849

4950
defp normalize(tech) do
5051
case String.downcase(tech) do
5152
"postgres" ->
5253
"postgresql"
5354

55+
"vue" ->
56+
"vuejs"
57+
58+
"vuejs" ->
59+
"vuejs"
60+
61+
"shell" ->
62+
"bash"
63+
5464
t ->
5565
t
5666
|> String.replace("+", "plus")
@@ -111,6 +121,7 @@ defmodule AlgoraWeb.Components.TechBadge do
111121
"React",
112122
"Svelte",
113123
"Vue.js",
124+
"Astro",
114125
"Node.js",
115126
"HTML",
116127
"CSS",

0 commit comments

Comments
 (0)