Jelajahi Sumber

add fullpage

Kévin Tessier 6 tahun lalu
induk
melakukan
6b741a9666

+ 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,"30-05-2018":86,"31-05-2018":252,"01-06-2018":177}
+{"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":252,"01-06-2018":249}

+ 1 - 1
logs/popularity/monthly.json

@@ -1 +1 @@
-{"05-2018":1270,"06-2018":177}
+{"05-2018":1270,"06-2018":249}

+ 1 - 1
logs/popularity/totals.json

@@ -1 +1 @@
-{"\/":1437,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
+{"\/":1509,"\/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":1527865001}
+{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527879859}

File diff ditekan karena terlalu besar
+ 34 - 32
user/themes/anissabensalah/css-compiled/theme.css


File diff ditekan karena terlalu besar
+ 0 - 0
user/themes/anissabensalah/css-compiled/theme.min.css


File diff ditekan karena terlalu besar
+ 7 - 0
user/themes/anissabensalah/js/jquery.fullpage.extensions.min.js


File diff ditekan karena terlalu besar
+ 7 - 0
user/themes/anissabensalah/js/jquery.slimscroll.min.js


+ 6 - 4
user/themes/anissabensalah/js/script.js

@@ -41,12 +41,14 @@ function activenav() {
   });
 };
 
-function iswhite() {
-   $('.navigation li').midnight();
+function fullpage() {
+   	$('#start').fullpage({
+      anchors: ['home', 'fullvideo', 'vidéos', 'biographie', 'photographie', 'presse', 'prochaines_dates', 'contact'],
+          scrollOverflow: true
+    });
 };
 
 $(document).ready(function() {
-  // divisionnav();
+  fullpage();
   activenav();
-  iswhite();
 });

File diff ditekan karena terlalu besar
+ 5 - 0
user/themes/anissabensalah/js/scrolloverflow.min.js


+ 1 - 1
user/themes/anissabensalah/scss/theme/fonts.scss

@@ -40,7 +40,7 @@ body{
         color: white;
     }
   }
-    #home, #contact{
+    .home, .contact{
       h1{
         font-family: $Thin;
         font-weight: normal;

+ 11 - 8
user/themes/anissabensalah/scss/theme/section.scss

@@ -7,6 +7,9 @@
     &:nth-child(even){
       flex-direction: row-reverse;
     }
+    & > div {
+      width: 100%;
+      display: flex;
     & > div{
       width: 50%;
       overflow: auto;
@@ -42,6 +45,7 @@
         }
       }
     }
+    }
 
   .content{
     p{
@@ -53,13 +57,12 @@
     margin: 0;
   }
 
-  #home{
+  .home{
     display: flex;
     .visu-album{
       position: absolute;
     }
     .title{
-        // z-index: 998;
         width: 100%;
         display: flex;
         flex-wrap: wrap;
@@ -103,7 +106,7 @@
       }
     }
   }
-  #biographie, #prochaines_dates{
+  .biographie, .prochaines_dates{
     .content{
       padding: 100px;
       p:last-child{
@@ -112,14 +115,14 @@
     }
   }
 
-#photographie{
+.photographie{
   p{
     margin: 0;
   }
 }
-  #presse{
+  .presse{
 
-    #sovaj, #matriz{
+    .sovaj, .matriz{
       display: flex;
       flex-flow: wrap;
       justify-content: center;
@@ -146,12 +149,12 @@
     }
   }
 
-  #contact{
+  .contact{
     background-image: linear-gradient(#98272D, #4f100B);
     display: flex;
     width: 100%;
     height: 100vh;
-    #Contact{
+    .Contact{
       flex-direction: column;
       background-image: none;
       height: auto!important;

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

@@ -16,12 +16,12 @@
     {% if show_onpage_menu %}
         <script>
         // singlePageNav initialization & configuration
-        $('ul.navigation').singlePageNav({
-            offset: $('#header').outerHeight(),
-            filter: ':not(.external)',
-            updateHash: true,
-            currentClass: 'active'
-        });
+        // $('ul.navigation').singlePageNav({
+        //     offset: $('#header').outerHeight(),
+        //     filter: ':not(.external)',
+        //     updateHash: true,
+        //     currentClass: 'active'
+        // });
         </script>
     {% endif %}
 {% endblock %}
@@ -50,7 +50,7 @@
 
 {% block body %}
 
-    <div id="{{ _self.pageLinkName(page.menu) }}" class="section">
+    <div class=" {{ _self.pageLinkName(page.menu) }} section">
       <div class="visu-album">
         {% set header_image_media = page.media.images|first %}
         {{header_image_media}}
@@ -69,7 +69,7 @@
     </div>
 
     {% for module in page.collection() %}
-    <div id="{{ _self.pageLinkName(module.menu) }}" class="section">
+    <div class=" {{ _self.pageLinkName(module.menu) }} section">
         {{ module.content }}
       </div>
     {% endfor %}

+ 3 - 1
user/themes/anissabensalah/templates/partials/base.html.twig

@@ -24,8 +24,10 @@
         {% 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/fullPage.js') %}
         {% do assets.add('theme://js/midnight.jquery.min.js') %}
+        {% do assets.add('theme://js/jquery.slimscroll.min.js') %}
+        {% do assets.add('theme://js/scrolloverflow.min.js') %}
+        {% do assets.add('theme://js/fullPage.js') %}
         {% do assets.add('theme://js/script.js') %}
     {% endblock %}
     {{ assets.js() }}

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini