Quellcode durchsuchen

footer logo block & menu block

bach vor 2 Jahren
Ursprung
Commit
0ebb370a58

+ 34 - 0
config/sync/block.block.logosfooter.yml

@@ -0,0 +1,34 @@
+uuid: 9d86f6b2-fe7b-4558-84c5-9aef6ac0a291
+langcode: fr
+status: true
+dependencies:
+  content:
+    - 'block_content:custom:d61049b4-1d02-41f9-b590-07d2488190a6'
+  module:
+    - block_content
+    - context
+  theme:
+    - popsu
+id: logosfooter
+theme: popsu
+region: footer_bottom_left
+weight: 0
+provider: null
+plugin: 'block_content:d61049b4-1d02-41f9-b590-07d2488190a6'
+settings:
+  id: 'block_content:d61049b4-1d02-41f9-b590-07d2488190a6'
+  label: 'Logos footer'
+  provider: block_content
+  label_display: '0'
+  status: true
+  info: ''
+  view_mode: full
+visibility:
+  view_inclusion:
+    id: view_inclusion
+    negate: null
+    view_inclusion: {  }
+  request_path_exclusion:
+    id: request_path_exclusion
+    pages: ''
+    negate: null

+ 40 - 0
config/sync/block.block.pieddepage.yml

@@ -0,0 +1,40 @@
+uuid: 7ae59ba3-e16a-43df-8b39-e6eaa6e92de8
+langcode: fr
+status: true
+dependencies:
+  config:
+    - system.menu.footer
+  module:
+    - context
+    - menu_block
+  theme:
+    - popsu
+id: pieddepage
+theme: popsu
+region: footer_bottom_middle
+weight: 0
+provider: null
+plugin: 'menu_block:footer'
+settings:
+  id: 'menu_block:footer'
+  label: 'Pied de page'
+  provider: menu_block
+  label_display: '0'
+  follow: false
+  follow_parent: child
+  level: 1
+  depth: 0
+  expand_all_items: false
+  parent: 'footer:'
+  suggestion: footer
+  label_type: block
+  label_link: false
+visibility:
+  view_inclusion:
+    id: view_inclusion
+    negate: null
+    view_inclusion: {  }
+  request_path_exclusion:
+    id: request_path_exclusion
+    pages: ''
+    negate: null

+ 0 - 33
config/sync/block.block.views_block__footer_block_1.yml

@@ -1,33 +0,0 @@
-uuid: b67846aa-2ab2-484b-97cd-cbea7824ff53
-langcode: fr
-status: true
-dependencies:
-  config:
-    - views.view.footer
-  module:
-    - context
-    - views
-  theme:
-    - popsu
-id: views_block__footer_block_1
-theme: popsu
-region: footer_bottom_middle
-weight: 0
-provider: null
-plugin: 'views_block:footer-block_1'
-settings:
-  id: 'views_block:footer-block_1'
-  label: ''
-  provider: views
-  label_display: visible
-  views_label: ''
-  items_per_page: none
-visibility:
-  view_inclusion:
-    id: view_inclusion
-    negate: null
-    view_inclusion: {  }
-  request_path_exclusion:
-    id: request_path_exclusion
-    pages: ''
-    negate: null

+ 7 - 1
config/sync/core.menu.static_menu_link_overrides.yml

@@ -1,4 +1,10 @@
-definitions: {  }
+definitions:
+  contact__site_page:
+    weight: -46
+    menu_name: footer
+    parent: ''
+    enabled: true
+    expanded: false
 _core:
   default_config_hash: jdY7AU0tU-QsjmiOw3W8vwpYMb-By--_MSFgbqKUTYM
 langcode: fr

+ 1 - 1
config/sync/field.field.node.programme.field_fichier.yml

@@ -19,7 +19,7 @@ default_value: {  }
 default_value_callback: ''
 settings:
   file_directory: '[date:custom:Y]-[date:custom:m]'
-  file_extensions: 'txt pdf doc docx obs'
+  file_extensions: 'txt pdf doc docx obs png jpg'
   max_filesize: ''
   description_field: true
   handler: 'default:file'

+ 76 - 15
config/sync/structure_sync.data.yml

@@ -1,4 +1,80 @@
+log: 1
+blocks:
+  -
+    info: 'Logos footer'
+    langcode: fr
+    uuid: d61049b4-1d02-41f9-b590-07d2488190a6
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<a href=\"#\" class=\"logo-gouv\">logo gouv</a>\r\n<a href=\"#\" class=\"logo-puca\">logo puca</a>"
+          summary: ''
+          format: wysiwyg
+  -
+    info: 'Retrouvez-nous sur les réseaux sociaux :'
+    langcode: fr
+    uuid: e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78
+    bundle: custom
+    revision_id: null
+    rev_id_current: null
+    fields:
+      body:
+        -
+          value: "<p><a href=\"https://twitter.com\">https://twitter.com</a></p>\r\n\r\n<p><a href=\"https://fr.linkedin.com/\">https://fr.linkedin.com/</a></p>\r\n\r\n<p><a href=\"https://youtube.fr\">https://youtube.fr</a></p>\r\n"
+          summary: ''
+          format: wysiwyg
 menus:
+  -
+    menu_name: footer
+    title: Accueil
+    parent: null
+    uri: 'internal:/'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-50'
+    langcode: fr
+    uuid: 39680dd3-ea89-403e-8cee-8d08a0e5fbb1
+  -
+    menu_name: footer
+    title: 'Qu''est-ce popsu?'
+    parent: null
+    uri: 'internal:/node/215'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-49'
+    langcode: fr
+    uuid: 7adf411e-dd23-402e-9cd6-a66e6acac295
+  -
+    menu_name: footer
+    title: Gouvernance
+    parent: null
+    uri: 'internal:/node/218'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-48'
+    langcode: fr
+    uuid: c5f90586-8537-4a7a-826e-46bf9a20b81a
+  -
+    menu_name: footer
+    title: 'L''équipe'
+    parent: null
+    uri: 'internal:/node/657'
+    link_title: ''
+    description: null
+    enabled: '1'
+    expanded: '0'
+    weight: '-47'
+    langcode: fr
+    uuid: 998f9dd2-c0c7-4e82-9953-e5a36da046a1
   -
     menu_name: head
     title: 'Qu''est-ce popsu?'
@@ -47,18 +123,3 @@ menus:
     weight: '0'
     langcode: fr
     uuid: 7249712f-fe65-40d3-a8ee-8047420bc88a
-log: 1
-blocks:
-  -
-    info: 'Retrouvez-nous sur les réseaux sociaux :'
-    langcode: fr
-    uuid: e0c66a5a-bc7a-4f4a-b6f1-7bec4b77ad78
-    bundle: custom
-    revision_id: null
-    rev_id_current: null
-    fields:
-      body:
-        -
-          value: "<p><a href=\"https://twitter.com\">https://twitter.com</a></p>\r\n\r\n<p><a href=\"https://fr.linkedin.com/\">https://fr.linkedin.com/</a></p>\r\n\r\n<p><a href=\"https://youtube.fr\">https://youtube.fr</a></p>\r\n"
-          summary: ''
-          format: wysiwyg