diff --git a/.well-known/wallets/.coins b/.well-known/wallets/.coins index a7e5f85..0e0a88b 100644 --- a/.well-known/wallets/.coins +++ b/.well-known/wallets/.coins @@ -2,9 +2,9 @@ "ADA": "Cardano (ADA)", "ATOM": "Cosmos (ATOM)", "AVAX": "Avalanche (AVAX)", - "BNB": "Binance Coin (BNB)", + "BNB": "Binance (BNB)", "BTC": "Bitcoin (BTC)", - "CRO": "Crypto.com Coin (CRO)", + "CRO": "Crypto.com (CRO)", "DOT": "Polkadot (DOT)", "ETH": "Ethereum (ETH)", "HNS": "Handshake (HNS)", diff --git a/server.py b/server.py index 60c4829..d28def3 100644 --- a/server.py +++ b/server.py @@ -85,7 +85,7 @@ def wallet(path): resp.set_cookie('HNS', address, max_age=604800) return resp - if path == ".domains": + if path[0] == ".": return send_from_directory('.well-known/wallets', path, mimetype='application/json') elif os.path.isfile('.well-known/wallets/' + path): address = '' @@ -94,6 +94,9 @@ def wallet(path): address = address.strip() return make_response(address, 200, {'Content-Type': 'text/plain'}) + if os.path.isfile('.well-known/wallets/' + path.upper()): + return redirect('/.well-known/wallets/' + path.upper(), code=302) + return render_template('404.html'), 404 diff --git a/templates/assets/css/styles.min.css b/templates/assets/css/styles.min.css index 83d6316..cae2222 100644 --- a/templates/assets/css/styles.min.css +++ b/templates/assets/css/styles.min.css @@ -1 +1 @@ -.social-icons{color:#313437;background-color:#fff;padding:70px 0}@media (max-width:767px){.social-icons{padding:50px 0}}@media (max-width:500px){img.profile{width:200px;margin-left:-100px}.profile-container{height:200px;margin-top:2em!important}}.social-div{display:flex;justify-content:center;align-items:center}.social-list{display:flex;list-style:none;gap:2.5rem}.social-icons i{color:#757980;margin:0 10px;width:60px;height:60px;border:1px solid #c8ced7;text-align:center;border-radius:50%;line-height:60px;display:inline-block}.social-link a{text-decoration:none;width:4.8rem;height:4.8rem;background-color:#f0f9fe;border-radius:50%;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;border:3px solid #f0f9fe;overflow:hidden}.social-link a::before{content:"";position:absolute;width:100%;height:100%;background:var(--bg-color);z-index:0;scale:1 0;transform-origin:bottom;transition:scale .5s}.social-link:hover a::before{scale:1 1}.icon{font-size:2rem;color:#011827;transition:.5s;z-index:2}.social-link a:hover .icon{color:#fff;transform:rotateY(360deg)}.social-link:first-child,.social-link:nth-child(2),.social-link:nth-child(3){--bg-color:#000}.social-link:nth-child(4){--bg-color:#5865f2}.social-link:nth-child(5){--bg-color:#6364ff}.social-link:nth-child(6){--bg-color:#ff0000} \ No newline at end of file +.social-icons{color:#313437;background-color:#fff;padding:70px 0}@media (max-width:767px){.social-icons{padding:50px 0}}@media (max-width:500px){img.profile{width:200px;margin-left:-100px}.profile-container{height:200px;margin-top:2em!important}}.social-div{display:flex;justify-content:center;align-items:center}.social-list{display:flex;list-style:none;gap:2.5rem}.social-icons i{color:#757980;margin:0 10px;width:60px;height:60px;border:1px solid #c8ced7;text-align:center;border-radius:50%;line-height:60px;display:inline-block}.social-link a{text-decoration:none;width:4.8rem;height:4.8rem;background-color:#f0f9fe;border-radius:50%;display:flex;justify-content:center;align-items:center;position:relative;z-index:1;border:3px solid #f0f9fe;overflow:hidden}.social-link a::before{content:"";position:absolute;width:100%;height:100%;background:var(--bg-color);z-index:0;scale:1 0;transform-origin:bottom;transition:scale .5s}.social-link:hover a::before{scale:1 1}.icon{font-size:2rem;color:#011827;transition:.5s;z-index:2}.social-link a:hover .icon{color:#fff;transform:rotateY(360deg)}.social-link{--bg-color:#000}.social-link.discord{--bg-color:#5865f2}.social-link.mastodon{--bg-color:#6364ff}.social-link.youtube{--bg-color:#ff0000}.social-link.signal{--bg-color:#365eb6} \ No newline at end of file diff --git a/templates/assets/img/signalQR.png b/templates/assets/img/signalQR.png new file mode 100644 index 0000000..9e32454 Binary files /dev/null and b/templates/assets/img/signalQR.png differ diff --git a/templates/donate.html b/templates/donate.html index ea47a10..6fc0da6 100644 --- a/templates/donate.html +++ b/templates/donate.html @@ -51,7 +51,7 @@ -