Compare commits

..

3 Commits

Author SHA1 Message Date
fc5c8d1309 Login Component Accessibility 👀
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-07 20:56:24 +01:00
32e4f223f8 NGINX config - fix 404 error for SPA usage 2021-01-07 20:56:09 +01:00
1f5057438f NGINX config - enable brotli compression 2021-01-07 20:55:49 +01:00
2 changed files with 9 additions and 10 deletions

View File

@ -6,16 +6,19 @@ http {
server { server {
error_page 404 /index.html; error_page 404 /index.html;
root /usr/share/nginx/html; root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {
expires 1y; expires 1y;
add_header Pragma public; add_header Pragma public;
add_header Cache-Control "public"; add_header Cache-Control "public";
} }
# --- Brotli # --- Brotli
# brotli on; brotli on;
# brotli_comp_level 6; brotli_comp_level 6;
# brotli_static on; brotli_static on;
# brotli_types application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml; brotli_types application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml;
# --- GZIP # --- GZIP
gzip on; gzip on;
gzip_disable "msie6"; gzip_disable "msie6";

View File

@ -82,12 +82,8 @@
<div <div
class="min-h-screen flex items-center justify-center bg-gray-100 text-gray-900"> class="min-h-screen flex items-center justify-center bg-gray-100 text-gray-900">
<div class="max-w-md w-full py-12 px-6"> <div class="max-w-md w-full py-12 px-6" role="main">
<img <img style="height:10rem;" class="mx-auto" src="/lfk-logo.png" alt="" />
style="height:10rem;"
class="mx-auto"
src="/lfk-logo.png"
alt="" />
<p class="mt-6 text-lg text-center font-bold">{$_('application_name')}</p> <p class="mt-6 text-lg text-center font-bold">{$_('application_name')}</p>
<p class="mt-6 text-sm text-center">{$_('log_in_to_your_account')}</p> <p class="mt-6 text-sm text-center">{$_('log_in_to_your_account')}</p>
<div> <div>