Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
maluvasc committed Nov 19, 2024
1 parent 80a3a72 commit 9ce605a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 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 = 1;

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>
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="./focus.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="Focus" href="./focus.png"/><link rel="photo-code" href="./photo-code2.png"/><link rel="FixIt" href="./fixit-logo.jpg"/><link rel="GitHub" href="./image-3.png"/><link rel="iconemalu" href="./iconemalu.png"/><link rel="iconelet" href="./iconelet.png"/><link rel="iconepaulo" href="./iconepaulo.png"/><link rel="iconegabsal" href="./iconesalgado.png"/><link rel="iconegabnasc" href="./iconenascimento.png"/><link rel="manifest" href="./manifest.json"/><title>FOCUS</title><script src="https://cdn.jsdelivr.net/npm/react/umd/react.production.min.js" crossorigin></script><script src="https://cdn.jsdelivr.net/npm/react-dom/umd/react-dom.production.min.js" crossorigin></script><script src="https://cdn.jsdelivr.net/npm/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script><script>var Alert=ReactBootstrap.Alert</script><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><script defer="defer" src="./static/js/main.1f76cd47.js"></script><link href="./static/css/main.600fa12a.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="pt-br"><head><meta charset="utf-8"/><link rel="icon" href="/Focus/focus.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="Focus" href="/Focus/focus.png"/><link rel="photo-code" href="/Focus/photo-code2.png"/><link rel="FixIt" href="/Focus/fixit-logo.jpg"/><link rel="GitHub" href="/Focus/image-3.png"/><link rel="iconemalu" href="/Focus/iconemalu.png"/><link rel="iconelet" href="/Focus/iconelet.png"/><link rel="iconepaulo" href="/Focus/iconepaulo.png"/><link rel="iconegabsal" href="/Focus/iconesalgado.png"/><link rel="iconegabnasc" href="/Focus/iconenascimento.png"/><link rel="manifest" href="/Focus/manifest.json"/><title>FOCUS</title><script src="https://cdn.jsdelivr.net/npm/react/umd/react.production.min.js" crossorigin></script><script src="https://cdn.jsdelivr.net/npm/react-dom/umd/react-dom.production.min.js" crossorigin></script><script src="https://cdn.jsdelivr.net/npm/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script><script>var Alert=ReactBootstrap.Alert</script><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><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="/Focus/static/js/main.1f76cd47.js"></script><link href="/Focus/static/css/main.600fa12a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 1 addition & 1 deletion static/css/main.600fa12a.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/main.1f76cd47.js.map

Large diffs are not rendered by default.

0 comments on commit 9ce605a

Please sign in to comment.