Skip to content

Commit

Permalink
update to heroku 22
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFloyd committed Aug 23, 2022
1 parent 04adcf8 commit 1979593
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<link rel="alternate" type="application/json+oembed" href="%PUBLIC_URL%/website-screenshot.png"/>
<meta property="og:title" content="Portfolio 2020" />
<meta property="og:description" content="Portfolio 2020"/>
<meta property="og:url" content="www.ryan-floyd.com" />
<meta name="image" property="og:image" content="https://ryanfloyd-dev.herokuapp.com/website-screenshot.png"/>
<meta property="og:url" content="www.0xfloyd.com" />
<meta name="image" property="og:image" content="https://www.0xfloyd.com/website-screenshot.png"/>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
36 changes: 18 additions & 18 deletions src/resources/preload.js
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);
}
2 changes: 0 additions & 2 deletions src/resources/textures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 1979593

Please sign in to comment.