Kévin Tessier il y a 7 ans
Parent
commit
fb12225650

+ 1 - 1
logs/popularity/daily.json

@@ -1 +1 @@
-{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":287,"29-05-2018":82}
+{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":287,"29-05-2018":82,"30-05-2018":86,"31-05-2018":1}

+ 1 - 1
logs/popularity/monthly.json

@@ -1 +1 @@
-{"05-2018":932}
+{"05-2018":1019}

+ 1 - 1
logs/popularity/totals.json

@@ -1 +1 @@
-{"\/":922,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
+{"\/":1009,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}

+ 1 - 1
logs/popularity/visitors.json

@@ -1 +1 @@
-{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527603893}
+{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527755938}

Fichier diff supprimé car celui-ci est trop grand
+ 16 - 2
user/themes/anissabensalah/css-compiled/theme.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
user/themes/anissabensalah/css-compiled/theme.min.css


+ 63 - 0
user/themes/anissabensalah/images/fb.svg

@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<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="20"
+   height="20"
+   viewBox="0 0 5.2916665 5.2916668"
+   version="1.1"
+   id="svg826"
+   inkscape:version="0.92.2 2405546, 2018-03-11"
+   sodipodi:docname="fb.svg">
+  <defs
+     id="defs820" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.4"
+     inkscape:cx="16.154809"
+     inkscape:cy="9.7514204"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     units="px"
+     inkscape:window-width="1440"
+     inkscape:window-height="810"
+     inkscape:window-x="472"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata823">
+    <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
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-291.70832)">
+    <path
+       inkscape:connector-curvature="0"
+       id="path825"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:20px;font-family:Crimson;-inkscape-font-specification:'Crimson, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.3086656"
+       d="m 4.2994755,291.70824 q 0.4099657,0 0.6993544,0.2928 0.2928368,0.28937 0.2928368,0.69928 v 3.30697 q 0,0.40993 -0.2928368,0.6993 -0.2893887,0.29279 -0.6993544,0.29279 H 3.6517977 v -2.04963 h 0.6855748 l 0.1033586,-0.79918 H 3.6518046 v -0.50982 q 0,-0.19291 0.07924,-0.28937 0.082683,-0.0964 0.3169509,-0.0964 l 0.4202997,-0.003 v -0.71305 q -0.2170392,-0.0309 -0.6132253,-0.0309 -0.4685345,0 -0.7510338,0.27559 -0.2790545,0.27558 -0.2790545,0.77851 v 0.58904 h -0.689018 v 0.79919 h 0.6890185 v 2.04963 H 0.99218779 q -0.40996579,0 -0.70279909,-0.29281 Q 0,296.4177 0,296.00777 v -3.30697 q 0,-0.40991 0.2893887,-0.69928 0.2928333,-0.2928 0.70279909,-0.2928 z" />
+  </g>
+</svg>

+ 69 - 0
user/themes/anissabensalah/images/yt.svg

@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<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="28.445999"
+   height="20"
+   viewBox="0 0 7.526337 5.2916668"
+   version="1.1"
+   id="svg826"
+   inkscape:version="0.92.2 2405546, 2018-03-11"
+   sodipodi:docname="yt.svg">
+  <defs
+     id="defs820" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.4"
+     inkscape:cx="16.154809"
+     inkscape:cy="9.7514204"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     units="px"
+     inkscape:window-width="1440"
+     inkscape:window-height="810"
+     inkscape:window-x="472"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata823">
+    <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
+     inkscape:label="Calque 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-291.70832)">
+    <g
+       aria-label=""
+       transform="matrix(0.37629549,0,0,0.37629549,-35.160061,223.43811)"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:20px;font-family:Crimson;-inkscape-font-specification:'Crimson, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none"
+       id="flowRoot815">
+      <path
+         inkscape:connector-curvature="0"
+         d="m 101.37315,191.04768 5.40179,-2.79017 -5.40179,-2.82366 z m 2.06474,-9.62053 q 1.875,0 3.61607,0.0558 1.75223,0.0446 2.56697,0.10045 l 0.81473,0.0446 q 0.0112,0 0.18973,0.0223 0.17857,0.0112 0.2567,0.0335 0.0781,0.0112 0.25669,0.0446 0.18974,0.0335 0.32366,0.0893 0.13393,0.0558 0.3125,0.14509 0.17858,0.0893 0.34599,0.22322 0.16741,0.12277 0.32366,0.29018 0.067,0.067 0.16741,0.21205 0.11161,0.13393 0.32366,0.64732 0.22321,0.51339 0.30134,1.12723 0.0893,0.71429 0.13393,1.52902 0.0558,0.80357 0.067,1.26116 v 0.44643 1.51786 q 0.0112,1.6183 -0.2009,3.2366 -0.0781,0.61384 -0.27901,1.11608 -0.2009,0.49107 -0.35715,0.6808 l -0.15625,0.18973 q -0.15625,0.16741 -0.32366,0.30134 -0.16741,0.12277 -0.34598,0.21205 -0.17857,0.0781 -0.3125,0.13393 -0.13393,0.0558 -0.32366,0.0893 -0.17857,0.0335 -0.26786,0.0558 -0.0781,0.0112 -0.25669,0.0335 -0.16741,0.0112 -0.17858,0.0112 -2.80133,0.21205 -6.99776,0.21205 -2.31027,-0.0223 -4.017865,-0.067 -1.696428,-0.0558 -2.232143,-0.0893 l -0.546875,-0.0446 -0.401785,-0.0447 q -0.401786,-0.0558 -0.61384,-0.1116 -0.200892,-0.0558 -0.569196,-0.23438 -0.357143,-0.17857 -0.625,-0.45759 -0.06696,-0.067 -0.178571,-0.20089 -0.100447,-0.14509 -0.323661,-0.65848 -0.212054,-0.5134 -0.290179,-1.12724 -0.08928,-0.71428 -0.145089,-1.51785 -0.04464,-0.81473 -0.0558,-1.27232 v -0.44643 -1.51786 q -0.01116,-1.6183 0.200893,-3.23661 0.07813,-0.61384 0.279018,-1.10491 0.200893,-0.50223 0.357143,-0.69196 l 0.15625,-0.18973 q 0.15625,-0.16741 0.323661,-0.29018 0.16741,-0.13393 0.345982,-0.22322 0.178571,-0.0893 0.3125,-0.14509 0.133928,-0.0558 0.3125,-0.0893 0.189732,-0.0335 0.267857,-0.0446 0.07813,-0.0223 0.256696,-0.0335 0.178572,-0.0223 0.189733,-0.0223 2.801339,-0.20089 6.997771,-0.20089 z"
+         id="path830"
+         style="fill:#ffffff;stroke:none" />
+    </g>
+  </g>
+</svg>

+ 8 - 0
user/themes/anissabensalah/js/script.js

@@ -0,0 +1,8 @@
+function left() {
+  $('#start > div:nth-of-type(4) .red').prependTo( ".content" );
+}
+
+
+jQuery(document).ready(function($) {
+  // left();
+});

+ 4 - 2
user/themes/anissabensalah/scss/theme/fonts.scss

@@ -49,19 +49,21 @@ body{
       h2{
         font-family: $light;
         font-weight: normal;
-        font-size: $font72;
+        font-size: $font48;
       }
       a{
         font-family: $Regular;
         font-size: $font24;
         color: white;
+        }
+      & > a{
         &:nth-of-type(2){
           &::before{
             margin: 0 5px;
             content: "-";
             color: white;
           }
-        }
+      }
       }
     }
   }

