Skip to content

Commit

Permalink
deploy: 5143d48
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Oct 13, 2024
1 parent be0366a commit 0a2795c
Show file tree
Hide file tree
Showing 319 changed files with 5,682 additions and 1,559 deletions.
29 changes: 29 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
RewriteEngine on
RewriteBase /

# Redirect www to non www
RewriteCond %{HTTP_HOST} ^www.adamgraham.github.io
RewriteRule (.*) http://adamgraham.github.io/$1 [R=301,L]

# Redirect http to https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^adamgraham.github.io
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
#Header always set Content-Security-Policy "upgrade-insecure-requests;"

# Remove trailing slashes
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Redirect all file requests to index.html (SPA)
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule (.*) index.html [QSA,L]

# Redirect directories
RewriteRule ^game/(.*)$ /games [R=301,L]
RewriteRule ^website/(.*)$ /websites [R=301,L]
RewriteRule ^presentation/(.*)$ /presentations [R=301,L]

# Redirect home on 404
ErrorDocument 404 /
Empty file added .nojekyll
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 1 addition & 17 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><meta name="generator" content="Gatsby 4.25.8"/><meta name="theme-color" content="#101214"/><link data-identity="gatsby-global-css" href="/styles.52c97e5feab75b2d3a76.css" rel="stylesheet" type="text/css"/><link rel="preconnect" href="https://www.google-analytics.com"/><link rel="dns-prefetch" href="https://www.google-analytics.com"/><link rel="icon" href="/favicon-32x32.png?v=4f22fd91141daea106a5dde543702c7b" type="image/png"/><link rel="manifest" href="/manifest.webmanifest" crossorigin="anonymous"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="sitemap" type="application/xml" href="/sitemap/sitemap-index.xml"/><style>.gatsby-image-wrapper{position:relative;overflow:hidden}.gatsby-image-wrapper picture.object-fit-polyfill{position:static!important}.gatsby-image-wrapper img{bottom:0;height:100%;left:0;margin:0;max-width:none;padding:0;position:absolute;right:0;top:0;width:100%;object-fit:cover}.gatsby-image-wrapper [data-main-image]{opacity:0;transform:translateZ(0);transition:opacity .25s linear;will-change:opacity}.gatsby-image-wrapper-constrained{display:inline-block;vertical-align:top}</style><noscript><style>.gatsby-image-wrapper noscript [data-main-image]{opacity:1!important}.gatsby-image-wrapper [data-placeholder-image]{opacity:0!important}</style></noscript><script type="module">const e="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;e&&document.body.addEventListener("load",(function(e){const t=e.target;if(void 0===t.dataset.mainImage)return;if(void 0===t.dataset.gatsbyImageSsr)return;let a=null,n=t;for(;null===a&&n;)void 0!==n.parentNode.dataset.gatsbyImageWrapper&&(a=n.parentNode),n=n.parentNode;const o=a.querySelector("[data-placeholder-image]"),r=new Image;r.src=t.currentSrc,r.decode().catch((()=>{})).then((()=>{t.style.opacity=1,o&&(o.style.opacity=0,o.style.transition="opacity 500ms linear")}))}),!0);</script><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="true"/><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&amp;38;display=swap" rel="stylesheet"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/></head><body><div id="___gatsby"><div style="outline:none" tabindex="-1" id="gatsby-focus-wrapper"></div><div id="gatsby-announcer" style="position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0" aria-live="assertive" aria-atomic="true"></div></div><script>


