Skip to content

Commit 1eac88a

Browse files
fix(explorer): redesign aggregator badges design (#1935)
1 parent 57d3209 commit 1eac88a

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

explorer/lib/explorer_web/components/agg_proofs_table.ex

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,14 @@ defmodule ExplorerWeb.AggProofsTable do
4848
<:col :let={proof} label="Aggregator">
4949
<%= case proof.aggregator do %>
5050
<% :sp1 -> %>
51-
<.sp1_badge />
51+
SP1
5252
<% :risc0 -> %>
53-
<.risc0_badge />
53+
RISC0
5454
<% _ -> %>
55-
<span>Unknown</span>
55+
Unknown
5656
<% end %>
5757
</:col>
5858
</.table>
5959
"""
6060
end
61-
62-
defp sp1_badge(assigns) do
63-
~H"""
64-
<div class="rounded-full p-1 px-5 border w-fit" style="border-color: #FE11C5">
65-
<p style="color: #FE11C5">SP1</p>
66-
</div>
67-
"""
68-
end
69-
70-
defp risc0_badge(assigns) do
71-
~H"""
72-
<div class="rounded-full p-1 px-5 w-fit" style="background-color: #FEFF9D">
73-
<p class="text-black">RISC0</p>
74-
</div>
75-
"""
76-
end
7761
end

0 commit comments

Comments
 (0)