Dev warning

This commit is contained in:
ZettaScript 2022-09-26 16:19:31 +02:00
parent ad8f05c3bc
commit f3f0841bb0
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
2 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,18 @@
#dev-warning {
position: fixed;
top: 48px;
left: 0;
width: 256px;
background-color: #fa0;
border-bottom: 4px dashed #000;
border-right: 4px dashed #000;
border-top: 4px dashed #000;
border-bottom-right-radius: 16px;
border-top-right-radius: 16px;
padding: 4px;
font-size: 20px;
}
@font-face { @font-face {
font-family: Amatic; font-family: Amatic;
src: url("/fonts/AmaticSC-Bold.woff2"); src: url("/fonts/AmaticSC-Bold.woff2");

View file

@ -7,9 +7,16 @@
<link rel="stylesheet" href="/css/base.css"/> <link rel="stylesheet" href="/css/base.css"/>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width"/> <meta name="viewport" content="width=device-width"/>
<meta name="robots" content="noindex,nofollow"/><!-- TODO remove this for production -->
{% block head %}{% endblock head %} {% block head %}{% endblock head %}
</head> </head>
<body> <body>
<div id="dev-warning">
<p>
Version de développement. Pour le site officiel actuel, allez sur <a href="https://librezo.com"><b>Librezo.com</b></a>.
</p>
<a href="#" onclick="document.getElementById('dev-warning').remove()">fermer</a>
</div>
<header> <header>
<a href="/"><img id="header-logo" src="/img/librezo-little-black.png" alt="Logo Librezo" aria-hidden/><h1 class="sr-only">Librezo</h1></a> <a href="/"><img id="header-logo" src="/img/librezo-little-black.png" alt="Logo Librezo" aria-hidden/><h1 class="sr-only">Librezo</h1></a>
<nav id="header-menu"> <nav id="header-menu">