+ 25 - 1
user/themes/anissabensalah/scss/theme/section.scss

@@ -1,6 +1,9 @@
 #start{
   div:nth-child(n+3){
     display: flex;
+    &:nth-child(even){
+      flex-direction: row-reverse;
+    }
     & > div{
       width: 50%;
       height: 100vh;
@@ -11,10 +14,21 @@
         .chap{
           margin: auto;
           text-align: center;
+          .reso{
+            justify-content: center;
+            flex-direction: row;
+              a:nth-of-type(1){
+                margin-right: 5px
+              }
+              a:nth-of-type(2){
+                margin-left: 5px;
+              }
+            }
+          }
         }
       }
     }
-  }
+
   .content{
     p{
       text-align: center;
@@ -49,6 +63,16 @@
         margin-left: -250px;
         top: 77%;
       }
+      .reso{
+        margin: 0 auto;
+        padding-top: 30px;
+        a:nth-of-type(1){
+          margin-right: 5px
+        }
+        a:nth-of-type(2){
+          margin-left: 5px;
+        }
+      }
     }
   }
   #biographie, #prochaines_dates{

+ 8 - 1
user/themes/anissabensalah/templates/modular.html.twig

@@ -56,12 +56,19 @@
       </div>
       <div class="title">
         {{page.content}}
+        <div class="reso">
+          <a href="https://www.facebook.com/entreicietailleurs?ref=br_rs" target="_blank">
+            <img src="user/themes/anissabensalah/images/fb.svg" alt="">
+          </a>
+          <a href="https://www.youtube.com/watch?v=atTcasPy3JY" target="_blank">
+            <img src="user/themes/anissabensalah/images/yt.svg" alt="" >
+          </a>
+        </div>
       </div>
     </div>
 
     {% for module in page.collection() %}
     <div id="{{ _self.pageLinkName(module.menu) }}">
-
         {{ module.content }}
       </div>
     {% endfor %}

+ 6 - 3
user/themes/anissabensalah/templates/modular/submodular.html.twig

@@ -13,10 +13,13 @@
         {% endfor %}
 
         <div class="reso">
-          <p>facebook</p>
-          <p>youtube</p>
+          <a href="https://www.facebook.com/entreicietailleurs?ref=br_rs" target="_blank">
+            <img src="user/themes/anissabensalah/images/fb.svg" alt="">
+          </a>
+          <a href="https://www.youtube.com/watch?v=atTcasPy3JY" target="_blank">
+            <img src="user/themes/anissabensalah/images/yt.svg" alt="" >
+          </a>
         </div>
-
       </div>
     </div>
 

+ 3 - 1
user/themes/anissabensalah/templates/modular/text.html.twig

@@ -2,4 +2,6 @@
 {% set first_image = page.media.images %}
 {% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
 
-    {{ content }}
+    <div id="{{page.title}}">
+      {{ content }}
+    </div>

+ 2 - 0
user/themes/anissabensalah/templates/partials/base.html.twig

@@ -24,6 +24,8 @@
         {% do assets.addJs('jquery', 101) %}
         {% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
         {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
+        {% do assets.add('theme://js/script.js') %}
+
     {% endblock %}
     {{ assets.js() }}
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff