Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new "Expertise Detail Advantages" block for the Thyra theme, including its backend logic, field definitions, Blade template, and editor styles. It also adds custom block categories for improved organization in the WordPress block editor and provides documentation updates on best practices for asset loading in Blade templates. Additionally, brand color variables are added to the main and editor CSS files for consistent theme styling.
New Block Implementation
ExpertiseDetailAdvantagesACF block class inapp/Blocks/ExpertiseDetailAdvantages.php, defining block properties, supported features, and preview/example data.app/Fields/ExpertiseDetailAdvantages.php, including pill text, main title, description, and a repeater for listing advantages with selectable icons.resources/views/blocks/expertise-detail-advantages.blade.php, rendering the block with dynamic content and conditional icon loading usingVite::asset().Editor and Theme Styling
resources/css/app.cssandresources/css/editor.cssfor consistent design. [1] [2]resources/css/editor.cssto improve readability and match the frontend appearance.Block Editor Organization
thyra-expertise,thyra-general,thyra-home) inapp/setup.phpfor better block organization in the WordPress editor.Documentation and Best Practices
.github/copilot-instructions.mdandCLAUDE.mdto clarify asset loading best practices in Blade templates, emphasizing the use of Blade conditionals andVite::asset()instead of@phpblocks. [1] [2]