first commit prod

This commit is contained in:
Tessier 2020-09-22 16:40:13 +02:00
parent 1d46fd062c
commit 5e0b79dff7
16 changed files with 366 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="50"
height="50"
viewBox="0 0 13.229167 13.229167"
version="1.1"
id="svg8"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="picto_transition.svg">
<defs
id="defs2">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath40102-2">
<path
d="M 0,0 H 23.5 V -23 H 0 Z"
id="path40100-8"
inkscape:connector-curvature="0"
style="clip-rule:evenodd" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath40112-4">
<path
d="M 0,-546.76986 H 1190.5512 V 546.76986 H 0 Z"
id="path40110-7"
inkscape:connector-curvature="0" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath39622-6">
<path
d="M 0,-23.41984 H 1190.5512 V 23.41984 H 0 Z"
id="path39620-9"
inkscape:connector-curvature="0" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath39626-2">
<path
d="M 0,0 H 19 V -19.4103 H 0 Z"
id="path39624-2"
inkscape:connector-curvature="0"
style="clip-rule:evenodd" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath39630-4">
<path
d="M 0,-89.861 H 1190.5512 V 89.861 H 0 Z"
id="path39628-7"
inkscape:connector-curvature="0" />
</clipPath>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="8"
inkscape:cx="43.732134"
inkscape:cy="23.211849"
inkscape:document-units="mm"
inkscape:current-layer="g878"
showgrid="false"
units="px"
inkscape:window-width="1816"
inkscape:window-height="924"
inkscape:window-x="2063"
inkscape:window-y="96"
inkscape:window-maximized="0"
inkscape:document-rotation="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-283.77079)">
<circle
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.19367;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke"
id="path815"
cx="6.6145835"
cy="290.38538"
r="6.5" />
<g
id="g40108-9"
transform="matrix(0.02910455,0,0,-0.02849496,28.470053,297.77305)" />
<g
id="g878"
transform="matrix(0.26458333,0,0,0.26458333,-109.72655,214.01403)">
<path
style="fill:#ffffff;fill-opacity:1;stroke-width:0.538474"
d="m 438.7722,269.23517 c -3.177,0 -5.81594,2.5851 -5.81594,5.81595 v 0.2156 h 4.68535 v 1.72269 h -4.68535 v 1.34619 h 4.68535 v 1.72375 h -4.68535 v 1.34619 h 4.68535 v 1.7227 h -4.68535 v 1.34618 h 4.68535 v 1.7227 h -4.68535 v 6.62366 c 0,3.177 2.58509,5.81595 5.81594,5.81595 h 1.88466 c 3.177,0 5.81594,-2.5851 5.81594,-5.81595 v -6.62366 h -4.36248 v -1.7227 h 4.36248 v -1.34618 h -4.36248 v -1.7227 h 4.36248 v -1.34619 h -4.36248 v -1.72375 h 4.36248 v -1.34619 h -4.36248 v -1.72269 h 4.36248 v -0.2156 c 0,-3.177 -2.58509,-5.81595 -5.81594,-5.81595 z m -8.88483,13.62384 v 11.09235 c 0,4.25396 3.50029,7.75425 7.75424,7.75425 h 0.69939 v 4.36143 h -4.30779 v 1.99299 h 11.36264 v -1.99299 h -4.36248 v -4.36143 h 0.75408 c 4.25395,0 7.75424,-3.44645 7.75424,-7.75425 v -10.9304 h -2.04663 v 10.9304 c 0,3.12316 -2.53061,5.70762 -5.70761,5.70762 h -4.14584 c -3.12315,0 -5.70761,-2.53062 -5.70761,-5.70762 v -11.09235 z"
id="path2" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="player.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
id="svg8"
version="1.1"
viewBox="0 0 26.458333 26.458333"
height="100"
width="100">
<defs
id="defs2" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="22"
inkscape:window-x="0"
inkscape:window-height="1029"
inkscape:window-width="1920"
units="px"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="mm"
inkscape:cy="406.94022"
inkscape:cx="394.29057"
inkscape:zoom="0.7"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Calque 1">
<ellipse
ry="12.589807"
rx="12.589808"
cy="13.229163"
cx="13.229166"
id="circle2060"
style="opacity:0.683;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#009ee0;stroke-width:1.27872;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal;enable-background:new" />
<path
style="fill:none;stroke:#009ee0;stroke-width:1.27872;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new"
d="M 10.141751,7.8181148 18.23811,13.448797 9.9711363,18.653758 Z"
id="path2398-2"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -24,11 +24,21 @@ $current_id[] = get_the_ID();
$args = get_posts(array(
'post_type' => 'post',
'post_status' => 'publish',
'orderby' => 'date',
'order' => 'DESC',
'posts_per_page' => -1,
'orderby' => 'meta_value',
'meta_key' => 'informations_debut_event',
'order' => 'ASC',
'posts_per_page' => 6,
'category_name' => $cat,
'post__not_in' => $current_id,
'meta_query' => array(
array(
'meta_key' => 'informations_end_event',
'value' => date('Y-m-d H:i:s'),
'compare' => '>=',
'type' => 'DATE',
),
),
));
$context['other'] = $args;

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="210mm" viewBox="0 0 210 210"><g fill="#0ff"><path d="M113.611 150.118c1.09-3.082 1.79-8.56-1.005-17.145a1.343 1.343 0 00-.11-.24c-.412-.755-1.101-2.638-.67-3.783a4.286 4.286 0 00-2.294-5.54c-4.615-1.963-12.303-4.838-25.719-7.163a1.429 1.429 0 00-1.634 1.102l-.316 1.43-68.411-12.197a1.429 1.429 0 00-1.591.902l-3.52 9.361a1.429 1.429 0 00.835 1.842l3.347 1.258a1.429 1.429 0 001.841-.835.714.714 0 011.333.501 1.43 1.43 0 102.677 1.006.715.715 0 011.336.508 1.43 1.43 0 002.676 1.006.714.714 0 011.334.5 1.429 1.429 0 102.673 1 .715.715 0 011.34.498 1.43 1.43 0 102.676 1.006.715.715 0 011.336.508 1.43 1.43 0 102.676 1.006.714.714 0 111.334.5 1.43 1.43 0 002.676 1.005.715.715 0 111.34.499 1.435 1.435 0 102.688 1 .714.714 0 111.334.502 1.43 1.43 0 002.676 1.006.715.715 0 111.34.498 1.43 1.43 0 102.676 1.006.714.714 0 111.333.501 1.43 1.43 0 002.676 1.006.714.714 0 111.318.501 1.43 1.43 0 002.676 1.006.714.714 0 111.333.5 1.43 1.43 0 002.677 1.005.714.714 0 111.333.502 1.43 1.43 0 002.676 1.006.714.714 0 011.334.5 1.43 1.43 0 102.676 1.005.725.725 0 111.352.525 1.43 1.43 0 002.676 1.005.714.714 0 011.333.5 1.429 1.429 0 00.835 1.842l10.033 3.773a13.53 13.53 0 005.5 3.6c6.505 2.447 13.526 2.259 17.126 1.929a4.957 4.957 0 004.244-3.266zm-9.559-2.678l-2.806.488a4.286 4.286 0 01-4.927-3.53l-2.23-13.413a4.286 4.286 0 013.53-4.927l2.806-.488a4.286 4.286 0 014.927 3.531l2.213 13.39a4.286 4.286 0 01-3.531 4.926z"/><path overflow="visible" style="text-indent:0;text-transform:none" d="M115.642 31.956c-.718-.115-1.475.438-1.583 1.156-1.664 10.314-3.995 17.385-6.934 21.606-2.939 4.222-6.282 5.689-10.832 5.333-.817-.057-1.577.758-1.462 1.57 2.116 18.408 1.406 29.755-.569 37.191-1.975 7.436-5.112 10.972-8.433 14.052-2.145 1.988-4.248 3.442-5.848 5.541-1.6 2.1-2.546 4.85-2.379 8.818 4.602 9.432 9.876 18.856 14.857 28.195.155.291.418.523.727.64 3.873 1.43 6.567 2.458 10.214 3.822.31.115.66.112.969-.005 9.604-4.352 21.445-7.834 29.716-11.517 2.856-2.983 3.245-6.153 2.711-8.97-.533-2.816-1.735-5.421-2.035-8.214-.438-4.077 1.34-11.048 6.059-18.898 4.718-7.85 12.34-16.612 23.368-24.566.718-.503.726-1.738.013-2.25-3.707-2.735-5.256-6.033-4.711-11.148.544-5.116 3.397-11.993 8.912-20.866.417-.686.07-1.71-.678-2.002l-7.913-2.96a1.415 1.415 0 00-1.513.353c-2.685 2.95-6.12 8.468-10.499 12.681-2.189 2.107-4.585 3.879-7.089 4.8-2.503.923-5.119 1.076-8.047-.02-2.943-1.101-4.824-2.95-6.109-5.322-1.285-2.373-1.9-5.302-2.166-8.356-.535-6.11.489-12.54.294-16.407a1.414 1.414 0 00-.925-1.22l-8.115-3.037z" color="#000"/><path d="M87.671 140.411c1.202-3.04 4.27-7.632 12.013-12.273a1.343 1.343 0 01.24-.11c.807-.298 2.563-1.266 2.99-2.412a4.286 4.286 0 015.367-2.675c4.77 1.55 12.457 4.428 24.103 11.48a1.429 1.429 0 01.51 1.904l-.7 1.286 59.613 35.708a1.429 1.429 0 01.609 1.725l-3.49 9.373a1.429 1.429 0 01-1.838.84l-3.352-1.248a1.429 1.429 0 01-.84-1.838.714.714 0 00-1.335-.497 1.43 1.43 0 11-2.68-.999.715.715 0 00-1.34-.493 1.43 1.43 0 01-2.68-.999.714.714 0 00-1.334-.497 1.429 1.429 0 11-2.673-1.001.715.715 0 00-1.338-.503 1.43 1.43 0 11-2.679-.999.715.715 0 00-1.342-.493 1.43 1.43 0 11-2.678-.999.714.714 0 10-1.335-.498 1.43 1.43 0 01-2.679-.998.715.715 0 10-1.338-.503 1.435 1.435 0 11-2.685-1.01.714.714 0 10-1.335-.497 1.43 1.43 0 01-2.68-.999.715.715 0 10-1.337-.503 1.43 1.43 0 11-2.679-.998.714.714 0 10-1.335-.497 1.43 1.43 0 01-2.679-.998.714.714 0 10-1.323-.487 1.43 1.43 0 01-2.678-.998.714.714 0 10-1.335-.498 1.43 1.43 0 01-2.679-.999.714.714 0 10-1.335-.496 1.43 1.43 0 01-2.679-.999.714.714 0 00-1.334-.498 1.43 1.43 0 11-2.68-.998.725.725 0 10-1.363-.492 1.43 1.43 0 01-2.68-.998.714.714 0 00-1.334-.498 1.429 1.429 0 01-1.838.841l-10.045-3.74a13.53 13.53 0 01-6.512-.894c-6.514-2.425-11.687-7.175-14.186-9.787a4.957 4.957 0 01-1.058-5.25zm8.97 4.256l1.796 2.21a4.286 4.286 0 006.034.57l10.488-8.653a4.286 4.286 0 00.57-6.034l-1.797-2.21a4.286 4.286 0 00-6.034-.571l-10.458 8.648a4.286 4.286 0 00-.57 6.035z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="210mm" viewBox="0 0 210 210"><g fill="#0ff"><path d="M113.611 150.118c1.09-3.082 1.79-8.56-1.005-17.145a1.343 1.343 0 00-.11-.24c-.412-.755-1.101-2.638-.67-3.783a4.286 4.286 0 00-2.294-5.54c-4.615-1.963-12.303-4.838-25.719-7.163a1.429 1.429 0 00-1.634 1.102l-.316 1.43-68.411-12.197a1.429 1.429 0 00-1.591.902l-3.52 9.361a1.429 1.429 0 00.835 1.842l3.347 1.258a1.429 1.429 0 001.841-.835.714.714 0 011.333.501 1.43 1.43 0 102.677 1.006.715.715 0 011.336.508 1.43 1.43 0 002.676 1.006.714.714 0 011.334.5 1.429 1.429 0 102.673 1 .715.715 0 011.34.498 1.43 1.43 0 102.676 1.006.715.715 0 011.336.508 1.43 1.43 0 102.676 1.006.714.714 0 111.334.5 1.43 1.43 0 002.676 1.005.715.715 0 111.34.499 1.435 1.435 0 102.688 1 .714.714 0 111.334.502 1.43 1.43 0 002.676 1.006.715.715 0 111.34.498 1.43 1.43 0 102.676 1.006.714.714 0 111.333.501 1.43 1.43 0 002.676 1.006.714.714 0 111.318.501 1.43 1.43 0 002.676 1.006.714.714 0 111.333.5 1.43 1.43 0 002.677 1.005.714.714 0 111.333.502 1.43 1.43 0 002.676 1.006.714.714 0 011.334.5 1.43 1.43 0 102.676 1.005.725.725 0 111.352.525 1.43 1.43 0 002.676 1.005.714.714 0 011.333.5 1.429 1.429 0 00.835 1.842l10.033 3.773a13.53 13.53 0 005.5 3.6c6.505 2.447 13.526 2.259 17.126 1.929a4.957 4.957 0 004.244-3.266zm-9.559-2.678l-2.806.488a4.286 4.286 0 01-4.927-3.53l-2.23-13.413a4.286 4.286 0 013.53-4.927l2.806-.488a4.286 4.286 0 014.927 3.531l2.213 13.39a4.286 4.286 0 01-3.531 4.926z"/><path overflow="visible" style="text-indent:0;text-transform:none" d="M115.642 31.956c-.718-.115-1.475.438-1.583 1.156-1.664 10.314-3.995 17.385-6.934 21.606-2.939 4.222-6.282 5.689-10.832 5.333-.817-.057-1.577.758-1.462 1.57 2.116 18.408 1.406 29.755-.569 37.191-1.975 7.436-5.112 10.972-8.433 14.052-2.145 1.988-4.248 3.442-5.848 5.541-1.6 2.1-2.546 4.85-2.379 8.818 4.602 9.432 9.876 18.856 14.857 28.195.155.291.418.523.727.64 3.873 1.43 6.567 2.458 10.214 3.822.31.115.66.112.969-.005 9.604-4.352 21.445-7.834 29.716-11.517 2.856-2.983 3.245-6.153 2.711-8.97-.533-2.816-1.735-5.421-2.035-8.214-.438-4.077 1.34-11.048 6.059-18.898 4.718-7.85 12.34-16.612 23.368-24.566.718-.503.726-1.738.013-2.25-3.707-2.735-5.256-6.033-4.711-11.148.544-5.116 3.397-11.993 8.912-20.866.417-.686.07-1.71-.678-2.002l-7.913-2.96a1.415 1.415 0 00-1.513.353c-2.685 2.95-6.12 8.468-10.499 12.681-2.189 2.107-4.585 3.879-7.089 4.8-2.503.923-5.119 1.076-8.047-.02-2.943-1.101-4.824-2.95-6.109-5.322-1.285-2.373-1.9-5.302-2.166-8.356-.535-6.11.489-12.54.294-16.407a1.414 1.414 0 00-.925-1.22l-8.115-3.037z" color="#000"/><path d="M87.671 140.411c1.202-3.04 4.27-7.632 12.013-12.273a1.343 1.343 0 01.24-.11c.807-.298 2.563-1.266 2.99-2.412a4.286 4.286 0 015.367-2.675c4.77 1.55 12.457 4.428 24.103 11.48a1.429 1.429 0 01.51 1.904l-.7 1.286 59.613 35.708a1.429 1.429 0 01.609 1.725l-3.49 9.373a1.429 1.429 0 01-1.838.84l-3.352-1.248a1.429 1.429 0 01-.84-1.838.714.714 0 00-1.335-.497 1.43 1.43 0 11-2.68-.999.715.715 0 00-1.34-.493 1.43 1.43 0 01-2.68-.999.714.714 0 00-1.334-.497 1.429 1.429 0 11-2.673-1.001.715.715 0 00-1.338-.503 1.43 1.43 0 11-2.679-.999.715.715 0 00-1.342-.493 1.43 1.43 0 11-2.678-.999.714.714 0 10-1.335-.498 1.43 1.43 0 01-2.679-.998.715.715 0 10-1.338-.503 1.435 1.435 0 11-2.685-1.01.714.714 0 10-1.335-.497 1.43 1.43 0 01-2.68-.999.715.715 0 10-1.337-.503 1.43 1.43 0 11-2.679-.998.714.714 0 10-1.335-.497 1.43 1.43 0 01-2.679-.998.714.714 0 10-1.323-.487 1.43 1.43 0 01-2.678-.998.714.714 0 10-1.335-.498 1.43 1.43 0 01-2.679-.999.714.714 0 10-1.335-.496 1.43 1.43 0 01-2.679-.999.714.714 0 00-1.334-.498 1.43 1.43 0 11-2.68-.998.725.725 0 10-1.363-.492 1.43 1.43 0 01-2.68-.998.714.714 0 00-1.334-.498 1.429 1.429 0 01-1.838.841l-10.045-3.74a13.53 13.53 0 01-6.512-.894c-6.514-2.425-11.687-7.175-14.186-9.787a4.957 4.957 0 01-1.058-5.25zm8.97 4.256l1.796 2.21a4.286 4.286 0 006.034.57l10.488-8.653a4.286 4.286 0 00.57-6.034l-1.797-2.21a4.286 4.286 0 00-6.034-.571l-10.458 8.648a4.286 4.286 0 00-.57 6.035z"/></g></svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -75,7 +75,6 @@ function paralax() {
}
function isotope() {
var $grid = $('.grid').isotope({
percentPosition: true,
itemSelector: '.thumbnails',
@ -126,11 +125,105 @@ function scrollto(){
});
}
function callPlayer(frame_id, func, args) {
if (window.jQuery && frame_id instanceof jQuery) frame_id = frame_id.get(0).id;
var iframe = document.getElementById(frame_id);
if (iframe && iframe.tagName.toUpperCase() != 'IFRAME') {
iframe = iframe.getElementsByTagName('iframe')[0];
}
// When the player is not ready yet, add the event to a queue
// Each frame_id is associated with an own queue.
// Each queue has three possible states:
// undefined = uninitialised / array = queue / .ready=true = ready
console.log('domReady',iframe);
if (!callPlayer.queue) callPlayer.queue = {};
var queue = callPlayer.queue[frame_id],
domReady = document.readyState == 'complete';
if (domReady && !iframe) {
// DOM is ready and iframe does not exist. Log a message
window.console && console.log('callPlayer: Frame not found; id=' + frame_id);
if (queue) clearInterval(queue.poller);
} else if (func === 'listening') {
// Sending the "listener" message to the frame, to request status updates
if (iframe && iframe.contentWindow) {
func = '{"event":"listening","id":' + JSON.stringify(''+frame_id) + '}';
iframe.contentWindow.postMessage(func, '*');
}
} else if ((!queue || !queue.ready) && (
!domReady ||
iframe && !iframe.contentWindow ||
typeof func === 'function')) {
if (!queue) queue = callPlayer.queue[frame_id] = [];
queue.push([func, args]);
if (!('poller' in queue)) {
// keep polling until the document and frame is ready
queue.poller = setInterval(function() {
callPlayer(frame_id, 'listening');
}, 250);
// Add a global "message" event listener, to catch status updates:
messageEvent(1, function runOnceReady(e) {
if (!iframe) {
iframe = document.getElementById(frame_id);
if (!iframe) return;
if (iframe.tagName.toUpperCase() != 'IFRAME') {
iframe = iframe.getElementsByTagName('iframe')[0];
if (!iframe) return;
}
}
if (e.source === iframe.contentWindow) {
// Assume that the player is ready if we receive a
// message from the iframe
clearInterval(queue.poller);
queue.ready = true;
messageEvent(0, runOnceReady);
// .. and release the queue:
while (tmp = queue.shift()) {
callPlayer(frame_id, tmp[0], tmp[1]);
}
}
}, false);
}
} else if (iframe && iframe.contentWindow) {
// When a function is supplied, just call it (like "onYouTubePlayerReady")
if (func.call) return func();
// Frame exists, send message
iframe.contentWindow.postMessage(JSON.stringify({
"event": "command",
"func": func,
"args": args || [],
"id": frame_id
}), "*");
}
function messageEvent(add, listener) {
var w3 = add ? window.addEventListener : window.removeEventListener;
w3 ?
w3('message', listener, !1)
:
(add ? window.attachEvent : window.detachEvent)('onmessage', listener);
}
}
function setupPlayers() {
$('#section_MineVideo .cover').click(function(){
$(this).fadeOut();
var id = $(this).parent().find('iframe').attr('id');
callPlayer(id, function() {
callPlayer(id, "playVideo");
});
});
}
$( document ).ready(function() {
burger();
click_nav();
slides();
isotope();
setupPlayers();
// custom_player();
// masonry();
paralax();
// drag();

View File

@ -1,4 +1,7 @@
body{
a{
color: black;
}
& > footer{
box-shadow: inset 0px 10px 10px rgba(0, 0, 0, 0.05);
padding-top: 2rem;

View File

@ -30,10 +30,12 @@
&.musiques{
background-image: url("../../assets/images/svg/picto_musique.svg");
}
&.autres{
&.transition_urbaine{
background-image: url("../../assets/images/svg/picto_transition.svg");
}
&.transition_urbaine{
background-image: url("../../assets/images/svg/picto_autres.svg");
}
}
a{
text-decoration: none;

View File

@ -150,6 +150,7 @@
border:5px solid $colorRed;
padding: 2rem;
height: calc(100% - 4rem);
background: white;
h4{
font-size: 1rem;
line-height: 1.2;
@ -239,8 +240,34 @@
width: 100%;
height: 100%;
}
}
.cover{
position: absolute;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
height: 100%;
display: flex;
#thumbnails{
z-index: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
#player{
z-index: 999;
margin: auto;
cursor: pointer;
&:hover{
opacity: 0.8;
}
}
}
}
}
}
}

