diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js index 2787a02..ddc9f7b 100644 --- a/assets/tailwind.config.js +++ b/assets/tailwind.config.js @@ -3,18 +3,19 @@ const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { purge: [ - '../lib/**/*.ex', - '../lib/**/*.leex', - '../lib/**/*.eex', - './js/**/*.js' + '../lib/**/*.ex', + '../lib/**/*.leex', + '../lib/**/*.heex', + '../lib/**/*.eex', + './js/**/*.js' ], darkMode: 'class', // or 'media' or 'class' theme: { extend: { - fontFamily: { + fontFamily: { sans: ['Inter', defaultTheme.fontFamily.sans], } - }, + }, }, variants: { extend: { diff --git a/config/dev.exs b/config/dev.exs index f703442..88562a0 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -32,7 +32,7 @@ config :zcash_explorer, ZcashExplorerWeb.Endpoint, config :zcash_explorer, Zcashex, zcashd_hostname: "localhost", - zcashd_port: "38232", + zcashd_port: "8232", zcashd_username: "zcashrpc", zcashd_password: "changeme", vk_cpus: "0.2", diff --git a/lib/zcash_explorer_web/templates/page/blockchain_info.html.eex b/lib/zcash_explorer_web/templates/page/blockchain_info.html.heex similarity index 94% rename from lib/zcash_explorer_web/templates/page/blockchain_info.html.eex rename to lib/zcash_explorer_web/templates/page/blockchain_info.html.heex index 6568eea..ac4d044 100644 --- a/lib/zcash_explorer_web/templates/page/blockchain_info.html.eex +++ b/lib/zcash_explorer_web/templates/page/blockchain_info.html.heex @@ -1,6 +1,5 @@
- <%= live_render(@conn, ZcashExplorerWeb.BlockChainInfoLive) %>
\ No newline at end of file diff --git a/lib/zcash_explorer_web/templates/page/broadcast.html.eex b/lib/zcash_explorer_web/templates/page/broadcast.html.heex similarity index 86% rename from lib/zcash_explorer_web/templates/page/broadcast.html.eex rename to lib/zcash_explorer_web/templates/page/broadcast.html.heex index 9e6dc10..3b91ac1 100644 --- a/lib/zcash_explorer_web/templates/page/broadcast.html.eex +++ b/lib/zcash_explorer_web/templates/page/broadcast.html.heex @@ -1,13 +1,12 @@
- -

+

Broadcast Zcash Transaction -

+ <%= if get_flash(@conn, :error) do %> -
+
@@ -34,7 +33,6 @@ <%= if get_flash(@conn, :info) do %> -
@@ -43,19 +41,22 @@
+

Transaction broadcasted

+

Transaction Id: <%= get_flash(@conn, :info) %>

+
+
<% end %> -
-
-
- + + +

Paste the raw transaction here in hex format to broadcast it over the Zcash network.

- - - + + -
@@ -86,8 +86,7 @@ Broadcast transaction
-
-
- \ No newline at end of file + +
\ No newline at end of file diff --git a/lib/zcash_explorer_web/templates/page/disclosure.html.eex b/lib/zcash_explorer_web/templates/page/disclosure.html.heex similarity index 91% rename from lib/zcash_explorer_web/templates/page/disclosure.html.eex rename to lib/zcash_explorer_web/templates/page/disclosure.html.heex index 587fe47..fd2a218 100644 --- a/lib/zcash_explorer_web/templates/page/disclosure.html.eex +++ b/lib/zcash_explorer_web/templates/page/disclosure.html.heex @@ -1,9 +1,8 @@
-
-
-
@@ -95,10 +84,12 @@ <%= live_render(@conn, ZcashExplorerWeb.RecentBlocksLive) %>
+

Recent Transactions

<%= live_render(@conn, ZcashExplorerWeb.RecentTransactionsLive) %>
+
diff --git a/lib/zcash_explorer_web/templates/page/mempool.html.eex b/lib/zcash_explorer_web/templates/page/mempool.html.heex similarity index 100% rename from lib/zcash_explorer_web/templates/page/mempool.html.eex rename to lib/zcash_explorer_web/templates/page/mempool.html.heex diff --git a/lib/zcash_explorer_web/templates/page/nodes.html.eex b/lib/zcash_explorer_web/templates/page/nodes.html.heex similarity index 100% rename from lib/zcash_explorer_web/templates/page/nodes.html.eex rename to lib/zcash_explorer_web/templates/page/nodes.html.heex diff --git a/lib/zcash_explorer_web/templates/page/vk.html.eex b/lib/zcash_explorer_web/templates/page/vk.html.heex similarity index 96% rename from lib/zcash_explorer_web/templates/page/vk.html.eex rename to lib/zcash_explorer_web/templates/page/vk.html.heex index c9648a1..612271c 100644 --- a/lib/zcash_explorer_web/templates/page/vk.html.eex +++ b/lib/zcash_explorer_web/templates/page/vk.html.heex @@ -35,7 +35,7 @@

Paste the viewing key, click on the "Start Importing" button and grab a coffee!

- + @@ -43,7 +43,7 @@
- +
diff --git a/lib/zcash_explorer_web/templates/page/vk_txs.html.eex b/lib/zcash_explorer_web/templates/page/vk_txs.html.heex similarity index 100% rename from lib/zcash_explorer_web/templates/page/vk_txs.html.eex rename to lib/zcash_explorer_web/templates/page/vk_txs.html.heex