Skip to content

Commit

Permalink
More fun ofc ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnminh1411 committed Aug 1, 2024
1 parent c97287c commit 0b29a32
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 20 deletions.
Binary file removed bg.png
Binary file not shown.
13 changes: 13 additions & 0 deletions contacts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact me</title>
</head>
<body>
You expected me to have completed this?
</body>
</html>

<!-- Nothing yet, will add more in the next 5 days (Posibly 10 times that idk;;)-->
13 changes: 8 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ <h1>
onMouseOut="this.style.opacity='.8'"><i class="bi bi-facebook contactitem"></i></a></div>
</section>
</header>
<a href=https://youtu.be/p7YXXieghto target=_blank style=cursor:not-allowed>
<div class=factcontainer>Did you know: <div id=fact>This page isn't working correctly?
<a onclick="rickroll()" title=";)">
<div class="factcontainer desktop-display">Did you know: <div id="fact">This page isn't working correctly?
Check your internet and refresh!</div>
</div>
<img src="smth_cute.png" id="sleeper" title="You're not allowed to wake him up!">
</a>
<main>
<div class=aboutmesection>
Expand Down Expand Up @@ -176,9 +177,11 @@ <h3 data-aos="fade-in">Some stats:</h3>
<a href="https://github.com/lnminh1411/" class="copyright">
<footertext>NMinh © 2024 | All Rights Reserved</footertext>
</a>
<a href="https://github.com/lnminh1411/lnminh1411.github.io" class="sourcecode">
<sourcecode>View Source Code Of this page</sourcecode>
</a>
<div class="desktop-display">
<a href="https://github.com/lnminh1411/lnminh1411.github.io" class="sourcecode">
<sourcecode>View Source Code Of this page</sourcecode>
</a>
</div>

</footer>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
Expand Down
23 changes: 13 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ $(window).on("scroll", function () {
$(".factcontainer").css("opacity", `${factopac}`);
});

function rickroll() {
window.open("https://youtu.be/p7YXXieghto", '_blank');
}

setInterval(function () {
const d = spacetime.now("UTC+7");
const client = spacetime.now();
Expand Down Expand Up @@ -189,14 +193,12 @@ async function loadfacts() {
$("#fact").text(factsjs.facts[random].fact);
}

const txtarr = [
"A professional in Undefined",
const txtarr = [
"Creating solution for absolutely nothing",
"Nothing make sense",
"Technically good!",
"≈70% bug free!",
"Tell your friends about this.",
"ReferenceError: header.txt Undefined",
"Tell your friends about this.",
"Nice to meet you!",
"√-1 love you!",
"12345678 is a bad password!",
Expand All @@ -205,7 +207,7 @@ const txtarr = [
"!false is actually true!",
"It's not a bug, it's a feature!",
"If it works, it works.",
'print("Hello World!")',
'helloworld("print")',
"Created with 1372 lines of code!",
'Playing hide and seek with a ";"',
"How is this working!?",
Expand All @@ -215,11 +217,12 @@ const txtarr = [
"What a pain!",
"Mobile friendly!",
"Perfectly balanced!",
"EMOTIONAL DAMAGE!",
"It's either !No or Yes",
"15% coding, 75% debugging, 10% staring into the abyss.",
"Built with galvanized square steel!",
"Built with eco-friendly wood veneer!",
"EMOTIONAL DAMAGE!",
"Reinforced with galvanized square steel!",
"\(〇_o)/",
"(づ ̄3 ̄)づ╭❤️~",
"¯\_(ツ)_/¯",
"5!=120"
];
$("#titletxt").text(txtarr[Math.floor(Math.random() * txtarr.length)]);
if (window.innerHeight > 1232 && window.innerHeight > window.innerWidth) {
Expand Down
Binary file added smth_cute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ main {
.upleft,
.upright {
position: absolute;
text-align: center;
text-align: center;
-webkit-animation: 4s headerAnimate2;
animation: 4s headerAnimate2;
}
Expand All @@ -276,13 +276,13 @@ main {
grid-template-rows: auto auto;
gap: 5px;
max-width: 60vw;
max-height: 267px;
max-height: 267px;
font-size: larger;
}

@media (max-width: 1490px) {
.upleft {
font-size: x-large
font-size: x-large;
}
}

Expand Down Expand Up @@ -423,7 +423,7 @@ main {
grid-area: 2/2/3/3;
display: block;
overflow: hidden;
white-space: nowrap;
white-space: nowrap;
min-width: 0;
max-width: 410px;
}
Expand Down Expand Up @@ -553,6 +553,8 @@ h3 {
margin-right: 12px;
margin-left: 6px;
bottom: 2px;
max-width: 50%;
cursor: pointer;
}

.mobile-display {
Expand Down Expand Up @@ -675,7 +677,7 @@ footer a.copyright {
}

footer a.sourcecode {
right: 12px;
right: 115px;
}

#bg {
Expand Down Expand Up @@ -747,3 +749,12 @@ footer a.sourcecode {
-webkit-animation: zoom 20s alternate infinite;
animation: zoom 20s alternate infinite;
}

#sleeper {
width: 100px;
height: 56px;
position: fixed;
bottom: 0;
right: 12px;
cursor: not-allowed;
}

0 comments on commit 0b29a32

Please sign in to comment.