Commit 74a8a0a2 authored by Clint Mourlevat's avatar Clint Mourlevat

Create vanity generator page

parent 7736b4df
......@@ -53,6 +53,12 @@ namespace Stratis.Guru.Controllers
return View();
}
[Route("vanity")]
public IActionResult Vanity()
{
return View();
}
[Route("generator")]
public IActionResult Generator()
{
......
@{
ViewBag.Title = "Vanity Address Generator";
Layout = "_Layout";
}
<section class="welcome-area" id="welcome-1">
<div class="header-token">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 align-self-center text-center">
<h1><strong>Vanity </strong>Address Generator</h1>
<p>Generate a vanity address with a prefix that you define, by example <span class="text-warning">STRAT</span>nhRnMqJNoeDiCFUnaug7TKHJocwDd</p>
<a href="https://github.com/clintnetwork/stratis-guru-v2" target="_blank" class="btn-secondary-box"><i class="fa fa-github"></i> Browse Source on Github</a>
</div>
</div>
</div>
</div>
</section>
\ No newline at end of file
......@@ -26,7 +26,7 @@
</a>
<ul class="nav">
<li><a asp-action="Index" asp-controller="Home"><i class="fa fa-home"></i> HOME</a></li>
<li><a asp-action="Explorer" asp-controller="Home"><i class="fa fa-at"></i> VANITY</a></li>
<li><a asp-action="Vanity" asp-controller="Home"><i class="fa fa-at"></i> VANITY</a></li>
<li><a asp-action="Generator" asp-controller="Home"><i class="fa fa-qrcode"></i> ADDRESS GENERATOR</a></li>
<li><a asp-action="About" asp-controller="Home"><i class="fa fa-info-circle"></i> ABOUT</a></li>
<li><a asp-action="Contact" asp-controller="Home"><i class="fa fa-envelope"></i> CONTACT</a></li>
......
<environment include="Development">
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment exclude="Development">
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.17.0/jquery.validate.min.js"
asp-fallback-src="~/lib/jquery-validation/dist/jquery.validate.min.js"
asp-fallback-test="window.jQuery && window.jQuery.validator"
crossorigin="anonymous"
integrity="sha384-rZfj/ogBloos6wzLGpPkkOr/gpkBNLZ6b6yLy4o+ok+t/SAKlL5mvXLr0OXNi1Hp">
</script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validation.unobtrusive/3.2.9/jquery.validate.unobtrusive.min.js"
asp-fallback-src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"
asp-fallback-test="window.jQuery && window.jQuery.validator && window.jQuery.validator.unobtrusive"
crossorigin="anonymous"
integrity="sha384-ifv0TYDWxBHzvAk2Z0n8R434FL1Rlv/Av18DXE43N/1rvHyOG4izKst0f2iSLdds">
</script>
</environment>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment