forked from 0xFloyd/Portfolio_2020
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
export let preloadDivs = document.getElementsByClassName("preload"); | ||
export let preloadOpacity = document.getElementsByClassName("preload-overlay"); | ||
export let postloadDivs = document.getElementsByClassName("postload"); | ||
export let startScreenDivs = document.getElementsByClassName("start-screen"); | ||
export let startButton = document.getElementById("start-button"); | ||
export let fadeOutDivs = document.getElementsByClassName("fadeOutDiv"); | ||
export let preloadDivs = document.getElementsByClassName('preload'); | ||
export let preloadOpacity = document.getElementsByClassName('preload-overlay'); | ||
export let postloadDivs = document.getElementsByClassName('postload'); | ||
export let startScreenDivs = document.getElementsByClassName('start-screen'); | ||
export let startButton = document.getElementById('start-button'); | ||
export let fadeOutDivs = document.getElementsByClassName('fadeOutDiv'); | ||
|
||
export function noWebGL() { | ||
for (let i = 0; i < preloadDivs.length; i++) { | ||
preloadDivs[i].style.visibility = "hidden"; // or | ||
preloadDivs[i].style.display = "none"; | ||
preloadDivs[i].style.visibility = 'hidden'; // or | ||
preloadDivs[i].style.display = 'none'; | ||
} | ||
for (let i = 0; i < postloadDivs.length; i++) { | ||
// or | ||
postloadDivs[i].style.display = "none"; | ||
postloadDivs[i].style.display = 'none'; | ||
} | ||
for (let i = 0; i < preloadOpacity.length; i++) { | ||
// or | ||
preloadOpacity[i].style.display = "none"; | ||
preloadOpacity[i].style.display = 'none'; | ||
} | ||
//document.getElementById("preload-overlay").style.display = "none"; | ||
var warning = WEBGL.getWebGLErrorMessage(); | ||
var a = document.createElement("a"); | ||
var linkText = document.createTextNode("Click here to visit my static site"); | ||
var a = document.createElement('a'); | ||
var linkText = document.createTextNode('Click here to visit my static site'); | ||
a.appendChild(linkText); | ||
a.title = "Static Site"; | ||
a.href = "https://ryanfloyd.io"; | ||
a.style.margin = "0px auto"; | ||
a.style.textAlign = "center"; | ||
document.getElementById("WEBGLcontainer").appendChild(warning); | ||
document.getElementById("WEBGLcontainer").appendChild(a); | ||
a.title = 'Static Site'; | ||
a.href = 'https://github.com/0xFloyd/Portfolio_2020'; | ||
a.style.margin = '0px auto'; | ||
a.style.textAlign = 'center'; | ||
document.getElementById('WEBGLcontainer').appendChild(warning); | ||
document.getElementById('WEBGLcontainer').appendChild(a); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,12 +37,10 @@ SVG.reactLogo = '../src/jsm/react-svg.svg'; | |
//URLs | ||
let URL = {}; | ||
URL.terpsolutions = 'https://web.archive.org/web/20200302001846/https://terpsolutions.com/'; | ||
URL.ryanfloyd = 'https://ryanfloyd.io'; | ||
URL.bagholderBets = 'https://bagholder-bets.herokuapp.com'; | ||
URL.homeSweetHomeURL = 'https://github.com/0xFloyd/home-sweet-127.0.0.1'; | ||
URL.gitHub = 'https://github.com/0xFloyd/Portfolio_2020'; | ||
URL.twitter = 'https://twitter.com/0xFloyd'; | ||
URL.LinkedIn = 'https://www.linkedin.com/in/ryan-floyd/'; | ||
URL.email = 'https://mailto:[email protected]'; | ||
URL.githubBagholder = 'https://github.com/0xFloyd/bagholder-bets'; | ||
URL.githubHomeSweetHome = 'https://github.com/0xFloyd/home-sweet-127.0.0.1'; | ||
|