diff --git a/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Atom/Icon.fusion b/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Atom/Icon.fusion index ba44ac39e..c45bd54c4 100644 --- a/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Atom/Icon.fusion +++ b/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Atom/Icon.fusion @@ -5,6 +5,7 @@ prototype(Neos.Presentation:Icon) < prototype(Neos.Fusion:Component) { name = ${PropTypes.string} fallbackName = ${PropTypes.string} class = ${PropTypes.string} + attributes = PropTypes:DataStructure } name = null @@ -14,14 +15,15 @@ prototype(Neos.Presentation:Icon) < prototype(Neos.Fusion:Component) { fallbackName.@process.clean = ${String.trim(String.toLowerCase(value))} inline = null - class = null + attributes = Neos.Fusion:DataStructure renderer = Neos.Fusion:Augmenter { data-icon-name = ${props.name} data-icon-name.@if.hasName = ${props.name} class = ${props.class} + attributes = ${props.attributes} content = Neos.Fusion:Case { inlineExists { diff --git a/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Module/Footer.fusion b/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Module/Footer.fusion index ba0125252..84a5f9e66 100644 --- a/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Module/Footer.fusion +++ b/DistributionPackages/Neos.Presentation/Resources/Private/Fusion/Module/Footer.fusion @@ -5,13 +5,13 @@ prototype(Neos.Presentation:Module.Footer) < prototype(Neos.Fusion:Component) { description = 'Footer of the page' props { linkGroups = Neos.Fusion:Map { - items = ${Array.range(1,4)} + items = ${Array.range(1, 4)} itemRenderer = Neos.Fusion:DataStructure { title = 'Features' links = Neos.Fusion:Map { - items = ${Array.range(1,5)} + items = ${Array.range(1, 5)} itemRenderer = Neos.Fusion:DataStructure { - title = 'Why Neos' + title = 'Just a footer link' link = '#' } } @@ -69,19 +69,17 @@ prototype(Neos.Presentation:Module.Footer) < prototype(Neos.Fusion:Component) { } @propTypes { - // does not work with monocle yet - //linkGroups = PropTypes:Array { - // type = PropTypes:DataStructure { - // title = PropTypes:String - // links = PropTypes:Array { - // type = Neos.Fusion:DataStructure { - // title = PropTypes:String - // link = PropTypes:String - // } - // } - // } - //} - + linkGroups = PropTypes:Array { + type = PropTypes:DataStructure { + title = PropTypes:String + links = PropTypes:Array { + type = PropTypes:DataStructure { + title = PropTypes:String + link = PropTypes:String + } + } + } + } socials = PropTypes:Array { type = PropTypes:DataStructure { link = PropTypes:String @@ -89,7 +87,6 @@ prototype(Neos.Presentation:Module.Footer) < prototype(Neos.Fusion:Component) { label = PropTypes:String } } - endlinks = PropTypes:Array { type = PropTypes:DataStructure { link = PropTypes:String @@ -99,50 +96,53 @@ prototype(Neos.Presentation:Module.Footer) < prototype(Neos.Fusion:Component) { } renderer = afx` - - - -
-
- - -
-
- -
- -
- - {link.title} - + + + +
+
+ + +
+ +
+ +
+ +
+ + {link.title} + +
+
+
+
-
- -
-
- - - - - -

- - {item.label} - -

-
- - + + + + + + + +

+ + {item.label} + +

+
+ + ` }