FEAT refining titles and cleaning comments
This commit is contained in:
parent
df5f34e417
commit
688264bf5e
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '59979956efc4eccd0d52');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'f81af659be9b9ce1ef51');
|
||||
|
|
|
|||
|
|
@ -29,42 +29,14 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/explore-tags/editor.scss");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
/**
|
||||
* Retrieves the translation of text.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* React hook that is used to mark the block wrapper element.
|
||||
* It provides all the necessary props like the class name.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
|
||||
* Those files can contain any CSS code that gets applied to the editor.
|
||||
*
|
||||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* The edit function describes the structure of your block in the context of the
|
||||
* editor. This represents what the editor will render when the block is used.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit
|
||||
*
|
||||
* @return {Element} Element to render.
|
||||
*/
|
||||
|
||||
function Edit() {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", {
|
||||
...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)(),
|
||||
children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)('Explore Tags – hello from the editor!', 'explore-tags')
|
||||
children: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__.__)("Explore Tags – hello from the editor!", "explore-tags")
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -10,8 +10,8 @@ $tags = get_terms(array(
|
|||
<section class="explore-tags">
|
||||
<div class="inner">
|
||||
<div class="explore-tags__titling">
|
||||
<h2 class="explore-tags__title">Tags</h2>
|
||||
<h3 class="explore-tags__subtitle">Explorer <br /> par Tags</h2>
|
||||
<h2 class="explore-tags__title title-small">Tags</h2>
|
||||
<h3 class="explore-tags__subtitle subtitle-big">Explorer <br /> par Tags</h2>
|
||||
</div>
|
||||
<div class="tag-list">
|
||||
<?php foreach ($tags as $tag) : ?>
|
||||
|
|
|
|||
|
|
@ -1,38 +1,12 @@
|
|||
/**
|
||||
* Retrieves the translation of text.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/
|
||||
*/
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { __ } from "@wordpress/i18n";
|
||||
import { useBlockProps } from "@wordpress/block-editor";
|
||||
|
||||
/**
|
||||
* React hook that is used to mark the block wrapper element.
|
||||
* It provides all the necessary props like the class name.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops
|
||||
*/
|
||||
import { useBlockProps } from '@wordpress/block-editor';
|
||||
import "./editor.scss";
|
||||
|
||||
/**
|
||||
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
|
||||
* Those files can contain any CSS code that gets applied to the editor.
|
||||
*
|
||||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
||||
*/
|
||||
import './editor.scss';
|
||||
|
||||
/**
|
||||
* The edit function describes the structure of your block in the context of the
|
||||
* editor. This represents what the editor will render when the block is used.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit
|
||||
*
|
||||
* @return {Element} Element to render.
|
||||
*/
|
||||
export default function Edit() {
|
||||
return (
|
||||
<p { ...useBlockProps() }>
|
||||
{ __( 'Explore Tags – hello from the editor!', 'explore-tags' ) }
|
||||
<p {...useBlockProps()}>
|
||||
{__("Explore Tags – hello from the editor!", "explore-tags")}
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ $tags = get_terms(array(
|
|||
<section class="explore-tags">
|
||||
<div class="inner">
|
||||
<div class="explore-tags__titling">
|
||||
<h2 class="explore-tags__title">Tags</h2>
|
||||
<h3 class="explore-tags__subtitle">Explorer <br /> par Tags</h2>
|
||||
<h2 class="explore-tags__title title-small">Tags</h2>
|
||||
<h3 class="explore-tags__subtitle subtitle-big">Explorer <br /> par Tags</h2>
|
||||
</div>
|
||||
<div class="tag-list">
|
||||
<?php foreach ($tags as $tag) : ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user