Selaa lähdekoodia

add projet + cat + nav

Kévin Tessier 5 vuotta sitten
vanhempi
commit
21ea695a04
30 muutettua tiedostoa jossa 65 lisäystä ja 30 poistoa
  1. BIN
      images/3/c/1/d/c/3c1dcf1d49d413c995098d29ab6e529c78f8a1c4-airbag2.jpeg
  2. BIN
      images/4/8/0/6/d/4806d1503072317e970373004eb7d258fdb19c97-nvivryw.jpeg
  3. BIN
      images/4/8/6/4/5/48645bfdbd0690270711acd53344da9b83990d66-airbag2.jpeg
  4. BIN
      images/5/9/1/1/7/591176daff377b830cef5abce3917f90ac1dc0d5-nvivryw.jpeg
  5. BIN
      images/8/6/5/e/a/865ea88ab0c3a6c33c73664e15e2e580cd34fbea-airbag2.jpeg
  6. BIN
      images/a/1/e/0/2/a1e0231bbf74788a55f58f1fdb3683ddf2c47950-airbag2.jpeg
  7. BIN
      images/a/4/0/6/b/a406bd771b16ace843e080e6829cc20183ef2dbf-airbag2.jpeg
  8. BIN
      images/a/8/1/a/8/a81a8d3169d494829bba63bf0d2209f021b1b2ce-nvivryw.jpeg
  9. BIN
      images/b/7/5/7/f/b757fe3245be34b0e962d09fbdb1b828e63efd23-nvivryw.jpeg
  10. BIN
      images/e/d/5/a/c/ed5ac00dc51a3cbc8bac0ad3bcf0a1c8740a7e9b-airbag2.jpeg
  11. BIN
      images/f/7/2/b/a/f72babb97d3487514cf2a2bed897f8c35b14ff94-airbag2.jpeg
  12. BIN
      images/f/9/2/f/e/f92fe23a6e1ebaac594178f9518db2e7c6d8e9e7-nvivryw.jpeg
  13. 1 1
      logs/popularity/daily.json
  14. 1 1
      logs/popularity/monthly.json
  15. 1 1
      logs/popularity/totals.json
  16. 1 1
      logs/popularity/visitors.json
  17. 4 2
      user/pages/02.projets/05.projets-n-1/item.md
  18. BIN
      user/pages/02.projets/07.projets-n/Airbag_2.jpg
  19. 15 0
      user/pages/02.projets/07.projets-n/item.md
  20. BIN
      user/pages/02.projets/07.projets-n/nv_ivry_w.jpg
  21. BIN
      user/pages/02.projets/08.projets-n-2/Airbag_2.jpg
  22. 15 0
      user/pages/02.projets/08.projets-n-2/item.md
  23. BIN
      user/pages/02.projets/08.projets-n-2/nv_ivry_w.jpg
  24. 7 7
      user/themes/hehe/css-compiled/template.css
  25. 0 0
      user/themes/hehe/css-compiled/template.min.css
  26. BIN
      user/themes/hehe/images/hehe_logo.jpg
  27. 10 11
      user/themes/hehe/js/site.js
  28. 5 2
      user/themes/hehe/scss/template/_header.scss
  29. 4 3
      user/themes/hehe/scss/template/_section.scss
  30. 1 1
      user/themes/hehe/templates/partials/base.html.twig

BIN
images/3/c/1/d/c/3c1dcf1d49d413c995098d29ab6e529c78f8a1c4-airbag2.jpeg


BIN
images/4/8/0/6/d/4806d1503072317e970373004eb7d258fdb19c97-nvivryw.jpeg


BIN
images/4/8/6/4/5/48645bfdbd0690270711acd53344da9b83990d66-airbag2.jpeg


BIN
images/5/9/1/1/7/591176daff377b830cef5abce3917f90ac1dc0d5-nvivryw.jpeg


BIN
images/8/6/5/e/a/865ea88ab0c3a6c33c73664e15e2e580cd34fbea-airbag2.jpeg


BIN
images/a/1/e/0/2/a1e0231bbf74788a55f58f1fdb3683ddf2c47950-airbag2.jpeg


BIN
images/a/4/0/6/b/a406bd771b16ace843e080e6829cc20183ef2dbf-airbag2.jpeg


BIN
images/a/8/1/a/8/a81a8d3169d494829bba63bf0d2209f021b1b2ce-nvivryw.jpeg


BIN
images/b/7/5/7/f/b757fe3245be34b0e962d09fbdb1b828e63efd23-nvivryw.jpeg


BIN
images/e/d/5/a/c/ed5ac00dc51a3cbc8bac0ad3bcf0a1c8740a7e9b-airbag2.jpeg


BIN
images/f/7/2/b/a/f72babb97d3487514cf2a2bed897f8c35b14ff94-airbag2.jpeg


BIN
images/f/9/2/f/e/f92fe23a6e1ebaac594178f9518db2e7c6d8e9e7-nvivryw.jpeg


+ 1 - 1
logs/popularity/daily.json

