added Privacy Policy

This commit is contained in:
Vamsi Krishna B 2021-08-16 18:59:18 +05:30
parent 5205fa2ba3
commit dd7fd3655d
2 changed files with 190 additions and 1 deletions

189
assets/static/privacy.html Normal file
View File

@ -0,0 +1,189 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Privacy Policy</title>
<link rel="stylesheet" href="/css/app.css"/>
<meta charset="UTF-8">
<script defer type="text/javascript" src="/js/app.js"></script>
</head>
<body>
<header>
<nav x-data="{ open: false }" class="flex-shrink-0 bg-indigo-600">
<div class="max-w-7xl mx-auto px-2 sm:px-4 lg:px-8">
<div class="relative flex items-center justify-between h-16">
<!-- Logo section -->
<div class="flex items-center px-2 lg:px-0 xl:w-64">
<a href="/">
<div class="flex-shrink-0">
<img class="h-8 w-auto" src="/images/zcash-icon-white.svg" alt="Block Explorer">
</div>
</a>
<a href="/">
<div class="flex-shrink-0 px-1 text-white">
Block Explorer ( beta )
</div>
</a>
</div>
<!-- Search section -->
<div class="flex-1 flex justify-center lg:justify-end">
<div class="w-full px-2 lg:px-6">
<label for="search" class="sr-only">transaction / block / address</label>
<div class="relative text-indigo-200 focus-within:text-gray-400">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<svg class="h-5 w-5" x-description="Heroicon name: solid/search" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path>
</svg>
</div>
<form action="/search">
<input id="search" name="qs" class="block w-full pl-10 pr-3 py-2 bg-white border border-transparent rounded-md leading-5 bg-indigo-400 bg-opacity-25 text-indigo-100 placeholder-indigo-200 focus:outline-none focus:bg-white focus:ring-0 focus:placeholder-gray-400 focus:text-gray-900 sm:text-sm" placeholder="transaction / block / address" type="search">
</form>
</div>
</div>
</div>
<div class="flex lg:hidden">
<!-- Mobile menu button -->
<button type="button" class="bg-indigo-600 inline-flex items-center justify-center p-2 rounded-md text-indigo-400 hover:text-white hover:bg-indigo-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-indigo-600 focus:ring-white" aria-controls="mobile-menu" @click="open = !open" aria-expanded="true" x-bind:aria-expanded="open.toString()">
<span class="sr-only">Open main menu</span>
<svg x-description="Icon when menu is closed.
Heroicon name: outline/menu-alt-1" x-state:on="Menu open" x-state:off="Menu closed" class="h-6 w-6 hidden" :class="{ 'hidden': open, 'block': !(open) }" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h8m-8 6h16"></path>
</svg>
<svg x-description="Icon when menu is open.
Heroicon name: outline/x" x-state:on="Menu open" x-state:off="Menu closed" class="h-6 w-6 block" :class="{ 'block': open, 'hidden': !(open) }" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
</div>
<!-- Links section -->
<div class="hidden lg:block lg:w-80 z-40">
<div class="flex items-center justify-end">
<div class="flex">
<a href="/mempool" class="px-3 py-2 rounded-md text-sm font-medium text-indigo-200 hover:text-white">Mempool</a>
<a href="/blocks" class="px-3 py-2 rounded-md text-sm font-medium text-indigo-200 hover:text-white">Blocks</a>
<div x-data="{ open: false }" @keydown.escape.stop="open = false" @click.away="open = false" class="relative inline-block text-left">
<div>
<button type="button" class=" inline-flex justify-center rounded-md px-4 py-2 text-sm font-medium focus:outline-none text-indigo-200 hover:text-white" id="options-menu" aria-expanded="true" @click="open = !open" aria-haspopup="true" x-bind:aria-expanded="open">
Tools
<svg class="-mr-1 ml-2 h-5 w-5" x-description="Heroicon name: solid/chevron-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path>
</svg>
</button>
</div>
<div x-description="Dropdown menu, show/hide based on menu state." x-show="open" x-transition:enter="transition ease-out duration-100" x-transition:enter-start="transform opacity-0 scale-95" x-transition:enter-end="transform opacity-100 scale-100" x-transition:leave="transition ease-in duration-75" x-transition:leave-start="transform opacity-100 scale-100" x-transition:leave-end="transform opacity-0 scale-95" class="origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
<div class="py-1" role="none">
<a href="/nodes" class="block px-4 py-2 text-sm hover:bg-gray-200 bg-white" role="menuitem">Nodes</a>
<a href="/broadcast" class="block px-4 py-2 text-sm hover:bg-gray-200 bg-white" role="menuitem">Broadcast Transaction</a>
<a href="/payment-disclosure" class="block px-4 py-2 text-sm hover:bg-gray-200 bg-white" role="menuitem">Payment Disclosure</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div x-description="Mobile menu, show/hide based on menu state." class="lg:hidden" id="mobile-menu" x-show="open">
<div class="px-2 pt-2 pb-3">
<a href="/mempool" class="text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 block px-3 py-2 rounded-md text-base font-medium">Mempool</a>
<a href="/blocks" class="text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 block px-3 py-2 rounded-md text-base font-medium">Blocks</a>
</div>
<div class="pt-4 pb-3 border-t ">
<div class="px-2">
<a href="/nodes" class="text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 block px-3 py-2 rounded-md text-base font-medium">Nodes</a>
<a href="/broadcast" class="text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 block px-3 py-2 rounded-md text-base font-medium">Broadcast Transaction</a>
<a href="/payment-disclosure" class="text-indigo-200 hover:text-indigo-100 hover:bg-indigo-600 block px-3 py-2 rounded-md text-base font-medium">Payment Disclosure</a>
</div>
</div>
</div>
</nav>
</header>
<div class="bg-gray-50">
<main class="py-4">
<div class="grid grid-cols-1 mx-8">
<h3 class="text-2xl font-extrabold text-gray-900 sm:text-3xl">
Privacy Policy
</h3>
<div>
<p class="mt-4 text-lg leading-6 text-gray-500">Your privacy is important to us. It is Zcash Block Explorer&#39;s policy to respect your privacy.</p>
<p class="mt-4 text-lg leading-6 text-gray-500">This policy is effective as of 8 August 2021 and was last updated on 8 August 2021.</p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Information We Collect</h3>
<p class="mt-2 text-lg leading-6 text-gray-500">Information we collect includes both information you knowingly and actively provide us when using or participating in any of our services, and any information automatically sent by your devices in the course of accessing our services. </p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Log Data</h4>
<p class="mt-2 text-lg leading-6 text-gray-500">When you visit our website, our cloud provider may automatically log the standard data provided by your web browser. It may include your devices Internet Protocol (IP) address, your browser type and version, the pages you visit, the time and date of your visit, the time spent on each page, other details about your visit, and technical details that occur in conjunction with any errors you may encounter. </p>
<p class="mt-2 text-lg leading-6 text-gray-500">Please be aware that while this information may not be personally identifying by itself, it may be possible to combine it with other data to personally identify individual persons. </p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Childrens Privacy</h3>
<p class="mt-2 text-lg leading-6 text-gray-500">We do not aim any of our products or services directly at children under the age of 13, and we do not knowingly collect personal information about children under 13. </p>
<p class="mt-2 text-lg leading-6 text-gray-500">If you believe that we have breached a relevant data protection law and wish to make a complaint, please contact us using the details below and provide us with full details of the alleged breach. We will promptly investigate your complaint and respond to you, in writing, setting out the outcome of our investigation and the steps we will take to deal with your complaint. You also have the right to contact a regulatory body or data protection authority in relation to your complaint. </p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Use of Cookies</h4>
<p class="mt-2 text-lg leading-6 text-gray-500">We use only necessary &ldquo;cookies&rdquo; to enable the service across our site. A cookie is a small piece of data that our website stores on your computer, and accesses each time you visit. This helps us serve you blockchain data based on preferences you have specified. </p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Limits of Our Policy</h4>
<p class="mt-2 text-lg leading-6 text-gray-500">Our website may link to external sites that are not operated by us. Please be aware that we have no control over the content and policies of those sites, and cannot accept responsibility or liability for their respective privacy practices. </p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Changes to This Policy</h4>
<p class="mt-2 text-lg leading-6 text-gray-500">At our discretion, we may change our privacy policy to reflect updates to our processes, current acceptable practices, or legislative or regulatory changes. If we decide to change this privacy policy, we will post the changes here at the same link by which you are accessing this privacy policy.</p>
<h4 class="text-lg leading-6 font-medium text-gray-900 mt-2">Contact Us</h4>
<p class="mt-2 text-lg leading-6 text-gray-500">For any questions or concerns regarding your privacy, you may contact us via Twitter: </p>
<p>Zcash Block Explorer<br />
https://www.twitter.com/ZcashExplorer</p>
</div>
</div>
</div>
</main>
<footer>
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8">
<div class="flex justify-center space-x-6 md:order-2">
<a href="https://twitter.com/ZcashExplorer" class="text-gray-400 hover:text-gray-500" target="_blank">
<span class="sr-only">Twitter</span>
<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
</a>
<a href="https://github.com/nighthawk-apps/zcash-explorer" class="text-gray-400 hover:text-gray-500" target="_blank">
<span class="sr-only">GitHub</span>
<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
</svg>
</a>
</div>
<div class="mt-8 md:mt-0 md:order-1">
<p class="text-center text-base text-gray-400">
&copy; 2021 Nighthawk Apps.
<span class="block sm:inline">Funded by ZOMG.</span>
</p>
</div>
</div>
</footer>
</div>
<iframe hidden height="0" width="0" src="/phoenix/live_reload/frame"></iframe></body>
</html>

View File

@ -24,7 +24,7 @@ defmodule ZcashExplorerWeb.Endpoint do
at: "/",
from: :zcash_explorer,
gzip: true,
only: ~w(css fonts images js favicon.ico robots.txt)
only: ~w(css fonts images js favicon.ico robots.txt privacy.html)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.