refactored the layout:

removed fixed head, replaced with flex
moved pagetitle and searchform to headerbottom region
added Common store to vuejs with pagetitle data
added pagetitle vuejs component
This commit is contained in:
2019-06-22 16:13:47 +02:00
parent 625f6eb84b
commit 75b908ba26
21 changed files with 238 additions and 1334 deletions

View File

@@ -8,8 +8,8 @@ dependencies:
- materiotheme
id: materiosapisearchblock
theme: materiotheme
region: content_top
weight: 0
region: header_bottom
weight: -2
provider: null
plugin: materio_sapi_search_block
settings:

View File

@@ -1,15 +1,13 @@
uuid: e24f300b-ad2d-47ff-851c-875b1c353ce0
uuid: 6949aa34-9acf-49e4-b95a-8551fd26b6bc
langcode: en
status: true
dependencies:
module:
- system
theme:
- materiotheme
id: pagetitle
theme: materiotheme
region: content
weight: -1
region: header_bottom
weight: -3
provider: null
plugin: page_title_block
settings:
@@ -17,9 +15,4 @@ settings:
label: 'Page title'
provider: core
label_display: '0'
visibility:
request_path:
id: request_path
pages: '<front>'
negate: true
context_mapping: { }
visibility: { }

View File

@@ -8,8 +8,8 @@ dependencies:
- materiotheme
id: tabs
theme: materiotheme
region: content
weight: -2
region: content_top
weight: -3
provider: null
plugin: local_tasks_block
settings:

View File

@@ -19,7 +19,7 @@ mode: default
content:
computed_articles_reference:
label: hidden
weight: 6
weight: 7
region: content
settings:
view_mode: teaser
@@ -27,7 +27,7 @@ content:
third_party_settings: { }
type: entity_reference_entity_view
computed_materials_reference:
weight: 2
weight: 3
region: content
settings:
view_mode: teaser
@@ -37,7 +37,7 @@ content:
label: hidden
computed_showrooms_reference:
label: hidden
weight: 4
weight: 5
region: content
settings:
view_mode: default
@@ -45,35 +45,35 @@ content:
third_party_settings: { }
type: entity_reference_entity_view
field_a_database:
weight: 1
weight: 2
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_blabla:
weight: 5
weight: 6
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_pricing:
weight: 7
weight: 8
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_showrooms:
weight: 3
weight: 4
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_what_is_materio:
weight: 0
weight: 1
label: above
settings: { }
third_party_settings: { }
@@ -81,7 +81,7 @@ content:
region: content
title:
type: string
weight: 8
weight: 0
region: content
label: hidden
settings: