CoinGecko Price Link

This commit is contained in:
Vamsi Krishna B 2021-08-17 10:54:53 +05:30
parent 3a7ed74301
commit 7d63e03ff4
3 changed files with 10 additions and 14 deletions

View File

@ -38,7 +38,7 @@ defmodule ZcashExplorerWeb.PriceLive do
<div class="absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6">
<div class="text-sm">
<a href="#" class="font-medium text-indigo-600 hover:text-indigo-500"> View more<span class="sr-only"> View detailed price charts of Zcash.</span></a>
<a href="https://www.coingecko.com/en/coins/zcash" target="_blank" class="font-medium text-indigo-600 hover:text-indigo-500"> View more<span class="sr-only"> View detailed price charts of Zcash.</span></a>
</div>
</div>
</dd>

View File

@ -6,7 +6,7 @@
<div class="px-4 py-5 sm:px-6">
<h2 id="block-details-title" class="text-lg leading-6 font-medium text-gray-900 inline-block">
Details for the Zcash block </h2>
Details for the Zcash block</h2>
<h2 class="inline-block text-gun-powder-500"> #<%= @block_data.height %></h2>
</div>
<div class="border-t border-gray-200 px-4 py-5 sm:px-6">
@ -183,7 +183,7 @@
<tbody>
<%= for transaction <- @block_data.tx do %>
<tr class="bg-white">
<tr class="bg-white hover:bg-indigo-50">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">
<%= @block_data.height %>
</td>

View File

@ -1,4 +1,4 @@
<main class="py-4">
<main class="py-4 lg:px-12">
<div class="grid gap-4 mx-2 grid-cols-1 md:mx-8">
<div class="space-y-6 lg:col-start-1 lg:col-span-2">
<section aria-labelledby="block-details-title">
@ -12,7 +12,6 @@
<div class="border-t border-gray-200 px-4 py-5 sm:px-6">
<dl class="grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-3">
<div class="sm:col-span-1">
<dt class="text-sm font-medium text-gray-500">
Confirmations
@ -195,7 +194,7 @@
</section>
<h4 class="font-medium text-gray-900">
Public transfers
Transfers
</h4>
<div class="grid md:grid-cols-2 gap-4 sm:grid-cols-1 lg:grid-cols-9">
<div class="sm:col-span-9 md:col-span-9 lg:col-span-4">
@ -207,7 +206,7 @@ Inputs (<%= vin_count(@tx.vin) %>)
<ul class="border border-gray-200 rounded-md divide-y divide-gray-200">
<%= for input <- @tx.vin do %>
<li class="pl-3 pr-4 py-3 flex items-center justify-between text-sm">
<li class="pl-3 pr-4 py-3 flex items-center justify-between text-sm hover:bg-indigo-50">
<div class="w-0 flex-1 flex items-center">
<a href='/address/<%= input.address %>'>
<span class="flex-1 w-0 break-all">
@ -261,7 +260,7 @@ Outputs (<%= vout_count(@tx.vout) %>)
<%= for op <- @tx.vout do %>
<%= for address <- op.scriptPubKey.addresses do %>
<li class="pl-2 pr-4 py-3 flex items-center justify-between text-sm">
<li class="pl-2 pr-4 py-3 flex items-center justify-between text-sm hover:bg-indigo-50">
<a href='/address/<%= address %>'>
<div class="w-0 flex-1 flex items-center">
<span class="flex-1 w-0 break-all">
@ -293,9 +292,6 @@ Outputs (<%= vout_count(@tx.vout) %>)
<% end %>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
</main>