Skip to content

Commit

Permalink
Aufräumen
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
DavidCraftDev authored Jan 12, 2023
1 parent e863001 commit 19b0b23
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 33 deletions.
16 changes: 9 additions & 7 deletions assets/css/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,23 @@ body {
@apply rounded-lg;
@apply p-4;
}

code {
@apply bg-gray-800;
@apply text-white;
@apply rounded-lg;
@apply p-1;
}

#Projekt a, #Impressum a, #Datenschutz a {
@apply hover:underline;
@apply text-[#0000EE];
}

#Projekt a,
#Impressum a,
#Datenschutz a {
@apply hover: underline;
@apply text-[#0000EE];
}

p[aligin=center] {
@apply content-start;
}

}
}
8 changes: 3 additions & 5 deletions assets/elements/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<footer class="p-4 shadow md:flex md:items-center md:justify-between md:p-6 bg-gray-800">
<span class="text-sm text-gray-400 sm:text-center">© 2022 - 2023 <a href="https://zoeyvid.de"
class="hover:underline">ZoeyVid</a>. All Rights Reserved.
<span class="text-sm text-gray-400 sm:text-center">© 2022 - 2023 <a href="https://zoeyvid.de" class="hover:underline">ZoeyVid</a>. All Rights Reserved.
</span>
<ul class="flex flex-wrap items-center mt-3 text-sm text-gray-400 sm:mt-0 list-none">
<li>
Expand All @@ -10,11 +9,10 @@
<a href="/datenschutz" class="mr-4 hover:underline md:mr-6">Datenschutz</a>
</li>
<li>
<a href="https://github.com/ZoeyVid/ZoeyVid-Webseite" onclick="git();event.preventDefault();"
class="mr-4 hover:underline md:mr-6">GitHub-Repo</a>
<a href="https://github.com/ZoeyVid/ZoeyVid-Webseite" onclick="git();event.preventDefault();" class="mr-4 hover:underline md:mr-6">GitHub-Repo</a>
</li>
<li>
<a href="mailto:zoeyvid@zvcdn.de" class="hover:underline">Kontakt</a>
</li>
</ul>
</footer>
</footer>
2 changes: 1 addition & 1 deletion assets/elements/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
</div>
</div>
</nav>
</header>
</header>
14 changes: 7 additions & 7 deletions assets/js/elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ function changeExternalLinks() {
links.forEach(link => {
if (!link.href.startsWith("https://zoeyvid.de")) {
var externLink = link.href
link.href = ""
link.onclick = function() {
if(confirm("Willst du wirklich zoeyvid.de verlassen, und auf " + String(externLink) + " gehen?") == true) {
window.location.href = URL(externLink)
alert(window.location)
link.href = ""
link.onclick = function () {
if (confirm("Willst du wirklich zoeyvid.de verlassen, und auf " + String(externLink) + " gehen?") == true) {
window.location.href = URL(externLink)
alert(window.location)
}
};
}
};
}
});
}
4 changes: 2 additions & 2 deletions assets/js/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ function getAllRepos() {
})
.then((json) => {
Object.keys(json).forEach(element => {
document.getElementById("Projekte").innerHTML += "<a href='https://zoeyvid.de/projekt?projekt=" + element + "' class='text-white'><div class='bg-gray-800 rounded-lg p-4 m-2'><h1 class='text-2xl font-bold hover:underline' id='" + element + "Headline'>" + element + "</h1><p class='text-gray-300'>" + json[element].description + "</p><div id='" + element + "Topics' class='pt-2'></div></div></a>"
document.getElementById("Projekte").innerHTML += "<a href='https://zoeyvid.de/projekt?projekt=" + element + "' class='text-white'><div class='bg-gray-800 rounded-lg p-4 m-2'><h1 class='text-2xl font-bold hover:underline' id='" + element + "Headline'>" + element + "</h1><p class='text-gray-300'>" + json[element].description + "</p><div id='" + element + "Topics' class='pt-2'></div></div></a>"
})
return json
}).then((json) => {
Object.keys(json).forEach(element => {
json[element].topics.forEach(topic => {
document.getElementById(element + "Topics").innerHTML += "<span class='bg-gray-700 rounded-lg p-2 mr-2'>" + topic + "</span>"
})
if(Boolean(json[element].fork)) {
if (Boolean(json[element].fork)) {
document.getElementById(element + "Headline").innerText += " (Fork)"
}
})
Expand Down
2 changes: 1 addition & 1 deletion datenschutz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
</div>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion impressum/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
</div>
</body>

</html>
</html>
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
.pagecontainer {
display: none;
}

#banner {
display: none;
}

#verify {
display: none;
}
Expand All @@ -53,7 +53,7 @@
Please enable Javascript. You need it to visit this site!
</div>
</noscript>

<img src="/images/ZoeyVid-Banner.webp" class="w-screen" alt="Banner" id="banner">

<div id="footer">
Expand All @@ -69,4 +69,4 @@
</div>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion projekt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
</div>
</body>

</html>
</html>
4 changes: 2 additions & 2 deletions projekte/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body class="bg-[#296236]">
<!-- Bitte nicht hauen Zoey, Danke -->
<script>
if(document.cookie == "david=true") {
if (document.cookie == "david=true") {
document.body.style.backgroundColor = "#ffffff";
}
</script>
Expand Down Expand Up @@ -58,4 +58,4 @@
</div>
</body>

</html>
</html>
4 changes: 2 additions & 2 deletions services/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<body class="bg-[#296236]">
<!-- Bitte nicht hauen Zoey, Danke -->
<script>
if(document.cookie == "david=true") {
if (document.cookie == "david=true") {
document.body.style.backgroundColor = "#ffffff";
}
</script>
Expand Down Expand Up @@ -58,4 +58,4 @@
</div>
</body>

</html>
</html>

0 comments on commit 19b0b23

Please sign in to comment.