test deploy

This commit is contained in:
2019-05-27 17:03:03 +02:00
parent fd38b48e27
commit 55356da898
76 changed files with 4980 additions and 6128 deletions

View File

@ -4,7 +4,7 @@
{% set gal = feature.header.a_file %}
<div class="content_gal">
<div class="title_gal">
<h1>{{ feature.text }}</h1>
<p>{{ feature.text }}</p>
</div>
<img src="user/pages/01.home/{{gal}}" alt="{{gal}}">
</div>
@ -24,7 +24,7 @@
{% set image = page.media.images|first %}
{% if image %}
<div class="bandeau">
{{ image.html }}
{{ image.html('','bandeau') }}
</div>
{% if header.entete.text == true %}

View File

@ -10,6 +10,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#317EFB"/>
{% include 'partials/metadata.html.twig' %}
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
@ -19,18 +21,17 @@
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% do assets.addCss('theme://css/leaflet.css') %}
{% do assets.addCss('theme://css/jquery.bxslider.min.css') %}
{% endblock %}
{% block javascripts %}
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/jquery-3.4.1.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/leaflet.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/masonry.filter.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.bxslider.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.min.js', {group:'bottom'}) %}
{% endblock %}
@ -39,21 +40,64 @@
{{ assets.js()|raw }}
{% endblock %}
<meta property="og:url" content="https://www.your-domain.com/your-page.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="/user/themes/lecampus/images/fb.svg" />
{% endblock head %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push([function() {
var self = this;
function getOriginalVisitorCookieTimeout() {
var now = new Date(),
nowTs = Math.round(now.getTime() / 1000),
visitorInfo = self.getVisitorInfo();
var createTs = parseInt(visitorInfo[2]);
var cookieTimeout = 33696000; // 13 mois en secondes
var originalTimeout = createTs + cookieTimeout - nowTs;
return originalTimeout;
}
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
}]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//lecampus.kevintessier.net/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<script type="application/ld+json">
{
"@graph": [
{
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Eurre",
"addressRegion": "Val de Drôme",
"postalCode": "26400",
"streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme"
},
"name": "Le Campus Biovallee"
}
]
}
</script>
</head>
<body>
{% block header %}
<header>
<nav>
<div class="logo">
<a href="/"><img src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
<a href="/"><img alt="le_campus_biovallee" src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
</div>
<nav class="dropmenu">
@ -63,9 +107,9 @@
</nav>
<div class="reso">
<a href="https://www.facebook.com/Lecampus.Valdedrome" target="_blank"><img src="/user/themes/lecampus/images/fb.svg" alt="logo-facebook"></a>
<a href="https://www.youtube.com/user/CCVDful" target="_blank"><img src="/user/themes/lecampus/images/yt.svg" alt="logo-youtube"></a>
<a href="#" target="_blank"><img src="/user/themes/lecampus/images/in.svg" alt="logo-link"></a>
<a href="https://www.facebook.com/Lecampus.Valdedrome" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/fb.svg" alt="logo-facebook"></a>
<a href="https://www.youtube.com/user/CCVDful" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/yt.svg" alt="logo-youtube"></a>
<!-- <a href="#" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/in.svg" alt="logo-link"></a> -->
</div>
</nav>
@ -91,6 +135,10 @@
{% block footer %}
{% include 'partials/footer.html.twig' %}
<iframe title="exclude"
style="border: 0;"
src="https://lecampus.kevintessier.net/matomo/index.php?module=CoreAdminHome&action=optOut&language=fr&backgroundColor=&fontColor=&fontSize=&fontFamily="
></iframe>
{% endblock %}
{% block bottom %}

View File

@ -11,22 +11,24 @@
<div class="content">
<div class="images_s">
{% for images in page.media.images|slice(1) %}
{{images}}
{{images.html('','img_content')}}
{% endfor %}
</div>
<div class="content_s">
{{ page.content|raw }}
</div>
{% if page.header.features %}
<div class="icones">
{% for features in page.header.features %}
<div class="icon">
{% for img in features.icon %}
<img src="/{{img.path}}" alt="">
<img src="/{{img.path}}" alt="picto">
{% endfor %}
<p>{{features.text}}</p>
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% endif %}
@ -35,7 +37,7 @@
{% if page.media.images|slice(1) %}
<div class="images_s">
{% for images in page.media.images|slice(1) %}
{{images}}
{{images.html('','img_content')}}
{% endfor %}
</div>
{% endif %}

View File

@ -5,7 +5,7 @@
{% set image = page.media.images|first %}
{% if image %}
<div class="card-image">
<a href="{{ page.url }}">{{ image.cropZoom(800,400).html }}</a>
<a href="{{ page.url }}">{{ image.html('','evenement') }}</a>
</div>
{% endif %}
<div class="card-header">