if(true) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
}
if (typeof ga === "function") {
ga('create', 'UA-61761892-1', 'auto', {});





}</script><div id="portal"></div><script id="gatsby-script-loader">/*<![CDATA[*/window.pagePath="/404.html";window.___webpackCompilationHash="7534377ac88f83682e03";/*]]>*/</script><script id="gatsby-chunk-mapping">/*<![CDATA[*/window.___chunkMapping={"app":["/app-2d83dfe0ade936b5e76b.js"],"component---src-pages-404-js":["/component---src-pages-404-js-d1203087144cbdfbf0bc.js"],"component---src-pages-art-art-json-json-id-js":["/component---src-pages-art-art-json-json-id-js-e42d59ac4e7572ed4d91.js"],"component---src-pages-art-js":["/component---src-pages-art-js-8eceb86192924273236c.js"],"component---src-pages-games-games-json-json-id-js":["/component---src-pages-games-games-json-json-id-js-19fa8ea1ba8a406c3f1c.js"],"component---src-pages-games-js":["/component---src-pages-games-js-549314350f0da3e2eaad.js"],"component---src-pages-index-js":["/component---src-pages-index-js-17efe5904c6eca8eced2.js"],"component---src-pages-presentations-js":["/component---src-pages-presentations-js-066b817db280c8727477.js"],"component---src-pages-presentations-presentations-json-json-id-js":["/component---src-pages-presentations-presentations-json-json-id-js-dec265088e30baee55f0.js"],"component---src-pages-software-js":["/component---src-pages-software-js-2028b311d027474c008d.js"],"component---src-pages-tech-js":["/component---src-pages-tech-js-c3cee92e893b944846eb.js"],"component---src-pages-tech-tech-json-json-id-js":["/component---src-pages-tech-tech-json-json-id-js-00ace23f8cf6c6d7ab3a.js"],"component---src-pages-websites-js":["/component---src-pages-websites-js-fbcd51703c398382318d.js"],"component---src-pages-websites-websites-json-json-id-js":["/component---src-pages-websites-websites-json-json-id-js-b3efbda6fd46be67a431.js"]};/*]]>*/</script><script src="/app-2d83dfe0ade936b5e76b.js" async=""></script><script src="/framework-980612a74b1255757f77.js" async=""></script><script src="/webpack-runtime-ee802b6ab1d211bfa5ac.js" async=""></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><meta name="generator" content="Gatsby 4.25.9"/><meta name="theme-color" content="#282e34"/><link data-identity="gatsby-global-css" href="/styles.798d7058577ffdad1e42.css" rel="stylesheet" type="text/css"/><link rel="icon" href="/favicon-32x32.png?v=4f22fd91141daea106a5dde543702c7b" type="image/png"/><link rel="manifest" href="/manifest.webmanifest" crossorigin="anonymous"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png?v=4f22fd91141daea106a5dde543702c7b"/><link rel="sitemap" type="application/xml" href="/sitemap/sitemap-index.xml"/><style>.gatsby-image-wrapper{position:relative;overflow:hidden}.gatsby-image-wrapper picture.object-fit-polyfill{position:static!important}.gatsby-image-wrapper img{bottom:0;height:100%;left:0;margin:0;max-width:none;padding:0;position:absolute;right:0;top:0;width:100%;object-fit:cover}.gatsby-image-wrapper [data-main-image]{opacity:0;transform:translateZ(0);transition:opacity .25s linear;will-change:opacity}.gatsby-image-wrapper-constrained{display:inline-block;vertical-align:top}</style><noscript><style>.gatsby-image-wrapper noscript [data-main-image]{opacity:1!important}.gatsby-image-wrapper [data-placeholder-image]{opacity:0!important}</style></noscript><script type="module">const e="undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;e&&document.body.addEventListener("load",(function(e){const t=e.target;if(void 0===t.dataset.mainImage)return;if(void 0===t.dataset.gatsbyImageSsr)return;let a=null,n=t;for(;null===a&&n;)void 0!==n.parentNode.dataset.gatsbyImageWrapper&&(a=n.parentNode),n=n.parentNode;const o=a.querySelector("[data-placeholder-image]"),r=new Image;r.src=t.currentSrc,r.decode().catch((()=>{})).then((()=>{t.style.opacity=1,o&&(o.style.opacity=0,o.style.transition="opacity 500ms linear")}))}),!0);</script><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="true"/><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;38;display=swap" rel="stylesheet"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/></head><body><div id="___gatsby"><div style="outline:none" tabindex="-1" id="gatsby-focus-wrapper"></div><div id="gatsby-announcer" style="position:absolute;top:0;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0" aria-live="assertive" aria-atomic="true"></div></div><div id="portal"></div><script id="gatsby-script-loader">/*<![CDATA[*/window.pagePath="/404.html";window.___webpackCompilationHash="e454a1ea7b91e6792a2d";/*]]>*/</script><script id="gatsby-chunk-mapping">/*<![CDATA[*/window.___chunkMapping={"app":["/app-9442da87d5728df94a7c.js"],"component---src-pages-404-js":["/component---src-pages-404-js-d1203087144cbdfbf0bc.js"],"component---src-pages-art-art-json-json-id-js":["/component---src-pages-art-art-json-json-id-js-4e8a242549dc50ff49f1.js"],"component---src-pages-art-js":["/component---src-pages-art-js-72f0f3bdbc61943bc2cb.js"],"component---src-pages-games-games-json-json-id-js":["/component---src-pages-games-games-json-json-id-js-ad38f6099c7f2a1cb117.js"],"component---src-pages-games-js":["/component---src-pages-games-js-dfbada6fbd2ff8012889.js"],"component---src-pages-index-js":["/component---src-pages-index-js-186dac701b65cc23788b.js"],"component---src-pages-presentations-js":["/component---src-pages-presentations-js-ef338db105d67c97982b.js"],"component---src-pages-presentations-presentations-json-json-id-js":["/component---src-pages-presentations-presentations-json-json-id-js-c28b828410e6f33d9245.js"],"component---src-pages-projects-js":["/component---src-pages-projects-js-a15f4187e03e2bc882ac.js"],"component---src-pages-software-js":["/component---src-pages-software-js-ea75cd86f29da1c9979a.js"],"component---src-pages-tech-js":["/component---src-pages-tech-js-66907ecb2446d2b384e2.js"],"component---src-pages-tech-tech-json-json-id-js":["/component---src-pages-tech-tech-json-json-id-js-fd719b20aee8818d9dec.js"],"component---src-pages-websites-js":["/component---src-pages-websites-js-e6f8e60d3f29edbfcba7.js"],"component---src-pages-websites-websites-json-json-id-js":["/component---src-pages-websites-websites-json-json-id-js-0a43b2c359f70cc28297.js"]};/*]]>*/</script><script src="/app-9442da87d5728df94a7c.js" async=""></script><script src="/framework-9311b08a6c5b48aac427.js" async=""></script><script src="/webpack-runtime-284d8f587ec3a9957b06.js" async=""></script></body></html>
Loading

0 comments on commit 0a2795c

Please sign in to comment.