update chapril banner to v2

This commit is contained in:
Romain H 2022-02-06 22:46:12 +01:00 committed by Romain Hv
parent 382f48d9ff
commit 4dc867fb28
2 changed files with 58 additions and 43 deletions

View File

@ -23,49 +23,60 @@ class Header extends Component {
class="main-header relative flex-none flex flex-row items-center justify-between px-6 md:px-8 z-20 bg-transparent" class="main-header relative flex-none flex flex-row items-center justify-between px-6 md:px-8 z-20 bg-transparent"
> >
<!-- Chapril banner code: starting --> <!-- Chapril banner code: starting -->
<div id="chapril-banner"> <nav class="chapril-banniere-Nav">
<div id="chapril-banner-zone"> <div class="chapril-banniere-Logo" aria-hidden="true">
<div id="chapril-banner-logo"> <a href="https://www.chapril.org"
<a href="https://www.chapril.org/" ><img alt="" src="/Chapril-banner/v2/chapril-banner-logo.png"
><img /></a>
src="/Chapril-banner/v1/chapril-logo-small.png"
alt="Logo Chapril"
/></a>
</div>
<div id="chapril-banner-menu">
<ul>
<li><a href="https://www.chapril.org/">Accueil Chapril</a></li>
<li>
<a href="https://www.chapril.org/services.html"
>Services libres</a
>
</li>
<li>
<a href="https://pouet.april.org/@aprilorg">Nous suivre</a>
</li>
<li><a href="https://www.chapril.org/cgu.html">CGU</a></li>
<li>
<a href="https://www.chapril.org/a-propos.html"
>Mentions légales</a
>
</li>
<li>
<a href="https://www.chapril.org/contact.html"
>Nous contacter</a
>
</li>
</ul>
</div>
<div id="chapril-banner-aprillogo">
<a href="https://www.april.org/"
><img
src="/Chapril-banner/v1/april-logo-small.png"
class="chapril-banner-logo"
alt="Logo April"
/></a>
</div>
</div> </div>
</div> <div class="chapril-banniere-Menu" aria-hidden="true">
<details>
<summary>
<span></span>
<span></span>
<span></span>
</summary>
<div><a href="https://www.chapril.org/">Accueil Chapril</a></div>
<div>
<a href="https://www.chapril.org/services.html"
>Services libres</a
>
</div>
<div>
<a href="https://pouet.april.org/@aprilorg">Nous suivre</a>
</div>
<div><a href="https://www.chapril.org/cgu.html">CGU</a></div>
<div>
<a href="https://www.chapril.org/a-propos.html"
>Mentions légales</a
>
</div>
<div>
<a href="https://www.chapril.org/contact.html"
>Nous contacter</a
>
</div>
</details>
</div>
<div class="chapril-banniere-Entree">
<a href="https://www.chapril.org/">Accueil Chapril</a>
</div>
<div class="chapril-banniere-Entree">
<a href="https://www.chapril.org/services.html">Services libres</a>
</div>
<div class="chapril-banniere-Entree">
<a href="https://pouet.april.org/@aprilorg">Nous suivre</a>
</div>
<div class="chapril-banniere-Entree">
<a href="https://www.chapril.org/cgu.html">CGU</a>
</div>
<div class="chapril-banniere-Entree">
<a href="https://www.chapril.org/a-propos.html">Mentions légales</a>
</div>
<div class="chapril-banniere-Entree">
<a href="https://www.chapril.org/contact.html">Nous contacter</a>
</div>
</nav>
<!-- Chapril banner code: done. --> <!-- Chapril banner code: done. -->
</header> </header>
`; `;

View File

@ -35,7 +35,11 @@ module.exports = function(state, body = '') {
--color-primary-accent: ${state.ui.colors.accent}; --color-primary-accent: ${state.ui.colors.accent};
} }
</style> </style>
<link rel="stylesheet" type="text/css" href="/chapril.css" /> <link
rel="stylesheet"
type="text/css"
href="/Chapril-banner/v2/chapril-banner.css"
/>
<link <link
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"