View File

@ -42,12 +42,16 @@
</div>
</section>
<section id="section_MineVideo" class="row ">
<section id="section_MineVideo" class="row">
<div class="container-fluid">
<h3>La Mine en vidéo</h3>
<h3>Transition urbaine</h3>
{% if post.video_la_mine %}
<figure class="row mx-0">
<iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
<div class="cover">
<img id="thumbnails" src="http://img.youtube.com/vi/XUsBV5mXJGs/maxresdefault.jpg" alt="thumbnail">
<img id="player" src="{{theme.link}}/dist/assets/images/player.svg" alt="player">
</div>
<iframe id="playVideo" src="https://www.youtube.com/embed/XUsBV5mXJGs?enablejsapi=1" frameborder="0" allowfullscreen></iframe>
</figure>
{% endif %}
</div>

View File

@ -5,6 +5,7 @@
</figure>
<div class="col-12 col-sm-6 col-md">
<strong><a href="https://numerique.ressourcerie-la-mine.com/">La Mine Numérique</a></strong>
{{options.texte_horaire }}
</div>
@ -36,7 +37,7 @@
<div class="row">
<div id="mc_embed_signup" class="col-12">
<form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&amp;id=364a0fe850" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<form action="https://ressourcerie-la-mine.us20.list-manage.com/subscribe/post?u=e7a0c89dae3ca6b1d5d904aea&amp;id=1537dadb5d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div class="d-flex" id="mc_embed_signup_scroll">
<div><p>Recevoir l'actualité de La Mine</p></div>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="E-mail" required>

