From 2e0e29a4f827b6ced3a2031651c8e95c8f8d0435 Mon Sep 17 00:00:00 2001 From: len0rd Date: Fri, 3 Aug 2018 19:13:11 -0400 Subject: [PATCH] fixed md conversion. not a race condition, im just stupid. also fixed flex-container that was larger than viewport --- prestart.js | 2 +- views/pages/index.ejs | 83 ++++++++++++++++++++---------------------- views/partials/nav.ejs | 2 +- 3 files changed, 42 insertions(+), 45 deletions(-) diff --git a/prestart.js b/prestart.js index c8ae2b3..5f6f074 100644 --- a/prestart.js +++ b/prestart.js @@ -28,7 +28,7 @@ const addClass = { console.log(matcher[0]); var restOfTag = matcher[1]; - modifiedText.replace(matcher[0], `<${key} class="${classMap[key]}" ${restOfTag}>`); + modifiedText = modifiedText.replace(matcher[0], `<${key} class="${classMap[key]}" ${restOfTag}>`); matcher = regex.exec(modifiedText); } diff --git a/views/pages/index.ejs b/views/pages/index.ejs index 13a642c..23165c8 100644 --- a/views/pages/index.ejs +++ b/views/pages/index.ejs @@ -23,57 +23,54 @@ -
-
-
-
-
- > -
-
- I'm an American Computer Engineering student with diverse industry experience. From large commercial Java projects to low-level C firmware development, I've done a little bit of everything (except web development as will be evident with this website). Such experience allows me to understand and solve new problems quickly. My hobbies are just as eclectic as my professional experience. This website showcases many of my personal projects. -
+
+
+
+
+ > +
+
+ I'm an American Computer Engineering student with diverse industry experience. From large commercial Java projects to low-level C firmware development, I've done a little bit of everything (except web development as will be evident with this website). Such experience allows me to understand and solve new problems quickly. My hobbies are just as eclectic as my professional experience. This website showcases many of my personal projects.
-
-
-
-
-
-
Yama Crawler
-
Selenium-Based Web Crawler
-

Yama is a powerful developer-friendly web crawler/scraper built with Selenium and Java. Built from the ground up by yours truly.

-
- +
+
+
+
+
Yama Crawler
+
Selenium-Based Web Crawler
+

Yama is a powerful developer-friendly web crawler/scraper built with Selenium and Java. Built from the ground up by yours truly.

-
-
-
Repley
-
The Tomcat - ChartJS crossover nobody asked for
-

If you only have a hammer, everything looks like a nail. Repley combines Apache Tomcat and ChartJS to make dynamic database chart generation as easy as editing a JSON file.

-
- + -
-
-
Darkstar
-
Why buy a quad when you can build it
-

Tbh, idk what other project to put here, we'll have to figure it our later

-
- +
+
+
+
Repley
+
The Tomcat - ChartJS crossover nobody asked for
+

If you only have a hammer, everything looks like a nail. Repley combines Apache Tomcat and ChartJS to make dynamic database chart generation as easy as editing a JSON file.

+
+ +
+
+
+
Darkstar
+
Why buy a quad when you can build it
+

Tbh, idk what other project to put here, we'll have to figure it our later

+
+
+
diff --git a/views/partials/nav.ejs b/views/partials/nav.ejs index e8c989b..9246944 100644 --- a/views/partials/nav.ejs +++ b/views/partials/nav.ejs @@ -1,5 +1,5 @@