Improved logo performance
|
@ -101,7 +101,11 @@
|
||||||
<label id="hamb" for="side-menu"><span id="hamb-line"></span></label>
|
<label id="hamb" for="side-menu"><span id="hamb-line"></span></label>
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<a id=logo-container href={"/" + locale + "/"}>
|
<a id=logo-container href={"/" + locale + "/"}>
|
||||||
<img src="/img/common/flag.png" id="navbar-logo" alt="logo">
|
<picture>
|
||||||
|
<source srcset="/img/common/flag.webp">
|
||||||
|
<source srcset="/img/common/flag.png">
|
||||||
|
<img id="navbar-logo" alt="logo">
|
||||||
|
</picture>
|
||||||
<span bind:this={logoText} id="navbar-logo-text" >{@html $content.orgName}</span>
|
<span bind:this={logoText} id="navbar-logo-text" >{@html $content.orgName}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- Menu -->
|
<!-- Menu -->
|
||||||
|
|
|
@ -7,6 +7,13 @@ server {
|
||||||
add_header alt-svc 'h3=":443"; ma=2592000, h3-23=":443"; ma=86400, h3-29=":443"; ma=2592000';
|
add_header alt-svc 'h3=":443"; ma=2592000, h3-23=":443"; ma=86400, h3-29=":443"; ma=2592000';
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
|
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
|
||||||
|
|
||||||
|
gzip on;
|
||||||
|
gunzip on;
|
||||||
|
gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;
|
||||||
|
gzip_proxied no-cache no-store private expired auth;
|
||||||
|
gzip_min_length 1000;
|
||||||
|
|
||||||
|
|
||||||
location ~* \.(?:ico|gif|jpe?g|png|svg|webp)$ {
|
location ~* \.(?:ico|gif|jpe?g|png|svg|webp)$ {
|
||||||
expires 1d;
|
expires 1d;
|
||||||
add_header Pragma public;
|
add_header Pragma public;
|
||||||
|
|
|
@ -60,9 +60,11 @@ body {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src:
|
src:
|
||||||
url('/fonts/LoraSerif/Lora-Regular.ttf') format('ttf'),
|
url('/fonts/LoraSerif/Lora-Regular.woff2') format('woff'),
|
||||||
url('/fonts/LoraSerif/Lora-Regular.woff') format('woff'),
|
url('/fonts/LoraSerif/Lora-Regular.woff') format('woff'),
|
||||||
url('/fonts/LoraSerif/Lora-Regular.woff2') format('woff');
|
url('/fonts/LoraSerif/Lora-Regular.ttf') format('ttf');
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.serif {
|
.serif {
|
||||||
|
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 74 KiB |