Added credits
This commit is contained in:
parent
40da75ff84
commit
d218687154
4 changed files with 41 additions and 8 deletions
30
index.html
30
index.html
|
@ -56,18 +56,34 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</br>
|
</br>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Reach out!</legend>
|
||||||
|
<ul style="margin-top: 5px; margin-bottom: 5px; padding-left: 20px;">
|
||||||
|
<li>Discord: @nin0.dev</li>
|
||||||
|
<li>Email: <a href="mailto:support@nin0dev.com">support@nin0dev.com</a></li>
|
||||||
|
<li>Telegram: <a href="https://t.me/nin0dev">@nin0dev</a></li>
|
||||||
|
<li>GitHub: <a href="https://github.com/nin0-dev">nin0-dev</a></li>
|
||||||
|
</ul>
|
||||||
|
</fieldset>
|
||||||
|
<span id="credits" style="display: none;">
|
||||||
|
<br/>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Reach out!</legend>
|
<legend>Credits</legend>
|
||||||
<ul style="margin-top: 5px; margin-bottom: 5px; padding-left: 20px;">
|
<ul style="margin-top: 5px; margin-bottom: 5px; padding-left: 20px;">
|
||||||
<li>Discord: @nin0.dev</li>
|
<li>UI library: <a href="https://jdan.github.io/98.css/">98.css by jdan</a></li>
|
||||||
<li>Email: <a href="mailto:support@nin0dev.com">support@nin0dev.com</a></li>
|
<li>Presence/status API: <a href="https://discord.gg/lanyard">Lanyard</a></li>
|
||||||
<li>Telegram: <a href="https://t.me/nin0dev">@nin0dev</a></li>
|
<li>Icons: <a href="https://win98icons.alexmeub.com/">official Windows 98 icons</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div id="bottom-actions" style="margin-top: 13px;">
|
||||||
|
<button onclick="showCredits()" id="credits-button">Credits</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/lanyard-wrapper/dist/index.browser.js"></script>
|
</div>
|
||||||
<script src="index.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/lanyard-wrapper/dist/index.browser.js"></script>
|
||||||
|
<script src="index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
4
index.js
4
index.js
|
@ -50,3 +50,7 @@ LanyardWrapper.connectWebSocket("886685857560539176", onUpdate)
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
});
|
});
|
||||||
|
function showCredits() {
|
||||||
|
document.getElementById("credits").style.display = "block"
|
||||||
|
document.getElementById("credits-button").style.display = "none"
|
||||||
|
}
|
BIN
music.png
BIN
music.png
Binary file not shown.
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 557 B |
15
style.css
15
style.css
|
@ -63,4 +63,17 @@ li {
|
||||||
}
|
}
|
||||||
#presence {
|
#presence {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
#bottom-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: end;
|
||||||
|
justify-content: right;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
background-color: #404040;
|
||||||
|
color: white;
|
||||||
|
box-shadow: inset -1px -1px #000000, inset 1px 1px #202020, inset -2px -2px grey, inset 2px 2px #404040;
|
||||||
|
}
|
||||||
|
button:active {
|
||||||
|
box-shadow: inset -1px -1px #404040, inset 1px 1px #111111, inset -2px -2px #000000, inset 2px 2px #000000 !important;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue