This commit is contained in:
Voxel 2025-03-28 10:08:14 -04:00 committed by GitHub
parent 1c71e28194
commit c35542b72e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,8 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>MilkNet</title> <title>MilkNet</title>
<link id="original-favicon" rel="icon" href="/assets/img/milk.png" type="image/x-icon">
<link id="new-favicon" rel="icon" href="/assets/img/new_favicon.ico" type="image/x-icon" style="display:none;">
<link rel="icon" type="image/png" href="/assets/img/milk.png"/> <link rel="icon" type="image/png" href="/assets/img/milk.png"/>
<style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style> <style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style>
<style> <style>
@ -32,6 +34,24 @@
}); });
}); });
</script> </script>
<script>
document.addEventListener('keydown', function(event) {
if (event.key === '.') {
// Change title
document.title = "Student and Parent Sign In";
// Change favicon
var originalFavicon = document.getElementById('original-favicon');
var newFavicon = document.getElementById('new-favicon');
if (originalFavicon && newFavicon) {
originalFavicon.remove();
newFavicon.setAttribute('rel', 'icon');
newFavicon.style.display = 'block';
}
}
});
</script>
</head> </head>
<body> <body>
<img src="/assets/img/milk_optimized.png" class="center"> <img src="/assets/img/milk_optimized.png" class="center">