@@ -1 +1 @@
-{"01-08-2018":19,"02-08-2018":424,"20-08-2018":112,"21-08-2018":214,"22-08-2018":293}
+{"01-08-2018":19,"02-08-2018":424,"20-08-2018":112,"21-08-2018":214,"22-08-2018":385}

+ 1 - 1
logs/popularity/monthly.json

@@ -1 +1 @@
-{"08-2018":1062}
+{"08-2018":1154}

+ 1 - 1
logs/popularity/totals.json

@@ -1 +1 @@
-{"\/":544,"\/projets":99,"\/news":109,"\/a-propros":42,"\/projets-n-1":1,"\/projets\/projets-n-1":244,"\/projets\/projet-n-2":23}
+{"\/":600,"\/projets":99,"\/news":120,"\/a-propros":46,"\/projets-n-1":1,"\/projets\/projets-n-1":252,"\/projets\/projet-n-2":26,"\/projets\/projets-n-2":4,"\/projets\/projets-n":6}

+ 1 - 1
logs/popularity/visitors.json

@@ -1 +1 @@
-{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1534941970}
+{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1534945642}

+ 4 - 2
user/pages/02.projets/05.projets-n-1/item.md

@@ -6,8 +6,10 @@ taxonomy:
         - 'Catégorie 1'
         - 'catégorie 2'
     tag:
-        - 'catégrie 1'
-        - 'cat 3'
+        - clouds
+        - train
+        - 'urban space'
+        - commissions
 continue_link: true
 ---
 

BIN
user/pages/02.projets/07.projets-n/Airbag_2.jpg


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 15 - 0
user/pages/02.projets/07.projets-n/item.md


BIN
user/pages/02.projets/07.projets-n/nv_ivry_w.jpg


BIN
user/pages/02.projets/08.projets-n-2/Airbag_2.jpg


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 15 - 0
user/pages/02.projets/08.projets-n-2/item.md


BIN
user/pages/02.projets/08.projets-n-2/nv_ivry_w.jpg


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 7 - 7
user/themes/hehe/css-compiled/template.css


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
user/themes/hehe/css-compiled/template.min.css


BIN
user/themes/hehe/images/hehe_logo.jpg


+ 10 - 11
user/themes/hehe/js/site.js

@@ -1,12 +1,3 @@
-function cat() {
-  // var $arrow = $('.navbar > ul > li:nth-child(1)::after');
-  var $tag = $('.tags');
-
-  $('header').click(function(event) {
-    $tag.toggleClass('visible');
-  });
-}
-
 function hover() {
   var $work = $('.navbar > ul > li:nth-child(1)');
 
@@ -20,12 +11,20 @@ function hover() {
 
       $( this ).removeClass( "hover" );
       $(this).parents().find('.tags').removeClass("visible");
-      
+
     }
   );
 }
 
+function active() {
+  var $work = $('.navbar > ul > li:nth-child(1)');
+
+  $work.click(function(event) {
+    $(this).parents().find('.tags').toggleClass("active");
+  });
+}
+
 jQuery(document).ready(function($) {
-  cat();
+  active();
   hover();
 });

+ 5 - 2
user/themes/hehe/scss/template/_header.scss

@@ -8,6 +8,7 @@ header{
   justify-content: space-between;
   background-color: white;
   border-bottom: 2px solid rgb(0,0,0);
+  z-index: 999;
   h1{
     margin: auto 0;
   }
@@ -52,7 +53,7 @@ header{
   ul.tags{
     display: none;
   }
-  ul.visible{
+  ul.visible, ul.active{
     display: flex;
     position: absolute;
     top: 50px;
@@ -61,10 +62,12 @@ header{
     border-left: 2px solid black;
     border-bottom: 2px solid black;
     z-index: 999;
+    background: white;
     a{
       display: flex;
-      width: 100px;
+      width: auto;
       height: 50px;
+      margin: 0 20px;
       li{
         margin: auto;
       }

+ 4 - 3
user/themes/hehe/scss/template/_section.scss

@@ -1,14 +1,16 @@
 #start{
   margin-top: 50px;
+
   //home
   .item{
     display: flex;
+    flex-wrap: wrap;
     .card{
       position: relative;
-      width: calc(100% / 3);
+      width: calc((100% / 3) - 3.5px);
       overflow-y: hidden;
       padding-bottom: 5px;
-      &:nth-child(2n+2){
+      &:nth-child(3n+2){
         margin: 0 5px;
       }
       .card-image:hover{
@@ -29,7 +31,6 @@
       .card-title{
         pointer-events: none;
         position: absolute;
-        // top: 105%;
         left: 50%;
         opacity: 0;
         transition: all 1s;

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

@@ -12,7 +12,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1">
     {% include 'partials/metadata.html.twig' %}
 
-    <link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
+    <link rel="icon" type="image/png" href="{{ url('theme://images/hehe_logo.jpg') }}" />
     <link rel="canonical" href="{{ page.url(true, true) }}" />
 
     {% block stylesheets %}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä