diff --git a/assets/static/images/logo.png b/assets/static/images/logo.png new file mode 100644 index 0000000000..5fedb9025d Binary files /dev/null and b/assets/static/images/logo.png differ diff --git a/assets/static/images/phoenix.png b/assets/static/images/phoenix.png deleted file mode 100644 index 9c81075f63..0000000000 Binary files a/assets/static/images/phoenix.png and /dev/null differ diff --git a/lib/explorer_web/templates/layout/app.html.eex b/lib/explorer_web/templates/layout/app.html.eex index 49ebfcb7cc..f9254322a8 100644 --- a/lib/explorer_web/templates/layout/app.html.eex +++ b/lib/explorer_web/templates/layout/app.html.eex @@ -14,12 +14,8 @@
- - + "> +
<%= gettext "POA Network Explorer" %>
diff --git a/lib/explorer_web/templates/page/index.html.eex b/lib/explorer_web/templates/page/index.html.eex index 0988ea5b90..1d3049b565 100644 --- a/lib/explorer_web/templates/page/index.html.eex +++ b/lib/explorer_web/templates/page/index.html.eex @@ -1,36 +1 @@ -
-

<%= gettext "Welcome to %{name}!", name: "Phoenix" %>

-

A productive web framework that
does not compromise speed and maintainability.

-
- -
-
-

Resources

- -
- - -
+
Welcome to our blockchain explorer.
diff --git a/test/explorer_web/controllers/page_controller_test.exs b/test/explorer_web/controllers/page_controller_test.exs index 2826ef3799..d446ef61a0 100644 --- a/test/explorer_web/controllers/page_controller_test.exs +++ b/test/explorer_web/controllers/page_controller_test.exs @@ -3,6 +3,6 @@ defmodule ExplorerWeb.PageControllerTest do test "GET /", %{conn: conn} do conn = get conn, "/" - assert html_response(conn, 200) =~ "Welcome to Phoenix!" + assert html_response(conn, 200) =~ "Welcome" end end diff --git a/test/explorer_web/features/contributor_browsing_test.exs b/test/explorer_web/features/contributor_browsing_test.exs index 87a9559b66..b64cc5fa7f 100644 --- a/test/explorer_web/features/contributor_browsing_test.exs +++ b/test/explorer_web/features/contributor_browsing_test.exs @@ -3,9 +3,9 @@ defmodule ExplorerWeb.UserListTest do import Wallaby.Query, only: [css: 2] - test "users have names", %{session: session} do + test "browses the home page", %{session: session} do session |> visit("/") - |> assert_has(css("h2", text: "Welcome to Phoenix!")) + |> assert_has(css(".header__title", text: "POA Network Explorer")) end end