File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
lib/algora_web/components Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,23 @@ defmodule AlgoraWeb.Components.TechBadge do
44
44
defp icon_class ( "groovy" ) , do: "bg-white invert saturate-0"
45
45
defp icon_class ( "objectivec" ) , do: "bg-white invert saturate-0"
46
46
defp icon_class ( "purescript" ) , do: "bg-white invert saturate-0"
47
+ defp icon_class ( "astro" ) , do: "bg-white invert saturate-0"
47
48
defp icon_class ( _tech ) , do: "bg-transparent"
48
49
49
50
defp normalize ( tech ) do
50
51
case String . downcase ( tech ) do
51
52
"postgres" ->
52
53
"postgresql"
53
54
55
+ "vue" ->
56
+ "vuejs"
57
+
58
+ "vuejs" ->
59
+ "vuejs"
60
+
61
+ "shell" ->
62
+ "bash"
63
+
54
64
t ->
55
65
t
56
66
|> String . replace ( "+" , "plus" )
@@ -111,6 +121,7 @@ defmodule AlgoraWeb.Components.TechBadge do
111
121
"React" ,
112
122
"Svelte" ,
113
123
"Vue.js" ,
124
+ "Astro" ,
114
125
"Node.js" ,
115
126
"HTML" ,
116
127
"CSS" ,
You can’t perform that action at this time.
0 commit comments