Merge pull request #16 from WesleyBryie:new-site

ads on pay-me
This commit is contained in:
Wes Bryie 2021-11-27 13:06:01 -05:00 committed by GitHub
commit 34ffde2c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 8 deletions

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

View File

@ -1,7 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en" prefix="og: https://ogp.me/ns#">
<head> <head>
<!-- Copyright *my code only, anything that is not my code is published and copyrighted by their respective owners* Wesley Bryie, 2021.--> <meta property="og:title" content="Wes Bryie's Site" />
<meta property="og:description"
content="This website holds information about me." />
<!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" /> <meta name="description" content="" />
@ -47,8 +50,6 @@
<p>I am a teenager that is interested in technology, and computer science (more so the software development part)!</p> <p>I am a teenager that is interested in technology, and computer science (more so the software development part)!</p>
</div> </div>
</div> </div>
<!-- Bootstrap core JS-->
<script src="js/bootstrap.bundle.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics --> <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HTWD2BNXJ6"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-HTWD2BNXJ6"></script>
<script> <script>

View File

@ -1,3 +1,10 @@
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 firstDot = window.location.hostname.indexOf('.');
var tld = ".cf"; var tld = ".cf";
var isSubdomain = firstDot < window.location.hostname.indexOf(tld); var isSubdomain = firstDot < window.location.hostname.indexOf(tld);
@ -11,12 +18,14 @@ else {
} }
function isDomainCorrect() { function isDomainCorrect() {
if (domain = "wesbryie") { if (domain = "wesbryie" + tld) {
console.log("Thank you for using wesbryie.cf."); console.log("Thank you for using wesbryie.cf.");
} }
else { else {
console.log("why uh, why ya doin that? why ya taking my code?"); console.log("why uh, why ya doin that? why ya taking my code?");
close();
stop();
} }
} }

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- Copyright *my code only, not the bootstrap parts* Wesley Bryie, 2021.--> <!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" /> <meta name="description" content="" />
@ -53,8 +53,6 @@
</details> </details>
</div> </div>
</div> </div>
<!-- Bootstrap core JS-->
<script src="js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS--> <!-- Core theme JS-->
<script src="js/scripts.js"></script> <script src="js/scripts.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics --> <!-- Global site tag (gtag.js) - Google Analytics -->