Compare commits

...

2 commits

Author SHA1 Message Date
tuxmain 3a37374bab mode dev avec LIBREZO_WEBSITE=dev 2023-07-31 11:04:00 +02:00
tuxmain 99f4ab27e2 Retiré logo menu écran étroit, bordures 2023-07-31 11:01:50 +02:00
3 changed files with 17 additions and 18 deletions

View file

@ -1,13 +1,20 @@
Proposition de design pour Librezo.
# Nouveau site web de Librezo
[voir le rendu](http://librezo.txmn.tk)
## Build
## Utilisation
[Install Zola](https://getzola.org)
[Installez Zola](https://getzola.org)
```bash
zola serve
# tester en local
zola serve
# compiler en démo publique
LIBREZO_WEBSITE=dev zola build
# compiler en prod
zola build
```
## Contribution

View file

@ -79,15 +79,12 @@ header {
overflow-y: auto;
margin-top: 0;
box-sizing: border-box;
border-left: 2px solid $violet;
border-right: 2px solid $violet;
border-bottom: 2px solid $violet;
border-bottom-right-radius: 6px;
list-style: none;
}
.header-menu-phone-logo {
max-width: 100%;
width: 256px;
}
.hamburger-menu {
font-size: 150%;
margin: 0.25em;

View file

@ -8,16 +8,18 @@
{% if page.extra.leaflet or section.extra.leaflet %}<link rel="stylesheet" href="/vendor/leaflet/leaflet.css"/>{% endif %}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width"/>
<meta name="robots" content="noindex,nofollow"/><!-- TODO remove this for production -->
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}<meta name="robots" content="noindex,nofollow"/>{% endif %}
{% block head %}{% endblock head %}
</head>
<body>
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}
<div id="dev-warning">
<p>
Version de développement. Pour le site officiel actuel, allez sur <a href="https://librezo.fr"><b>Librezo.fr</b></a>.
</p>
<a href="#" onclick="document.getElementById('dev-warning').remove()">fermer</a>
</div>
{% endif %}
<header>
<a href="/">
<picture>
@ -39,13 +41,6 @@
<details class="phone-only hamburger-menu">
<summary aria-label="Menu" title="Menu">&#9776;</summary>
<ul class="header-menu-phone">
<li aria-hidden>
<picture>
<source srcset="/img/logo-stencil-white.svg" media="(prefers-color-scheme: dark)"/>
<source srcset="/img/logo-stencil-black.svg" media="(prefers-color-scheme: light)"/>
<img class="header-menu-phone-logo" decoding="async" src="/img/logo-stencil-black.svg" alt="Librezo"/>
</picture>
</li>
<li><a href="/fonctionnement/">Fonctionnement</a></li>
<li><a href="/services/">Services et tarifs</a></li>
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>