Made favicon.ico be uploaded to have a website image and added Error's

github as his link
This commit is contained in:
2025-10-23 07:54:34 +01:00
parent 95af8d78bb
commit aab90d71de
6 changed files with 10 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
}, },
{ {
"name": "ErrorNoInternet", "name": "ErrorNoInternet",
"website": "https://github.com/ErrorNoInternet",
"pfp": "error.png", "pfp": "error.png",
"additional": "Admin" "additional": "Admin"
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -19,7 +19,7 @@ h1 {
#footer-links { #footer-links {
margin: 0px; margin: 0px;
padding: 5px; padding: 5px;
border-top: 1px solid var(--accent); border-top: 1px solid white;
} }
hr { hr {
color: #ffffff; color: #ffffff;
@@ -46,7 +46,6 @@ a {
border-radius: 50%; border-radius: 50%;
} }
#member img:hover { #member img:hover {
transform: scale(1.2);
filter: drop-shadow(0 0 3px #202020); filter: drop-shadow(0 0 3px #202020);
} }
#member-role { #member-role {
@@ -63,5 +62,6 @@ a {
margin: 20px; margin: 20px;
} }
#member:hover { #member:hover {
transform: scale(1.2);
background: #222222; background: #222222;
} }

BIN
tuxcord/static/tuxcord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -12,7 +12,7 @@
<h1>Services we provide:</h1> <h1>Services we provide:</h1>
<ul> <ul>
<li> <li>
<a href="https://mastodon.tuxcord.net">Mastodon</a> (<a href='/mastodon-status'>Status</a>) <a href="https://mastodon.tuxcord.net">Mastodon</a>
</li> </li>
<li> <li>
<a href="https://git.javalsai.tuxcord.net">Gitea</a> <a href="https://git.javalsai.tuxcord.net">Gitea</a>

View File

@@ -56,9 +56,14 @@ def mc(request):
'ascii_clippy': ascii_clippy 'ascii_clippy': ascii_clippy
}) })
def favicon(request):
with open('static/favicon.ico', "rb") as f:
return HttpResponse(f.read(), content_type="image/icon")
urlpatterns = [ urlpatterns = [
path('', index, name='index'), path('', index, name='index'),
path('mc', mc, name='mc'), path('mc', mc, name='mc'),
path('favicon.ico', favicon, name='favicon'),
] ]
# In your main file (e.g., manage.py or wsgi.py), set up the server to run. # In your main file (e.g., manage.py or wsgi.py), set up the server to run.