Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sverg84 committed Feb 7, 2024
1 parent 64b6551 commit f4aff6e
Show file tree
Hide file tree
Showing 17 changed files with 62 additions and 22 deletions.
40 changes: 40 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// MIT License
// https://github.com/rafgraph/spa-github-pages
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// https://www.foo.tld/?/one/two&a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)

// If you're creating a Project Pages site and NOT using a custom domain,
// then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe
// Otherwise, leave pathSegmentsToKeep as 0.
var pathSegmentsToKeep = 0;

var l = window.location;
l.replace(
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' +
l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);

</script>
</head>
<body>
</body>
</html>
18 changes: 9 additions & 9 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"files": {
"main.css": "/static/css/main.fbd28eb6.css",
"main.js": "/static/js/main.ec63ab89.js",
"main.js": "/static/js/main.d5c8c1d6.js",
"static/css/640.3dc7289f.chunk.css": "/static/css/640.3dc7289f.chunk.css",
"static/js/640.0d00bcc3.chunk.js": "/static/js/640.0d00bcc3.chunk.js",
"static/css/491.9be89837.chunk.css": "/static/css/491.9be89837.chunk.css",
"static/js/491.71b93f1c.chunk.js": "/static/js/491.71b93f1c.chunk.js",
"static/js/640.3ed8033b.chunk.js": "/static/js/640.3ed8033b.chunk.js",
"static/css/384.d20e4e92.chunk.css": "/static/css/384.d20e4e92.chunk.css",
"static/js/384.7bd6f261.chunk.js": "/static/js/384.7bd6f261.chunk.js",
"static/css/306.25be4d54.chunk.css": "/static/css/306.25be4d54.chunk.css",
"static/js/306.7c9b72c8.chunk.js": "/static/js/306.7c9b72c8.chunk.js",
"static/css/560.81e016d9.chunk.css": "/static/css/560.81e016d9.chunk.css",
Expand All @@ -17,11 +17,11 @@
"static/js/867.dc590324.chunk.js": "/static/js/867.dc590324.chunk.js",
"index.html": "/index.html",
"main.fbd28eb6.css.map": "/static/css/main.fbd28eb6.css.map",
"main.ec63ab89.js.map": "/static/js/main.ec63ab89.js.map",
"main.d5c8c1d6.js.map": "/static/js/main.d5c8c1d6.js.map",
"640.3dc7289f.chunk.css.map": "/static/css/640.3dc7289f.chunk.css.map",
"640.0d00bcc3.chunk.js.map": "/static/js/640.0d00bcc3.chunk.js.map",
"491.9be89837.chunk.css.map": "/static/css/491.9be89837.chunk.css.map",
"491.71b93f1c.chunk.js.map": "/static/js/491.71b93f1c.chunk.js.map",
"640.3ed8033b.chunk.js.map": "/static/js/640.3ed8033b.chunk.js.map",
"384.d20e4e92.chunk.css.map": "/static/css/384.d20e4e92.chunk.css.map",
"384.7bd6f261.chunk.js.map": "/static/js/384.7bd6f261.chunk.js.map",
"306.25be4d54.chunk.css.map": "/static/css/306.25be4d54.chunk.css.map",
"306.7c9b72c8.chunk.js.map": "/static/js/306.7c9b72c8.chunk.js.map",
"560.81e016d9.chunk.css.map": "/static/css/560.81e016d9.chunk.css.map",
Expand All @@ -34,6 +34,6 @@
},
"entrypoints": [
"static/css/main.fbd28eb6.css",
"static/js/main.ec63ab89.js"
"static/js/main.d5c8c1d6.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#FFC2E2"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Stephen Vergara</title><script defer="defer" src="/static/js/main.ec63ab89.js"></script><link href="/static/css/main.fbd28eb6.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Stephen Vergara</title><script type="text/javascript">!function(n){if("/"===n.search[1]){var a=n.search.slice(1).split("&").map((function(n){return n.replace(/~and~/g,"&")})).join("?");window.history.replaceState(null,null,n.pathname.slice(0,-1)+a+n.hash)}}(window.location)</script><script defer="defer" src="/static/js/main.d5c8c1d6.js"></script><link href="/static/css/main.fbd28eb6.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f4aff6e

Please sign in to comment.