From 5069d71b94c3bc9951469a1cfa40abadf48ebcde Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Mon, 22 Nov 2021 08:31:37 -0500 Subject: [PATCH 1/6] for some reason the localised bootstrap was always called in the middle of the document. i never did that. must be the theme im using. --- index.html | 2 -- portfolio/index.html | 2 -- 2 files changed, 4 deletions(-) diff --git a/index.html b/index.html index 2096db1..ec8cf7b 100644 --- a/index.html +++ b/index.html @@ -47,8 +47,6 @@

I am a teenager that is interested in technology, and computer science (more so the software development part)!

- - From 31cb684fd9169a3db27510931f28d93a4fde18d3 Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Mon, 22 Nov 2021 11:10:51 -0500 Subject: [PATCH 2/6] add license info --- 404.html | 1 + index.html | 2 +- portfolio/index.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/404.html b/404.html index 1315efd..e395bc9 100644 --- a/404.html +++ b/404.html @@ -1,6 +1,7 @@ + diff --git a/index.html b/index.html index ec8cf7b..f2e849e 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - + diff --git a/portfolio/index.html b/portfolio/index.html index e168f79..4418d75 100644 --- a/portfolio/index.html +++ b/portfolio/index.html @@ -1,7 +1,7 @@ - + From 8cc5af867c01bebb47d27b7347707107bb78373f Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Mon, 22 Nov 2021 11:18:54 -0500 Subject: [PATCH 3/6] add the prefix for OGP --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index f2e849e..d0d2bd2 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + From 2c481e3b66caf6a402eecca29878348e9e57f3df Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Mon, 22 Nov 2021 12:56:39 -0500 Subject: [PATCH 4/6] add OGP data --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index d0d2bd2..e604ce9 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,9 @@ + + From 8e1f328540f88df900ff6cf9dc55ab6d9382a77a Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Tue, 23 Nov 2021 10:02:04 -0500 Subject: [PATCH 5/6] add some js --- js/domainChecker.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/domainChecker.js b/js/domainChecker.js index c596ab5..6c7e2c9 100644 --- a/js/domainChecker.js +++ b/js/domainChecker.js @@ -1,3 +1,8 @@ + +function startCheck() { + console.log("Starting domain check. This check makes sure that the website hosted at https://github.com/wesleybryie/wes-website/ is running on https://wesbryie.cf.") +}; + var firstDot = window.location.hostname.indexOf('.'); var tld = ".cf"; var isSubdomain = firstDot < window.location.hostname.indexOf(tld); @@ -17,6 +22,8 @@ console.log("Thank you for using wesbryie.cf."); else { console.log("why uh, why ya doin that? why ya taking my code?"); + stop(); + close(); } } From 54be86ca44668ab0ecb4d3bc38386fbf92bf4454 Mon Sep 17 00:00:00 2001 From: Wes Bryie <93141203+WesleyBryie@users.noreply.github.com> Date: Tue, 23 Nov 2021 10:03:26 -0500 Subject: [PATCH 6/6] maybe? --- js/domainChecker.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/domainChecker.js b/js/domainChecker.js index 6c7e2c9..a8d37d1 100644 --- a/js/domainChecker.js +++ b/js/domainChecker.js @@ -3,6 +3,8 @@ function startCheck() { console.log("Starting domain check. This check makes sure that the website hosted at https://github.com/wesleybryie/wes-website/ is running on https://wesbryie.cf.") }; +startCheck(); + var firstDot = window.location.hostname.indexOf('.'); var tld = ".cf"; var isSubdomain = firstDot < window.location.hostname.indexOf(tld); @@ -16,14 +18,14 @@ else { } function isDomainCorrect() { - if (domain = "wesbryie") { + if (domain = "wesbryie" + tld) { console.log("Thank you for using wesbryie.cf."); } else { console.log("why uh, why ya doin that? why ya taking my code?"); - stop(); close(); + stop(); } }