View File

@ -12,7 +12,11 @@
<figure>
<span class="icone_cat {{cat}}"></span>
<div class="overflow-hidden">
<img class="lazyload" src="{{ Image(item.image_event).src|resize(600,500) }}" data-original="{{ Image(item.image_event).src|resize(600,500) }}">
{% if item.ajouter_un_media_0_video %}
<img class="lazyload" src="{{ item.thumbnail|resize(600,500) }}" data-original="{{ item.thumbnail|resize(600,500) }}">
{% else %}
<img class="lazyload" src="{{ Image(item.image_event).src|resize(600,500) }}" data-original="{{ Image(item.image_event).src|resize(600,500) }}">
{% endif %}
</div>
<figcaption class="wrap_content">
@ -29,9 +33,7 @@
<span class="end">
à <time datetime="{{item.informations_fin_event|date("G:i")}}">{{item.informations_fin_event|date("G:i")}}</time>
</span>
{% else %}
<span class="start">
Du <time datetime="{{item.informations_debut_event|date("j F Y") }}">{{item.informations_debut_event|date("j F Y") }}</time>
à <time datetime="{{item.informations_debut_event|date("G:i")}}">{{item.informations_debut_event|date("G:i")}}</time>
@ -40,7 +42,6 @@
<br>Au <time datetime="{{item.informations_fin_event|date("j F Y") }}">{{item.informations_fin_event|date("j F Y") }}</time>
à <time datetime="{{item.informations_fin_event|date("G:i")}}">{{item.informations_fin_event|date("G:i")}}</time></br>
</span>
{% endif %}
</div>
<div class="places">{{item.informations_lieu}}</div>

