add team styling, updates to custom block, general css polishing, updates to navigation

This commit is contained in:
2025-03-05 10:14:52 +00:00
parent 1d0fe5eebd
commit 9b1a1fb2fd
16 changed files with 325 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
"title": "Featured Image Block",
"category": "widgets",
"icon": "format-image",
"description": "Example block scaffolded with Create Block tool.",
"description": "Block displaying featured image, heading and button.",
"supports": {
"html": false
},

View File

@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '239178da82c0d8063b17');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '1883412fb901aaa84d07');

View File

@@ -42057,7 +42057,7 @@ function combine (array, callback) {
/***/ ((module) => {
"use strict";
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"create-block/featured-image-block","version":"0.1.0","title":"Featured Image Block","category":"widgets","icon":"format-image","description":"Example block scaffolded with Create Block tool.","supports":{"html":false},"attributes":{"heading":{"type":"string"},"buttonText":{"type":"string","default":"Learn More"},"buttonLink":{"type":"string"},"backgroundImage":{"type":"integer"}},"textdomain":"double-image","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php"}');
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"create-block/featured-image-block","version":"0.1.0","title":"Featured Image Block","category":"widgets","icon":"format-image","description":"Block displaying featured image, heading and button.","supports":{"html":false},"attributes":{"heading":{"type":"string"},"buttonText":{"type":"string","default":"Learn More"},"buttonLink":{"type":"string"},"backgroundImage":{"type":"integer"}},"textdomain":"double-image","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php"}');
/***/ }),
@@ -42107,7 +42107,6 @@ __webpack_require__.r(__webpack_exports__);
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
*/
// import AttachmentImage from './AttachmentImage';
/**
* The edit function describes the structure of your block in the context of the

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@
?>
<div <?php echo get_block_wrapper_attributes(); ?>
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage']); ?>"
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
tabindex="0">
<div class="call-to-action">

View File

@@ -11,7 +11,7 @@
?>
<div <?php echo get_block_wrapper_attributes(); ?>
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage']); ?>"
style="background-image: url(<?php echo wp_get_attachment_image_url($attributes['backgroundImage'], size= = "large"); ?>"
tabindex="0">
<div class="call-to-action">