Skip to content

Commit be3a5af

Browse files
committed
feat: add tech icons
1 parent 65b4df9 commit be3a5af

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/algora_web/components/tech_badge.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ defmodule AlgoraWeb.Components.TechBadge do
4545
defp icon_class("objectivec"), do: "bg-white invert saturate-0"
4646
defp icon_class("purescript"), do: "bg-white invert saturate-0"
4747
defp icon_class("astro"), do: "bg-white invert saturate-0"
48+
defp icon_class("apple"), do: "bg-white invert saturate-0"
4849
defp icon_class(_tech), do: "bg-transparent"
4950

5051
defp normalize(tech) do
@@ -70,6 +71,9 @@ defmodule AlgoraWeb.Components.TechBadge do
7071
"liveview" ->
7172
"phoenix"
7273

74+
"ios" ->
75+
"apple"
76+
7377
t ->
7478
t
7579
|> String.replace("+", "plus")
@@ -139,7 +143,9 @@ defmodule AlgoraWeb.Components.TechBadge do
139143
"Figma",
140144
"Prometheus",
141145
"Grafana",
142-
"LiveView"
146+
"LiveView",
147+
"Apple",
148+
"Android"
143149
]
144150
end
145151
end

0 commit comments

Comments
 (0)