-
Notifications
You must be signed in to change notification settings - Fork 6
Banner
eodiro Banner is a new challenging UI design which is extending the original tile design of previous version of eodiro.
A heart of identities of eodiro. It automatically generates the enough number of tiles by calculating the size of the Banner. It is only visible at home.
For more information, read Tiles.
![Screen Shot 2019-08-19 at 9 29 48 AM](https://user-images.githubusercontent.com/19797697/63232573-f20d0080-c263-11e9-9815-cdbe472d87c5.png)
Apps pages when it is scrolled down and all the chilren pages under the Apps should use mini mode to deliver users a tidy experience.
A sentinel element is placed globally at a suitable distance from the top relatively to the Banner. Whenever it appears and disappears, an intersectionObserver observes its visibility and toggles mini mode.
Set an object key bannerMode
to 'mini'
inside the chilren pages. For these pages, the banner always stays as mini mode. This is necessary for children pages and you must always apply this option for all of them.
export default {
meta: {
bannerMode: 'mini'
}
}
Default | Mini Mode |
---|---|
![]() |
![]() |
Check _variables.scss
partial.
Copyright ©️ 2019 PAYW.org | Contact
Documentation
Components