Kévin Tessier 6 роки тому
батько
коміт
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}

Різницю між файлами не показано, бо вона завелика
+ 16 - 2
user/themes/anissabensalah/css-compiled/theme.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
user/themes/anissabensalah/css-compiled/theme.min.css


Різницю між файлами не показано, бо вона завелика
+ 60 - 0
user/themes/anissabensalah/images/fb.svg


Різницю між файлами не показано, бо вона завелика
+ 63 - 0
user/themes/anissabensalah/images/yt.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() }}
 

Деякі файли не було показано, через те що забагато файлів було змінено