File tree Expand file tree Collapse file tree
explorer/lib/explorer_web/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,34 @@ defmodule ExplorerWeb.AggProofsTable do
4444 <: col :let = { proof } label = "Number of proofs " >
4545 <%= proof . number_of_proofs |> Helpers . format_number ( ) %>
4646 </: col >
47+
48+ <: col :let = { proof } label = "Aggregator " >
49+ <%= case proof . aggregator do %>
50+ <% :sp1 -> %>
51+ < . sp1_badge />
52+ <% :risc0 - > %>
53+ < . risc0_badge />
54+ <% _ -> %>
55+ < span > Unknown</ span >
56+ <% end %>
57+ </: col >
4758 </ . table >
4859 """
4960 end
61+
62+ defp sp1_badge ( assigns ) do
63+ ~H"""
64+ < div class = "rounded-full p-2 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-2 px-5 w-fit " style = "background-color: #FEFF9D " >
73+ < p class = "text-black " > RISC0</ p >
74+ </ div >
75+ """
76+ end
5077end
You can’t perform that action at this time.
0 commit comments