Compare commits
5 Commits
feat/campa
...
0b7973d2b8
| Author | SHA1 | Date | |
|---|---|---|---|
|
0b7973d2b8
|
|||
|
5efab0e341
|
|||
|
902e87eaee
|
|||
|
ef90f4c148
|
|||
|
4a4d8b31c4
|
BIN
HNSAU.bsdesign
BIN
HNSAU.bsdesign
Binary file not shown.
@@ -412,7 +412,7 @@ def index():
|
|||||||
tld = tlds[0]
|
tld = tlds[0]
|
||||||
hns_scripts = ''
|
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>')
|
@app.route('/<path:path>')
|
||||||
def catch_all(path):
|
def catch_all(path):
|
||||||
@@ -469,4 +469,4 @@ def check_payments():
|
|||||||
payments.check_payments()
|
payments.check_payments()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
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')
|
||||||
|
|||||||
@@ -35,6 +35,12 @@ function toggle() {
|
|||||||
window.getPreferredTheme = () => {
|
window.getPreferredTheme = () => {
|
||||||
const storedTheme = window.getStoredTheme()
|
const storedTheme = window.getStoredTheme()
|
||||||
if (storedTheme) {
|
if (storedTheme) {
|
||||||
|
// Validate stored theme - if invalid, remove it
|
||||||
|
if (storedTheme !== 'light' && storedTheme !== 'dark') {
|
||||||
|
localStorage.removeItem('theme')
|
||||||
|
location.reload()
|
||||||
|
return
|
||||||
|
}
|
||||||
return storedTheme
|
return storedTheme
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 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>
|
||||||
<div class="text-center block-heading" id="support">
|
<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 </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 <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 </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 <a href="https://domains.hns.au" target="_blank">https://domains.hns.au</a></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user