Uses Django now because Flask is insecure in prod

This commit is contained in:
2025-10-22 10:57:48 +01:00
parent ddf4caba62
commit 6c5453ad17
25 changed files with 112 additions and 204 deletions

BIN
tuxcord/static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

50
tuxcord/static/index.css Normal file
View File

@@ -0,0 +1,50 @@
:root {
--accent: #28ebb5
}
body {
background: #000000;
color: #ffffff;
padding-bottom: 100px;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
background: black;
}
#footer-links {
margin: 10px;
}
hr {
color: #ffffff;
}
.tuxcord-image {
position: absolute;
top: 0;
left: 650px;
}
a {
text-decoration: none;
color: var(--accent);
}
a:hover not(.no-spin) {
animation: half-spin 1s linear infinite;
display: inline-block; /* Ensures the text spins around its center */
}
@keyframes half-spin {
0% {
transform: rotate(0deg);
}
25% {
transform: rotate(10deg);
}
50% {
transform: rotate(0deg);
}
75% {
transform: rotate(-10deg);
}
100% {
transform: rotate(0deg);
}
}

37
tuxcord/static/robots.txt Executable file
View File

@@ -0,0 +1,37 @@
User-agent: GPTBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: PerplexityBot
Disallow: /
User-agent: Amazonbot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Omgilibot
Disallow: /
User-Agent: FacebookBot
Disallow: /
User-Agent: Applebot
Disallow: /
User-agent: anthropic-ai
Disallow: /
User-agent: Bytespider
Disallow: /
User-agent: Claude-Web
Disallow: /
User-agent: Diffbot
Disallow: /
User-agent: ImagesiftBot
Disallow: /
User-agent: Omgilibot
Disallow: /
User-agent: Omgili
Disallow: /
User-agent: YouBot
Disallow: /
User-agent: *
Disallow: /irc_log