add carrousel && bootsrap hero
This commit is contained in:
@@ -5,32 +5,32 @@
|
||||
{% endblock %}
|
||||
|
||||
<body class="container-fluid {{post.slug}} {{post.post_type}}">
|
||||
<header class="header d-flex">
|
||||
<header class="fixed-top d-flex">
|
||||
{% block header %}
|
||||
<section class="logo">
|
||||
<figures>
|
||||
<section class="logo col">
|
||||
<figure>
|
||||
<a href="{{site.url}}" rel="noreferrer">
|
||||
<img src="{{theme.link}}/dist//assets/images/logo_lamine_vect.svg" alt="logo_Lamine" title="Le logo de La mine"/>
|
||||
<span id="lumiR_logo"></span>
|
||||
<span id="fond_logo"></span>
|
||||
</a>
|
||||
</figures>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section class="nav-main">
|
||||
<div class="rs">
|
||||
<figures id="facebook">
|
||||
<section class="nav-main col row">
|
||||
<div class="rs col">
|
||||
<figure id="facebook">
|
||||
<a rel="noreferrer" target="_blank" href="{{options.facebook.lien_facebook}}">
|
||||
<img src="{{ Image(options.facebook.logo_facebook).src }}" />
|
||||
<img src="{{theme.link}}/dist//assets/images/fb.svg" alt="logo_facebook" title="Le logo de facebook"/>
|
||||
</a>
|
||||
</figures>
|
||||
<figures id="insta">
|
||||
</figure>
|
||||
<figure id="insta">
|
||||
<a rel="noreferrer" target="_blank" href="{{options.instagram.lien_instagram}}">
|
||||
<img src="{{ Image(options.instagram.logo_instagram).src }}" />
|
||||
<img src="{{theme.link}}/dist//assets/images/inst.svg" alt="logo_instagram" title="Le logo d'instagram"/>
|
||||
</a>
|
||||
</figures>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="burger">
|
||||
<div class="burger col">
|
||||
<div class="fond_burger">
|
||||
<button class="hamburger hamburger--slider" type="button">
|
||||
<span class="hamburger-box">
|
||||
@@ -39,7 +39,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<nav role="navigation">
|
||||
<nav class="col" role="navigation">
|
||||
{% include "components/menu.twig" with {'items': menu.get_items} %}
|
||||
</nav>
|
||||
</section>
|
||||
@@ -51,12 +51,12 @@
|
||||
{% endif %}
|
||||
|
||||
{% if post.slug == "privacy-policy" %}
|
||||
<figures class="paralax" data-rellax-speed="5">
|
||||
<figure class="paralax" data-rellax-speed="5">
|
||||
<img src="{{theme.link}}/asset/images/objet_8.svg" alt="objet 8">
|
||||
</figures>
|
||||
</figure>
|
||||
{% endif %}
|
||||
|
||||
<main id="content" role="main">
|
||||
<main id="content" class="container-fluid" role="main">
|
||||
{% if title %}
|
||||
<h1>{{title}}</h1>
|
||||
{% endif %}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
<section class="hero">
|
||||
<figures>
|
||||
<section class="hero row">
|
||||
<figure class="col px-0">
|
||||
|
||||
<div class="slide">
|
||||
<div class="main-carousel">
|
||||
{% for item in post.meta('slide_image') %}
|
||||
<img src="{{ Image(item.image).src }}" />
|
||||
<div class="carousel-cell">
|
||||
<img src="{{ Image(item.image).src }}" />
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
@@ -12,5 +14,5 @@
|
||||
<h2>{{ post.meta('sous_titre') }}</h2>
|
||||
</figcaption>
|
||||
|
||||
</figures>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user