Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/lib/explorer_web/views/layout_view.ex

12 lines
293 B

defmodule ExplorerWeb.LayoutView do
use ExplorerWeb, :view
alias ExplorerWeb.Endpoint
def logo_image(conn, alt: alt) do
conn
|> static_path("/images/logo.png")
|> img_tag(class: "header__logo", alt: alt)
|> link(to: Endpoint.url(), class: "header__logo-link")
end
end