5 Commits

Author SHA1 Message Date
0b7973d2b8 fix: Correct broken theme
All checks were successful
Build Docker / Build Image (push) Successful in 2m51s
2025-10-31 14:12:47 +11:00
5efab0e341 fix: Use correct link for domains.hns.au
All checks were successful
Build Docker / Build Image (push) Successful in 2m15s
2025-09-23 12:14:29 +10:00
902e87eaee fix: Don't redirect using js script for tlds
All checks were successful
Build Docker / Build Image (push) Successful in 2m27s
2025-09-22 13:44:35 +10:00
ef90f4c148 feat: Remove separate TLD pages
All checks were successful
Build Docker / Build Image (push) Successful in 2m4s
2025-09-22 13:34:55 +10:00
4a4d8b31c4 Merge pull request 'Add campaigns page' (#2) from feat/campaigns into main
All checks were successful
Build Docker / Build Image (push) Successful in 2m50s
Reviewed-on: #2
2025-08-21 15:55:44 +10:00
4 changed files with 10 additions and 4 deletions

Binary file not shown.

View File

@@ -412,7 +412,7 @@ def index():
tld = tlds[0]
hns_scripts = ''
return render_template('/tlds/'+tld+'.html',year=year, handshake_scripts=hns_scripts)
return render_template('index.html',year=year, handshake_scripts=hns_scripts)
@app.route('/<path:path>')
def catch_all(path):
@@ -469,4 +469,4 @@ def check_payments():
payments.check_payments()
if __name__ == '__main__':
app.run(debug=True, port=5000, host='0.0.0.0')
app.run(debug=True, port=5000, host='127.0.0.1')

View File

@@ -35,6 +35,12 @@ function toggle() {
window.getPreferredTheme = () => {
const storedTheme = window.getStoredTheme()
if (storedTheme) {
// Validate stored theme - if invalid, remove it
if (storedTheme !== 'light' && storedTheme !== 'dark') {
localStorage.removeItem('theme')
location.reload()
return
}
return storedTheme
}

View File

@@ -219,7 +219,7 @@
<div class="social-icons" style="font-size: 50px;"><a href="mailto:hns@hns.au" target="_blank" style="padding-right: 10px;padding-left: 10px;"><i class="icon ion-email" style="font-size: 50px;"></i></a><a href="https://discord.gg/WJ6vpjuQv5" target="_blank" style="padding-right: 10px;padding-left: 10px;"><i class="fab fa-discord" style="font-size: 50px;"></i></a></div>
</div>
<div class="text-center block-heading" id="support">
<h2 class="text-primary">Support Us</h2><span style="font-size: 20px;">You can support us by donating HNS to&nbsp;</span><code style="font-size: 20px;"><br>hs1qjdsz8u2ftm93jmczq8x36zqmfh3pqagq0hkkaf</code><span style="font-size: 20px;"><br>Or by using our alias</span><code style="font-size: 20px;"><br>@donate.hnsau<br><br></code><span style="font-size: 20px;">You can also support us by buying an SLD from&nbsp;<a href="https://domains.hnsau" target="_blank">https://domains.hns.au</a></span>
<h2 class="text-primary">Support Us</h2><span style="font-size: 20px;">You can support us by donating HNS to&nbsp;</span><code style="font-size: 20px;"><br>hs1qjdsz8u2ftm93jmczq8x36zqmfh3pqagq0hkkaf</code><span style="font-size: 20px;"><br>Or by using our alias</span><code style="font-size: 20px;"><br>@donate.hnsau<br><br></code><span style="font-size: 20px;">You can also support us by buying an SLD from&nbsp;<a href="https://domains.hns.au" target="_blank">https://domains.hns.au</a></span>
</div>
</div>
</section>