Compare commits

...

11 commits
origin ... dev

Author SHA1 Message Date
1c7cb0ca13 Remove FAQ 2024-09-15 13:58:20 -05:00
636e38ebad More quotes 2024-09-15 02:43:17 -05:00
684a45811a revert c6b2f65171
revert Highlight rewrite
2024-09-13 10:42:32 -05:00
05ff2f0fa6 revert f4e63d6a5f
revert Fix links kinda
2024-09-13 10:42:24 -05:00
f4e63d6a5f Fix links kinda 2024-09-11 15:41:57 -05:00
c6b2f65171 Highlight rewrite 2024-09-11 15:08:42 -05:00
6f2b40d75a Remove parenthesis highlighting 2024-09-10 00:34:20 -05:00
b76b32aa51 Add blog to the topbar 2024-09-10 00:29:03 -05:00
5616d813e0 Remove highlighting from main blog page 2024-09-10 00:18:13 -05:00
eb9797ca50 More quotes 2024-09-07 11:54:09 -05:00
dfabc98e29 New quote, remove /ref from old quotes 2024-09-03 09:29:20 -05:00
4 changed files with 25 additions and 18 deletions

View file

@ -27,15 +27,24 @@
"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???",
"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...",
"Louis do NOT make a server side renderer. Worst mistake of my life.",
"Univerter Supremacy",
"Violet's Limbo update soon... I swear...",
"Univerter update: Coming. someday. some year. :)",
"I love this font, but emoticons have never looked worse... :( </3",
"<a href='https://youtu.be/O3AlP6FtPw4?t=3'>IT'S 2015!!!</a> /ref",
"<a href='https://youtu.be/O3AlP6FtPw4?t=620'>I'm throwin SNOWBALLS atcha...</a> /ref"
"IT'S 2015!!!",
"Can't believe we got Javascript on Violet's Purgatory before GTA6",
"Vocal percussion on a whole nother level, coming from my mind",
"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 testing it because I have to gamble",
"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!"
],
"titles": [
"World's Worst Developer"

View file

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

View file

@ -25,7 +25,7 @@
<main>
<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>
<div class="mainDiv">
<div class="mainDiv noHighlight">
<hr>
{BLOG_POSTS}
</div>

View file

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