diff options
| author | Clement Michaud <clement.michaud34@gmail.com> | 2019-11-19 00:37:36 +0100 | 
|---|---|---|
| committer | Clément Michaud <clement.michaud34@gmail.com> | 2019-12-05 11:05:24 +0100 | 
| commit | 9ae2096d2a0840dc0a14925f8b1a9a7c3af715c2 (patch) | |
| tree | fee8a46bd77119e4f240c652e332cde099cbeebd /web/public | |
| parent | 05129207a2206550c42342f3f6a45d02a3a35f17 (diff) | |
Rewrite authelia frontend to improve user experience.
This refactoring simplify the code of the frontend and prepare the
portal for receiving a user settings page and an admin page.
Diffstat (limited to 'web/public')
| -rw-r--r-- | web/public/favicon.ico | bin | 0 -> 4286 bytes | |||
| -rw-r--r-- | web/public/index.html | 42 | ||||
| -rw-r--r-- | web/public/manifest.json | 15 | ||||
| -rw-r--r-- | web/public/robots.txt | 2 | 
4 files changed, 59 insertions, 0 deletions
diff --git a/web/public/favicon.ico b/web/public/favicon.ico Binary files differnew file mode 100644 index 000000000..83f645c6f --- /dev/null +++ b/web/public/favicon.ico diff --git a/web/public/index.html b/web/public/index.html new file mode 100644 index 000000000..489973147 --- /dev/null +++ b/web/public/index.html @@ -0,0 +1,42 @@ +<!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="Authelia login portal for your apps" +    /> +    <!-- +      manifest.json provides metadata used when your web app is installed on a +      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ +    --> +    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> +    <!-- +      Notice the use of %PUBLIC_URL% in the tags above. +      It will be replaced with the URL of the `public` folder during the build. +      Only files inside the `public` folder can be referenced from the HTML. + +      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will +      work correctly both with client-side routing and a non-root public URL. +      Learn how to configure a non-root public URL by running `npm run build`. +    --> +    <title>Login - Authelia</title> +  </head> +  <body> +    <noscript>You need to enable JavaScript to run this app.</noscript> +    <div id="root"></div> +    <!-- +      This HTML file is a template. +      If you open it directly in the browser, you will see an empty page. + +      You can add webfonts, meta tags, or analytics to this file. +      The build step will place the bundled scripts into the <body> tag. + +      To begin the development, run `npm start` or `yarn start`. +      To create a production bundle, use `npm run build` or `yarn build`. +    --> +  </body> +</html> diff --git a/web/public/manifest.json b/web/public/manifest.json new file mode 100644 index 000000000..c709fc0f8 --- /dev/null +++ b/web/public/manifest.json @@ -0,0 +1,15 @@ +{ +  "short_name": "Authelia WebApp", +  "name": "Authelia Web Application", +  "icons": [ +    { +      "src": "favicon.ico", +      "sizes": "64x64 32x32 24x24 16x16", +      "type": "image/x-icon" +    } +  ], +  "start_url": ".", +  "display": "standalone", +  "theme_color": "#000000", +  "background_color": "#ffffff" +} diff --git a/web/public/robots.txt b/web/public/robots.txt new file mode 100644 index 000000000..01b0f9a10 --- /dev/null +++ b/web/public/robots.txt @@ -0,0 +1,2 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: *  | 
