diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 2c05c00..6fb672b 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -47,14 +47,6 @@ button { display: block; } } -.overlay { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba(0, 0, 0, 0.3); -} .svg { path { transition: fill 0.4s; diff --git a/app/components/wp-block/core-cover.vue b/app/components/wp-block/core-cover.vue new file mode 100644 index 0000000..e94023f --- /dev/null +++ b/app/components/wp-block/core-cover.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/app/components/wp-block/core-heading.vue b/app/components/wp-block/core-heading.vue index 9515af6..f5b4f30 100644 --- a/app/components/wp-block/core-heading.vue +++ b/app/components/wp-block/core-heading.vue @@ -22,7 +22,7 @@ const props = defineProps({ const classes = computed(() => [ 'core-heading', 'margin-text', - `align-${props.attrs?.align || 'default'}`, + `align-${props.attrs?.textAlign || 'default'}`, `is-${props.attrs?.tagName}` ]) const styles = computed(() => ({ diff --git a/app/components/wp-content.vue b/app/components/wp-content.vue index f91bfe5..6a146f2 100644 --- a/app/components/wp-content.vue +++ b/app/components/wp-content.vue @@ -19,6 +19,7 @@ const allBlocks = { 'core-image': resolveComponent('wp-block-core-image'), 'core-columns': resolveComponent('wp-block-core-columns'), 'core-column': resolveComponent('wp-block-core-column'), + 'core-cover': resolveComponent('wp-block-core-cover'), 'core-list': resolveComponent('wp-block-core-list'), 'core-spacer': resolveComponent('wp-block-core-spacer'), 'core-gallery': resolveComponent('wp-block-core-gallery'), diff --git a/package.json b/package.json index fbf32bf..943b5d7 100644 --- a/package.json +++ b/package.json @@ -47,5 +47,8 @@ "storybook": "^8.3.0", "typescript": "^5.6.3", "vue": "^3.4.36" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "4.9.5" } }