-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated some stuff, Added default font and extra
- Loading branch information
tay
committed
Oct 15, 2024
1 parent
fa006b8
commit e44432d
Showing
5 changed files
with
281 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<link rel="stylesheet" href="/assets/css/about/style.css" /> | ||
<script src="/assets/js/about.js" defer></script> | ||
<main> | ||
<div class="about"> | ||
<div class="overlay" id="overlay"> | ||
<button id="enterButton" class="enter-button">Click to Continue To About</button> | ||
</div> | ||
<div id="content" style="display: none;"> | ||
<div class="content"> | ||
<div class="bgbox"> | ||
<h1>Hiya, Call me Tee!</h1> | ||
<iframe | ||
width="570" | ||
height="212" | ||
src="https://lanyard.cnrad.dev/api/1050531216589332581" | ||
frameborder="0" | ||
allowfullscreen="false" | ||
style="margin-left: 0px" | ||
></iframe> | ||
<div id="images"> | ||
<a href="https://discord.gg/gjypyNkPPp" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/haven.png" | ||
class="social-logo" | ||
alt="Haven Community" | ||
/> | ||
</a> | ||
<a href="https://discord.com/users/1050531216589332581" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/discord.png" | ||
class="social-logo" | ||
alt="Discord" | ||
/> | ||
</a> | ||
<a href="https://github.com/tayrp" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/github.png" | ||
class="social-logo" | ||
alt="Github" | ||
/> | ||
</a> | ||
<a href="https://www.last.fm/user/MystixMew" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/lastfm.png" | ||
class="social-logo" | ||
alt="Last.fm" | ||
/> | ||
</a> | ||
<a href="https://www.youtube.com/@MystixMew" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/youtube.png" | ||
class="social-logo" | ||
alt="YouTube" | ||
/> | ||
</a> | ||
<a href="https://namemc.com/profile/MystixMew.1" target="_blank"> | ||
<img | ||
src="/assets/imgs/socials/namemc.png" | ||
class="social-logo" | ||
alt="NameMC" | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
<video muted autoplay loop id="aboutvideo"> | ||
<source | ||
src="https://index.havenmc.org/website/assets/mp4/fightsong.mp4" | ||
type="video/mp4" | ||
/> | ||
This browser does not support HTML5 video or the server is offline. | ||
</video> | ||
|
||
<label for="volumeControl">Volume:</label> | ||
<input | ||
type="range" | ||
id="volumeControl" | ||
min="0" | ||
max="1" | ||
step="0.01" | ||
value="0.25" | ||
/> | ||
<span id="volumePercentage">1%</span> | ||
<a | ||
class="btn btn-link-3" | ||
id="aboutpauseBtn" | ||
onclick="togglePause()" | ||
style=" | ||
font-size: 27px; | ||
padding: 0; | ||
color: #a81cbe; | ||
width: 30px; | ||
height: 30px; | ||
line-height: 27px; | ||
display: inline-block; | ||
text-align: center; | ||
position: relative; | ||
top: -2px; | ||
" | ||
>⏯</a> | ||
</div> | ||
</div> | ||
</div> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<button class="font-toggle-button" onclick="toggleFont()">Switch to Vujahday</button> | ||
|
||
<script> | ||
document.addEventListener('DOMContentLoaded', function () { | ||
// Check for stored font preference and apply it | ||
if (localStorage.getItem('font') === 'vujahday') { | ||
document.body.classList.add('custom-font'); | ||
} | ||
}); | ||
|
||
function toggleFont() { | ||
// Toggle the font class | ||
document.body.classList.toggle('custom-font'); | ||
|
||
// Update localStorage based on the current font state | ||
if (document.body.classList.contains('custom-font')) { | ||
localStorage.setItem('font', 'vujahday'); | ||
} else { | ||
localStorage.removeItem('font'); // Reset to default | ||
} | ||
} | ||
</script> |
Oops, something went wrong.