Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make $page instance accessible in blocks #45

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

Z3d0X
Copy link
Owner

@Z3d0X Z3d0X commented Feb 27, 2023

No description provided.

@Z3d0X Z3d0X added enhancement New feature or request WTD labels Feb 27, 2023
@what-the-diff
Copy link

what-the-diff bot commented Feb 27, 2023

  • Remove the props() directive
  • Add @AWare(['page']) directive to make page variable available in template
  • Change class attribute from $attributes->class("px-4 py-4 md:py-8") to "px-4 py-4 md:py-8"

@Z3d0X Z3d0X merged commit b86a6b4 into main Feb 27, 2023
@Z3d0X Z3d0X deleted the feature/page-instance-in-blocks branch February 27, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WTD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant