feat: Add link to stats from home page
All checks were successful
Build Docker / Build Image (push) Successful in 32s

This commit is contained in:
Nathan Woodburn 2023-12-29 20:04:31 +11:00
parent a400586b05
commit 9604f08c4e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
5 changed files with 7 additions and 14 deletions

View File

@ -148,13 +148,6 @@ def stats():
@app.route('/<path:path>')
def catch_all(path):
# # If file exists, load it
# if os.path.isfile('templates/' + path):
# return render_template(path)
# # Try with .html
# if os.path.isfile('templates/' + path + '.html'):
# return render_template(path + '.html')
return redirect('/?r='+path)
# 404 catch all

View File

@ -100,7 +100,7 @@ Claim a free Handshake domain">
<div class="card-body px-4 py-5 px-md-5">
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
<h5 class="fw-bold card-title">Woodburn Registry</h5>
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
</div>
</div>
</div>
@ -165,7 +165,7 @@ Claim a free Handshake domain">
<div class="container py-4 py-lg-5">
<hr>
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
</div>
</div>
</footer>

View File

@ -108,7 +108,7 @@ Claim a free Handshake domain">
<div class="card-body px-4 py-5 px-md-5">
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
<h5 class="fw-bold card-title">Woodburn Registry</h5>
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
</div>
</div>
</div>
@ -173,7 +173,7 @@ Claim a free Handshake domain">
<div class="container py-4 py-lg-5">
<hr>
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
</div>
</div>
</footer>

View File

@ -99,7 +99,7 @@ Claim a free Handshake domain">
<div class="card-body px-4 py-5 px-md-5">
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
<h5 class="fw-bold card-title">Woodburn Registry</h5>
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
</div>
</div>
</div>

View File

@ -99,7 +99,7 @@ Claim a free Handshake domain">
<div class="card-body px-4 py-5 px-md-5">
<div class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon" style="top: 1rem;right: 1rem;position: absolute;"><i class="material-icons text-success">dns</i></div>
<h5 class="fw-bold card-title">Woodburn Registry</h5>
<p class="text-muted card-text mb-4">Free Handshake compatible DNS server. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
<p class="text-muted card-text mb-4">Free Handshake DNS service. Also provides free SLDs on select TLDs</p><a class="btn btn-primary shadow" role="button" href="https://reg.woodburn.au" target="_blank">Learn more</a>
</div>
</div>
</div>
@ -164,7 +164,7 @@ Claim a free Handshake domain">
<div class="container py-4 py-lg-5">
<hr>
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p>
<p class="mb-0 copyright">Copyright © 2023 Nathan.Woodburn/</p><a href="/stats">Stats</a>
</div>
</div>
</footer>