View File

@ -7,7 +7,7 @@
</div>
{% for item in posts %}
<article class="row tpsF">
<article id="{{item.slug}}" class="row tpsF">
<aside class="sidebar col-md-4">
<div class="title">
<h3>{{item.title}}</h3>

View File

@ -2,6 +2,7 @@
<div class="row">
{% for item in tpsF %}
<article class="thumbnails col-12 col-md-6 col-lg {{cat}}">
<a rel="noreferrer" href="{{site.url}}/les-temps-forts/#{{item.slug}}">
<figure>
<div class="overflow-hidden">
<img src="{{item.thumbnail.src|resize(500,500) }}" alt="{{item.thumbnail.alt}}" title="{{item.thumbnail.title}}">
@ -19,6 +20,7 @@
</figcaption>
</figure>
</a>
</article>
{% endfor %}
</div>

View File

@ -15,7 +15,11 @@
</header>
<figure class="__img_event col-lg-6 col-12">
<img src="{{ Image(post.image_event).src }}" />
{% if post.ajouter_un_media_0_image_event %}
<img src="{{ Image(post.ajouter_un_media_0_image_event).src }}" />
{% else %}
<iframe width="560" height="315" src="{{post.ajouter_un_media_0_video}}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</figure>
<div class="article-content col-lg-6 col-12 my-3 my-lg-0">