Explorar el Código

actu & projet clickable header #1877

bach hace 2 años
padre
commit
095e87de47

+ 13 - 13
config/sync/page_manager.page_variant.node_view-panels_variant-1.yml

@@ -5,7 +5,7 @@ dependencies:
   config:
     - page_manager.page.node_view
   content:
-    - 'block_content:custom:acfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344'
+    - 'block_content:custom:e6f826c7-4a3e-479b-8e83-2245dee7f931'
   module:
     - block_content
     - ctools_block
@@ -230,18 +230,6 @@ variant_settings:
       region: top
       weight: -2
       uuid: 4f0068bc-e2b1-4f5c-b7d9-3dabbbedd2f3
-    e1eae88c-51bd-4ac6-9fe9-aed0600338f5:
-      id: 'block_content:acfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344'
-      label: 'Les actualités'
-      label_display: '0'
-      provider: block_content
-      status: true
-      info: ''
-      view_mode: full
-      context_mapping: {  }
-      region: top
-      weight: -6
-      uuid: e1eae88c-51bd-4ac6-9fe9-aed0600338f5
     7d119477-5ae4-487c-a389-4c492e102bde:
       id: 'entity_field:node:field_partenaires'
       label: Partenaires
@@ -259,6 +247,18 @@ variant_settings:
       region: second
       weight: -4
       uuid: 7d119477-5ae4-487c-a389-4c492e102bde
+    d2dc69a3-5c0d-423e-87a9-cf92bd2d9f4e:
+      id: 'block_content:e6f826c7-4a3e-479b-8e83-2245dee7f931'
+      label: 'Les actualités lien'
+      label_display: '0'
+      provider: block_content
+      status: true
+      info: ''
+      view_mode: full
+      context_mapping: {  }
+      region: top
+      weight: -6
+      uuid: d2dc69a3-5c0d-423e-87a9-cf92bd2d9f4e
   page_title: ''
   layout: layout_threecol_25_50_25
   layout_settings:

+ 14 - 14
config/sync/structure_sync.data.yml

@@ -292,6 +292,19 @@ menus:
     langcode: fr
     uuid: 4d296aca-5316-4106-828a-01624ca7853e
 blocks:
+  -
+    info: 'Les actualités lien'
+    langcode: fr
+    uuid: e6f826c7-4a3e-479b-8e83-2245dee7f931
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<p><a href=\"/actus\">Les Actualités</a></p>\r\n"
+          summary: ''
+          format: wysiwyg
   -
     info: 'Projets lauréats'
     langcode: fr
@@ -302,7 +315,7 @@ blocks:
     fields:
       body:
         -
-          value: "<p>Projets Lauréats</p>\r\n"
+          value: "<p><a href=\"/projets\">Projets Lauréats</a></p>\r\n"
           summary: ''
           format: wysiwyg
   -
@@ -332,19 +345,6 @@ blocks:
           value: "<p>Les actualités</p>\r\n"
           summary: ''
           format: wysiwyg
-  -
-    info: 'Base de données'
-    langcode: fr
-    uuid: 4e5df355-e76c-4e44-bec0-e211d94f2640
-    bundle: custom
-    revision_id: null
-    rev_id_current: null
-    fields:
-      body:
-        -
-          value: "<p>Base de données</p>\r\n"
-          summary: ''
-          format: wysiwyg
   -
     info: 'Ressource form'
     langcode: fr

+ 5 - 2
web/themes/custom/eql/css-compiled/styles.css

@@ -728,7 +728,7 @@ a {
       .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top {
         display: flex;
         flex-direction: column; } }
-    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-block-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344 {
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-block-contente6f826c7-4a3e-479b-8e83-2245dee7f931 {
       grid-column: 1 / span 10;
       width: 100%;
       font-family: 'Source Code Pro';
@@ -741,6 +741,8 @@ a {
       padding-top: 1rem;
       padding-bottom: 0.5rem;
       vertical-align: middle; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-block-contente6f826c7-4a3e-479b-8e83-2245dee7f931 a {
+        color: white; }
     .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-actu-type {
       padding-top: 2rem;
       grid-column: 2; }
@@ -3160,9 +3162,10 @@ a {
       font-family: 'Source Code Pro';
       font-size: 2rem;
       font-weight: 800;
-      color: white;
       text-transform: uppercase;
       margin-left: 10%; }
+      .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f .field--name-body a {
+        color: white; }
   .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .block-region-top .block-entity-fieldnodefield-adresse {
     margin-top: 3rem;
     grid-column: 2 / span 10; }

+ 4 - 1
web/themes/custom/eql/scss/pages/_actualite.scss

@@ -27,7 +27,7 @@
                     display: flex;
                     flex-direction: column;
                 }
-                .block-block-contentacfaf4e3-d7d0-42a6-a2a6-3c6ccd0e9344{
+                .block-block-contente6f826c7-4a3e-479b-8e83-2245dee7f931{
                     grid-column: 1 / span 10;
                     width: 100%;
                     font-family: 'Source Code Pro';
@@ -40,6 +40,9 @@
                     padding-top: 1rem;
                     padding-bottom: 0.5rem;
                     vertical-align: middle;
+                    a{
+                        color:white;
+                    }
                 }
                 
                 .block-entity-fieldnodefield-actu-type{

+ 3 - 1
web/themes/custom/eql/scss/pages/_projet.scss

@@ -30,9 +30,11 @@
                                     font-family: 'Source Code Pro';
                                     font-size: 2rem;
                                     font-weight: 800;
-                                    color: $white;
                                     text-transform: uppercase;
                                     margin-left: 10%;
+                                    a{
+                                        color:$white;
+                                    }
                                 }
                             }