Navigation
The Navigation component displays a logo and a list of internal or external links for site navigation.
Fields
-
logo(optional) - A switchable field for logo image selection:-
If
imageis selected:-
image(required) - Internal image chooser from Magnolia DAM. -
altText(optional) - Alt text for accessibility.
-
-
If
externalImageis selected:-
externalImage(required) - Full URL to the external image. -
externalImageAlt(optional) - Alt text for accessibility.
-
-
-
links(required) - A list field. At least one item is required. Each link item includes:-
field- Switchable field to define link type:-
If
internalLinkis selected:-
internalLink(required) - Magnolia page chooser. -
text(required) - The text displayed for the link.
-
-
If
externalLinkis selected:-
externalLink(required) - Full URL. -
text(required) - The text displayed for the link.
-
-
-
Behavior
-
If a logo is provided, it is displayed on the left side of the navigation bar.
-
Navigation links are displayed horizontally on the right.
-
Each link opens the specified internal or external target.
-
Styling and layout are handled via the front-end implementation.