generated from helsingborg-stad/Wordpress-Plugin-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update api. cleans up the interfaces. * fix: general cleanup. * fix: docs. * fix: remove manually entered focus point * fix: image end link not escaped. * fix: alt texts * fix: add class to image component. * fix: typo missing , --------- Co-authored-by: Sebastian Thulin <sebastian.thulin@helsingborg.se>
- Loading branch information
1 parent
fff6c19
commit 4458a55
Showing
5 changed files
with
65 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@image([ | ||
'classList' => [$baseClass . '__image'], | ||
'src' => $image, | ||
'alt' => $alt ?? null, | ||
'cover' => true, | ||
'context' => ['component.slider', 'component.slider.image'] | ||
]) | ||
@endimage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters