Compare commits

..

No commits in common. "36e771a57cc062975eab0dfb6a68de6201cc846d" and "918af91dc5d9b828b92f5c6b5179f65925682ba0" have entirely different histories.

5 changed files with 21 additions and 28 deletions

View file

@ -27,25 +27,15 @@
"Can you even call this highlighting anymore it does like 300 other things now", "Can you even call this highlighting anymore it does like 300 other things now",
"If you dont convert your HTML to JSON and then back to HTML did you even really make a Server-Side renderer???", "If you dont convert your HTML to JSON and then back to HTML did you even really make a Server-Side renderer???",
"I finally know what SSR means. Yeah that. I made one of those (I think).", "I finally know what SSR means. Yeah that. I made one of those (I think).",
"The optimization update: coming out in January 2068!", "The optimization update coming out in January 2068!",
"Now with... <em>bleh...</em> JQuery...", "Now with... <em>bleh...</em> JQuery...",
"Louis do NOT make a server side renderer. Worst mistake of my life.", "Louis do NOT make a server side renderer. Worst mistake of my life.",
"Univerter Supremacy", "Univerter Supremacy",
"Violet's Limbo update soon... I swear...",
"Univerter update: Coming. someday. some year. :)", "Univerter update: Coming. someday. some year. :)",
"IT'S 2015!!!", "I love this font, but emoticons have never looked worse... :( </3",
"Can't believe we got Javascript on Violet's Purgatory before GTA6", "<a href='https://youtu.be/O3AlP6FtPw4?t=3'>IT'S 2015!!!</a> /ref",
"Vocal percussion on a whole nother level, coming from my mind", "<a href='https://youtu.be/O3AlP6FtPw4?t=620'>I'm throwin SNOWBALLS atcha...</a> /ref"
"Rock and stone!",
"ENOUGH about the mushrooms! We all know it's a mushroom! We get it!",
"Yes, yes, we're rich. Time to get a move on, I got management breathing down my neck here!",
"STOP IT! NOW!",
"Five. Hundred. Cigarettes.",
"If I describe this website's server code to a employer they'd be impressed, but then if I showed it to them I'd be put on a blacklist",
"I am placing blocks and shit cuz im in fucking Minecraft!!",
"I hope you know every time I add a new quote I have a stroke making sure it shows up right because I have to gamble continously to get it to show up",
"Fun fact: The opening animation was the first thing I made in this rewrite. It has been 99% unchanged.",
"The background during the opening animation looks very wrong on Chromium, but its fine on Firefox... oops!",
"Getting donations? As a minor? I'll keep dreaming..."
], ],
"titles": [ "titles": [
"World's Worst Developer" "World's Worst Developer"
@ -370,7 +360,8 @@
"words": [ "words": [
"Arch" "Arch"
], ],
"color": "rgb(0, 255, 255)" "color": "rgb(0, 255, 255)",
"caseInsensitive": true
}, },
{ {
"words": [ "words": [

View file

@ -162,14 +162,14 @@ function highlighter(json, full = true, linkParent = false) {
var startContent = element.content.substring(spanStart - 1, termIndex) var startContent = element.content.substring(spanStart - 1, termIndex)
var endContent = element.content.substring(termIndex + termKey.length, spanEnd) var endContent = element.content.substring(termIndex + termKey.length, spanEnd)
// if (startContent.includes("(") && !endContent.includes(")")) { if (startContent.includes("(") && !endContent.includes(")")) {
// spanEnd = element.content.indexOf(")", spanStart) + 1 spanEnd = element.content.indexOf(")", spanStart) + 1
// endContent = element.content.substring(termIndex + termKey.length, spanEnd) endContent = element.content.substring(termIndex + termKey.length, spanEnd)
// } }
// else if (endContent.includes(")") && !startContent.includes("(")) { else if (endContent.includes(")") && !startContent.includes("(")) {
// spanStart = element.content.substring(0, spanStart).lastIndexOf("(") spanStart = element.content.substring(0, spanStart).lastIndexOf("(")
// startContent = element.content.substring(spanStart - 1, termIndex) startContent = element.content.substring(spanStart - 1, termIndex)
// } }
var style = termProps.style || "" var style = termProps.style || ""
var classes = termProps.classes || "" var classes = termProps.classes || ""
@ -265,8 +265,7 @@ function converter(html, dynamic = true) {
<h3><a class="chip" href="/">Home</a> <h3><a class="chip" href="/">Home</a>
<a class="chip" href="/socials">Socials</a> <a class="chip" href="/socials">Socials</a>
<a class="chip" href="/stats">Stats</a> <a class="chip" href="/stats">Stats</a>
<a class="chip" href="/faq">Nerd FAQ</a> <a class="chip" href="/faq">Nerd FAQ</a></h3>
<a class="chip" href="/blog">Blog</a></h3>
</div>`, </div>`,
"CUSTOM_STATUS": () => { "CUSTOM_STATUS": () => {
if (api.lanyard.custom_status) { if (api.lanyard.custom_status) {

View file

@ -25,7 +25,7 @@
<main> <main>
<h1>Blog</h1> <h1>Blog</h1>
<p>Welcome to my blog! Where I go on nonsensical rants about uninteresting and unimportant topics. The blog just went through a MAJOR rewrite, so expect bugs!</p> <p>Welcome to my blog! Where I go on nonsensical rants about uninteresting and unimportant topics. The blog just went through a MAJOR rewrite, so expect bugs!</p>
<div class="mainDiv noHighlight"> <div class="mainDiv">
<hr> <hr>
{BLOG_POSTS} {BLOG_POSTS}
</div> </div>

View file

@ -86,6 +86,9 @@
<h1>Socials</h1> <h1>Socials</h1>
{PATH_SOCIALS} {PATH_SOCIALS}
<br> <br>
<h1><hr>FAQ</h1>
<a href="faq/">See the full FAQ here!</a>
{PATH_FAQ}
{SELECTED_VIDEO} {SELECTED_VIDEO}

View file

@ -131,7 +131,7 @@ function spinLoop() {
function secondLoop() { function secondLoop() {
$(".durationBarFormatter").each((_, item) => { $(".durationBarFormatter").each((_, item) => {
item = $(item) item = $(item)
item.text(`${timeFormatter((Math.min(Date.now(), item.attr("data-end")) - item.attr("data-start")))}/${timeFormatter((item.attr("data-end") - item.attr("data-start")))}`) item.text(`${timeFormatter((Date.now() - item.attr("data-start")))}/${timeFormatter((item.attr("data-end") - item.attr("data-start")))}`)
}) })
$(".timeEstimate").each((_, item) => { $(".timeEstimate").each((_, item) => {