diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..5702a5f --- /dev/null +++ b/public/404.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8" /> + <title>Single Page Apps for GitHub Pages</title> + <script type="text/javascript"> + 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> \ No newline at end of file diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..ad19839 --- /dev/null +++ b/public/index.html @@ -0,0 +1,41 @@ + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> + <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="preconnect" href="https://fonts.googleapis.com" /> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> + <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> + <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> + <title>React App</title> + <script type="text/javascript"> + (function (l) { + if (l.search[1] === '/') { + var decoded = l.search + .slice(1) + .split('&') + .map(function (s) { + return s.replace(/~and~/g, '&'); + }) + .join('?'); + window.history.replaceState( + null, + null, + l.pathname.slice(0, -1) + decoded + l.hash + ); + } + })(window.location); + </script> + </head> + <body> + <noscript>You need to enable JavaScript to run this app.</noscript> + <div id="root"></div> + </body> +</html> \ No newline at end of file diff --git a/src/components/AuthModal/AuthModal.jsx b/src/components/AuthModal/AuthModal.jsx new file mode 100644 index 0000000..e69de29 diff --git a/src/components/AuthModal/AuthModal.module.css b/src/components/AuthModal/AuthModal.module.css new file mode 100644 index 0000000..e69de29 diff --git a/src/images/gradient1.png b/src/images/gradient1.png new file mode 100644 index 0000000..93e01ec Binary files /dev/null and b/src/images/gradient1.png differ diff --git a/src/index.html b/src/index.html deleted file mode 100644 index 92da07d..0000000 --- a/src/index.html +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html> -<html lang="ru"> - <head> - <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <title>Page title</title> - <link rel="stylesheet" href="./sass/index.scss" /> - <script type="module" src="./index.js"></script> - </head> - <body> - <h1>Example title</h1> - <!-- ❗️❗️❗️ Add partials like so for every page --> - <include src="./partials/example.html"></include> - </body> -</html> diff --git a/src/main.jsx b/src/main.jsx new file mode 100644 index 0000000..e69de29