[lightMode]
Fixed banner
A fixed banner is a pre-defined component which is in charge of displaying a banner that is fixated on the Home Page.
Following is the location of this component.
└── src
├── views
├── components
| ├── home
| | ...
| | ├── fixed-banner.twig
...
Example
Variables
Usage
This fixed banner component receives the values of image.url
and image.alt
and displays it a background for this fixed area.
<a href="{{ url }}" aria-label="Banner {{ image.alt }}">
<img src="{{'images/s-empty.png' | asset}}" data-src="{{ image.url }}" alt="{{ image.alt }}" />
</a>
:::tip[Educational Clip]
:::
[updatedIn] 4 months ago
Example
Variables
Usage