Compare commits
No commits in common. "3a37374bab5d3eebbff2d5d4b15bd30bee53b53a" and "48687b14e796a89a49e82ec07fc3b7703294b068" have entirely different histories.
3a37374bab
...
48687b14e7
3 changed files with 18 additions and 17 deletions
13
README.md
13
README.md
|
@ -1,20 +1,13 @@
|
||||||
# Nouveau site web de Librezo
|
Proposition de design pour Librezo.
|
||||||
|
|
||||||
[voir le rendu](http://librezo.txmn.tk)
|
[voir le rendu](http://librezo.txmn.tk)
|
||||||
|
|
||||||
## Utilisation
|
## Build
|
||||||
|
|
||||||
[Installez Zola](https://getzola.org)
|
[Install Zola](https://getzola.org)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# tester en local
|
|
||||||
zola serve
|
zola serve
|
||||||
|
|
||||||
# compiler en démo publique
|
|
||||||
LIBREZO_WEBSITE=dev zola build
|
|
||||||
|
|
||||||
# compiler en prod
|
|
||||||
zola build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
|
@ -79,12 +79,15 @@ header {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-right: 2px solid $violet;
|
border-left: 2px solid $violet;
|
||||||
border-bottom: 2px solid $violet;
|
|
||||||
border-bottom-right-radius: 6px;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-menu-phone-logo {
|
||||||
|
max-width: 100%;
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
|
|
||||||
.hamburger-menu {
|
.hamburger-menu {
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
margin: 0.25em;
|
margin: 0.25em;
|
||||||
|
|
|
@ -8,18 +8,16 @@
|
||||||
{% if page.extra.leaflet or section.extra.leaflet %}<link rel="stylesheet" href="/vendor/leaflet/leaflet.css"/>{% endif %}
|
{% 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"/>
|
<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"/>
|
||||||
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}<meta name="robots" content="noindex,nofollow"/>{% endif %}
|
<meta name="robots" content="noindex,nofollow"/><!-- TODO remove this for production -->
|
||||||
{% block head %}{% endblock head %}
|
{% block head %}{% endblock head %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}
|
|
||||||
<div id="dev-warning">
|
<div id="dev-warning">
|
||||||
<p>
|
<p>
|
||||||
Version de développement. Pour le site officiel actuel, allez sur <a href="https://librezo.fr"><b>Librezo.fr</b></a>.
|
Version de développement. Pour le site officiel actuel, allez sur <a href="https://librezo.fr"><b>Librezo.fr</b></a>.
|
||||||
</p>
|
</p>
|
||||||
<a href="#" onclick="document.getElementById('dev-warning').remove()">fermer</a>
|
<a href="#" onclick="document.getElementById('dev-warning').remove()">fermer</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<picture>
|
<picture>
|
||||||
|
@ -41,6 +39,13 @@
|
||||||
<details class="phone-only hamburger-menu">
|
<details class="phone-only hamburger-menu">
|
||||||
<summary aria-label="Menu" title="Menu">☰</summary>
|
<summary aria-label="Menu" title="Menu">☰</summary>
|
||||||
<ul class="header-menu-phone">
|
<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="/fonctionnement/">Fonctionnement</a></li>
|
||||||
<li><a href="/services/">Services et tarifs</a></li>
|
<li><a href="/services/">Services et tarifs</a></li>
|
||||||
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
|
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
|
||||||
|
|
Loading…
Reference in a new issue