Forráskód Böngészése

added voir toutes les ressources block on home

bach 3 éve
szülő
commit
c0435b0e8c

+ 21 - 6
config/sync/page_manager.page_variant.home-panels_variant-0.yml

@@ -8,7 +8,10 @@ dependencies:
     - views.view.home_themes
     - views.view.programmes
     - views.view.projets
+  content:
+    - 'block_content:custom:1911abcd-dd85-403d-8e6e-8621c9f2045a'
   module:
+    - block_content
     - panels
     - views
 id: home-panels_variant-0
@@ -24,7 +27,7 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: -2
+      weight: -3
       uuid: e5f452c9-14a6-49a2-b5ab-028e1246ec29
       context_mapping: {  }
     c460a8dc-20aa-4d12-8382-48d03a96eae3:
@@ -35,7 +38,7 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: -1
+      weight: -2
       uuid: c460a8dc-20aa-4d12-8382-48d03a96eae3
       context_mapping: {  }
     323f250e-52aa-455a-be5b-82737e7558a4:
@@ -46,7 +49,7 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: 3
+      weight: 2
       uuid: 323f250e-52aa-455a-be5b-82737e7558a4
       context_mapping: {  }
     02736330-658c-4ab2-8bdb-bd164841a070:
@@ -57,7 +60,7 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: 1
+      weight: 0
       uuid: 02736330-658c-4ab2-8bdb-bd164841a070
       context_mapping: {  }
     04cbbff9-0519-47e7-8eba-9376abe616ef:
@@ -68,7 +71,7 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: 0
+      weight: -1
       uuid: 04cbbff9-0519-47e7-8eba-9376abe616ef
       context_mapping: {  }
     69a489a1-0246-4026-80a0-9b636402ee16:
@@ -79,9 +82,21 @@ variant_settings:
       views_label: ''
       items_per_page: none
       region: content
-      weight: 2
+      weight: 1
       uuid: 69a489a1-0246-4026-80a0-9b636402ee16
       context_mapping: {  }
+    42cf96f9-73eb-415f-9447-c23a209a91d5:
+      id: 'block_content:1911abcd-dd85-403d-8e6e-8621c9f2045a'
+      label: 'Ressources link'
+      provider: block_content
+      label_display: '0'
+      status: true
+      info: ''
+      view_mode: full
+      region: content
+      weight: 3
+      uuid: 42cf96f9-73eb-415f-9447-c23a209a91d5
+      context_mapping: {  }
   id: panels_variant
   uuid: 3093fbf1-47e3-46ba-9bf2-84a715779a13
   label: null

+ 13 - 0
config/sync/structure_sync.data.yml

@@ -121,6 +121,19 @@ menus:
     langcode: fr
     uuid: f42e04af-950b-4207-88d9-49e364e5270f
 blocks:
+  -
+    info: 'Ressources link'
+    langcode: fr
+    uuid: 1911abcd-dd85-403d-8e6e-8621c9f2045a
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<p><a class=\"ressources-link\" href=\"/centre-de-ressources\">Voir toutes les ressources</a></p>\r\n"
+          summary: ''
+          format: wysiwyg
   -
     info: 'logo gouv cartouche'
     langcode: fr