/ frontend / public / index.html
index.html
  1  <!DOCTYPE html>
  2  <html lang="en">
  3    <head>
  4      <meta charset="utf-8" />
  5      <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
  6      <meta name="viewport" content="width=device-width, initial-scale=1" />
  7      <meta name="theme-color" content="#000000" />
  8      <!--
  9        manifest.json provides metadata used when your web app is installed on a
 10        user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
 11      -->
 12      <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
 13      <link
 14        href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900"
 15        rel="stylesheet" />
 16      <link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet" />
 17      <link
 18        rel="stylesheet"
 19        href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atelier-cave-light.min.css" />
 20  
 21      <!--
 22        Notice the use of %PUBLIC_URL% in the tags above.
 23        It will be replaced with the URL of the `public` folder during the build.
 24        Only files inside the `public` folder can be referenced from the HTML.
 25  
 26        Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
 27        work correctly both with client-side routing and a non-root public URL.
 28        Learn how to configure a non-root public URL by running `npm run build`.
 29      -->
 30      <title>RESTai</title>
 31  
 32      <!-- style -->
 33      <style>
 34        .matx-loader {
 35          display: inline-block;
 36          position: absolute;
 37          width: 40px;
 38          height: 40px;
 39          left: 0;
 40          right: 0;
 41          top: calc(50% - 20px);
 42          margin: auto;
 43        }
 44  
 45        .matx-loader img {
 46          position: absolute;
 47          height: 25px;
 48          width: auto;
 49          top: 0;
 50          bottom: 0;
 51          left: 0;
 52          right: 0;
 53          margin: auto;
 54        }
 55  
 56        .matx-loader div {
 57          box-sizing: border-box;
 58          display: block;
 59          position: absolute;
 60          width: 40px;
 61          height: 40px;
 62          margin: 0;
 63          border: 3.4px solid #1976d2;
 64          border-radius: 50%;
 65          animation: matx-loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
 66          border-color: #1976d2 transparent transparent transparent;
 67        }
 68  
 69        .matx-loader div:nth-child(1) {
 70          animation-delay: -0.45s;
 71        }
 72  
 73        .matx-loader div:nth-child(2) {
 74          animation-delay: -0.3s;
 75        }
 76  
 77        .matx-loader div:nth-child(3) {
 78          animation-delay: -0.15s;
 79        }
 80  
 81        @keyframes matx-loader {
 82          0% {
 83            transform: rotate(0deg);
 84          }
 85          100% {
 86            transform: rotate(360deg);
 87          }
 88        }
 89      </style>
 90    </head>
 91  
 92    <body>
 93      <noscript>You need to enable JavaScript to run this app.</noscript>
 94      <div id="root">
 95        <div class="matx-loader">
 96          <div></div>
 97          <div></div>
 98          <div></div>
 99          <div></div>
100        </div>
101      </div>
102      <!--
103        This HTML file is a template.
104        If you open it directly in the browser, you will see an empty page.
105  
106        You can add webfonts, meta tags, or analytics to this file.
107        The build step will place the bundled scripts into the <body> tag.
108  
109        To begin the development, run `npm start` or `yarn start`.
110        To create a production bundle, use `npm run build` or `yarn build`.
111      -->
112    </body>
113  </html>