View File

@ -1,6 +1,6 @@
<div class="demander-votre-devis">
<a href="/demande-de-devis">
<h2><strong>DEVIS</strong></br> EN LIGNE</h2>
<p><strong>DEVIS</strong></br> EN LIGNE</p>
<p>Parlez-nous de votre projet</p>
<img src="/user/themes/lecampus/images/fleche_devis.svg" alt="devis">
</a>

View File

@ -3,7 +3,6 @@
{% import _self as macro %}
{% for tag in page.taxonomy.tag %}
<span class="tags {{ macro.pageLinkName(tag) }}">
<a class="label">{{ tag }}</a>

View File

@ -1,5 +1,29 @@
<script type='application/ld+json'>
{
"@type": "Event",
"name": "agenda",
"url": "{{uri.base}}",
"description": "{{page.summary}}",
"startDate": "{{page.header.date_begin}}",
"endDate": "{{page.header.date_end}}",
"location": {
"@type": "Place",
"name": "{{page.title}}",
"address": {
"@type": "PostalAddress",
"streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme",
"addressLocality": "Eurre",
"addressRegion": "Val de Drôme",
"postalCode": "26400",
"addressCountry": "France"
}
}
}
</script>
{% set image = page.media.images|first %}
<div class="event">
<div class="card-header">
{% include 'partials/blog/public.html.twig' %}
</div>
@ -18,24 +42,24 @@
</div>
<div class="card-content">
<div class="reso">
<div id="fb-root"></div>
<!-- <script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script> -->
<!-- Your share button code -->
<!-- <div class="fb-share-button"
data-href="https://www.your-domain.com/your-page.html"
data-layout="button_count">
</div> -->
<a href="#">Partager<img src="/user/themes/lecampus/images/fb.svg" alt=""></a>
<a href="#">Partager<img src="/user/themes/lecampus/images/yt.svg" alt=""></a>
<a href="#">Twitter<img src="/user/themes/lecampus/images/in.svg" alt=""></a>
<div class="fb-share-button"
data-href="{{uri.route(true, true)}}"
data-layout="button">
<a href="//www.facebook.com/sharer/sharer.php?u={{uri.route(true, true)}}" class="sharebox" target="_blank" rel =" noopener " onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
Partager
<img src="/user/themes/lecampus/images/fb_black.svg" alt="facebook">
</a>
</div>
<a target="_blank" rel =" noopener " href=" http://www.linkedin.com/shareArticle?mini=true&url={{uri.route(true, true)}}" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
Partager
<img src="/user/themes/lecampus/images/twitter.svg" alt="Twitter">
</a>
<a target="_blank" rel =" noopener " title="Twitter" href="https://twitter.com/share?url={{uri.route(true, true)}}" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
Twitter
<img src="/user/themes/lecampus/images/in_black.svg" alt="linkedin" />
</a>
</div>
<div class="txt">

View File

@ -9,7 +9,7 @@
{% set image = page.media.images|first %}
{% if image %}
<div class="card-image">
<a href="{{ page.url }}">{{ image.cropZoom(800,400).html }}</a>
<a href="{{ page.url }}">{{ image.html('','evenement') }}</a>
</div>
{% endif %}
<div class="card-body">

View File

@ -14,13 +14,15 @@
{{p.content}}
</div>
<div class="img">
{{image}}
{{image.html('','fleche')}}
</div>
{% include 'partials/blog/block_devis.html.twig' %}
{% else %}
<a href="/demande-de-devis">
<div class="title">
<a href="/demande-de-devis">Faire une demande de devis en ligne</a>
Faire une demande de devis en ligne
</div>
</a>
{% endif %}
</section>

View File

@ -2,7 +2,7 @@
<div id="mc_embed_signup">
<form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&amp;id=96d6b6e702" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">Recevoir l'actualité du campus</label></br>
<label for="mce-EMAIL">Recevoir l'actualité du Campus</label></br>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a98b763288f940083bf28857c_96d6b6e702" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="ok" name="subscribe" id="mc-embedded-subscribe" class="button"></div>

View File

@ -1,6 +1,6 @@
{% set options = { items: {'@page.self': '/nos-references'}, 'limit': 1 } %}
{% set image = page.media.images|first %}
{% set h5 = h5 ?: 'h5' %}
{% set h5 = h5 ?: 'h2' %}
<div id="reco">
{% for p in page.collection(options)%}

View File

@ -17,12 +17,12 @@
{{tax}}
</label>
{% endfor %}
<div class="btn-group">
<label class="btn-default archive">
<a href="/archive">archive</a>
</label>
</div>
</div>
</div>
<div class="btn-group ">
<label class="btn-default archive">
<a href="/archive">archive</a>
</label>
</div>
</div>
{% endif %}