mirror of
https://github.com/JonasunderscoreJones/jonasjones.dev.git
synced 2025-10-23 17:09:19 +02:00
code refactor
This commit is contained in:
parent
c10e75ac36
commit
d63ed25e1a
13 changed files with 386 additions and 405 deletions
|
@ -1,9 +1,8 @@
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>Website by Jonas_Jones 2021 - 2023</p>
|
<p>Website by Jonas_Jones 2021 - 2023</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
<p id="lastfm_artist"></p>
|
<p id="lastfm_artist"></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="navigation-menu {showMenu ? 'show' : ''}">
|
<div class="navigation-menu {showMenu ? 'show' : ''}">
|
||||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
<div class="hamburger-menu close-button {showMenu ? 'open' : ''}" on:click={toggleMenu}>
|
<div class="hamburger-menu close-button {showMenu ? 'open' : ''}" on:click={toggleMenu}>
|
||||||
|
@ -49,9 +47,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="unsupported"><TooSmallDimsOverlay /></div>
|
<div class="unsupported">
|
||||||
|
<TooSmallDimsOverlay />
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
let showMenu = false;
|
let showMenu = false;
|
||||||
|
@ -127,7 +125,6 @@
|
||||||
setInterval(fetchLastFmData, 15000);
|
setInterval(fetchLastFmData, 15000);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.hamburger-menu {
|
.hamburger-menu {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
<div class="notice">
|
<div class="notice">
|
||||||
<p>Your screen resolution isn't supported by this website. if You're on a computer, try zooming out or resizing the window.</p>
|
<p>Your screen resolution isn't supported by this website. if You're on a computer, try zooming out or resizing the window.</p>
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
const taeyong = document.querySelector('.taeyong');
|
const taeyong = document.querySelector('.taeyong');
|
||||||
taeyong.style.display = 'none';
|
taeyong.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ParallaxBg>
|
<ParallaxBg>
|
||||||
<NavBar />
|
<NavBar />
|
||||||
<Padding />
|
<Padding />
|
||||||
|
@ -40,10 +40,6 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<style>
|
|
||||||
@import '+page.css';
|
|
||||||
</style>
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</ParallaxBg>
|
</ParallaxBg>
|
||||||
<div class="taeyong">
|
<div class="taeyong">
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
<img src="/root_logo.webp" alt="My Picture" class="picture">
|
<img src="/root_logo.webp" alt="My Picture" class="picture">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="line">
|
<div class="line">
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,8 +39,3 @@
|
||||||
import ParallaxBg from '../components/ParallaxBg.svelte';
|
import ParallaxBg from '../components/ParallaxBg.svelte';
|
||||||
import Padding from '../components/padding.svelte';
|
import Padding from '../components/padding.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
|
||||||
@import '+page.css';
|
|
||||||
</style>
|
|
|
@ -23,7 +23,6 @@ import Padding from "../../components/padding.svelte";
|
||||||
TL;DR: I asked ChatGPT. <br>
|
TL;DR: I asked ChatGPT. <br>
|
||||||
Also, I like K-Pop.
|
Also, I like K-Pop.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h1>Greatest Acomplishment</h1>
|
<h1>Greatest Acomplishment</h1>
|
||||||
<p>A severity 7.5/10 rated CVE I received for a humble project of mine as the second ever CVE in Minecraft Modding history!</p>
|
<p>A severity 7.5/10 rated CVE I received for a humble project of mine as the second ever CVE in Minecraft Modding history!</p>
|
||||||
<a href="https://nvd.nist.gov/vuln/detail/CVE-2022-39221">CVE-2022-39221</a>
|
<a href="https://nvd.nist.gov/vuln/detail/CVE-2022-39221">CVE-2022-39221</a>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
import ParallaxBg from "../../components/ParallaxBg.svelte";
|
import ParallaxBg from "../../components/ParallaxBg.svelte";
|
||||||
import Padding from "../../components/padding.svelte";
|
import Padding from "../../components/padding.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ParallaxBg>
|
<ParallaxBg>
|
||||||
<NavBar />
|
<NavBar />
|
||||||
<title>For the Based</title>
|
<title>For the Based</title>
|
||||||
|
@ -19,13 +20,10 @@
|
||||||
<span class="terminal_user__dollar__text">$</span>
|
<span class="terminal_user__dollar__text">$</span>
|
||||||
<input title="terminal-input" type="text" id="terminal-input" autocomplete="off" spellcheck="false" autocapitalize="none" class="sc-ilhmMj iNZnsg" value="">
|
<input title="terminal-input" type="text" id="terminal-input" autocomplete="off" spellcheck="false" autocapitalize="none" class="sc-ilhmMj iNZnsg" value="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
</ParallaxBg>
|
</ParallaxBg>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import '+page.css';
|
@import '+page.css';
|
||||||
.terminal_user {
|
.terminal_user {
|
||||||
|
|
|
@ -7,7 +7,6 @@ import Footer from "../../components/Footer.svelte";
|
||||||
|
|
||||||
import projects from "./projects.json";
|
import projects from "./projects.json";
|
||||||
|
|
||||||
|
|
||||||
var searchResults = projects;
|
var searchResults = projects;
|
||||||
|
|
||||||
var searchtext = '';
|
var searchtext = '';
|
||||||
|
@ -46,7 +45,6 @@ function handleSearch() {
|
||||||
return text.includes(searchtext) && category.includes(searchcategory) && language.includes(searchlanguage) && status.includes(searchstatus);
|
return text.includes(searchtext) && category.includes(searchcategory) && language.includes(searchlanguage) && status.includes(searchstatus);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -221,7 +219,6 @@ function handleSearch() {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<FontAwesome />
|
<FontAwesome />
|
||||||
|
@ -326,7 +323,6 @@ function handleSearch() {
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Padding />
|
<Padding />
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
|
@ -4,6 +4,7 @@ import NavBar from "../../components/NavBar.svelte";
|
||||||
import ParallaxBg from "../../components/ParallaxBg.svelte";
|
import ParallaxBg from "../../components/ParallaxBg.svelte";
|
||||||
import Padding from "../../components/padding.svelte";
|
import Padding from "../../components/padding.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ParallaxBg>
|
<ParallaxBg>
|
||||||
<title>Status</title>
|
<title>Status</title>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue