AshAuthentication.Phoenix.Components.Banner (ash_authentication_phoenix v2.12.2)
View SourceRenders a very simple banner at the top of the sign-in component.
Can show either an image or some text, depending on the provided overrides.
Props
overrides- A list of override modules.gettext_fn- Optional text translation function.
Overrides
This component provides the following overrides:
:text- Banner text. Set tonilto disable.:image_url- A URL for theimgsrcattribute. Set tonilto disable.:root_class- CSS class for the rootdivelement.:href_class- CSS class for theatag.:href_url- A URL for the banner image to link to. Set tonilto disable.:image_class- CSS class for theimgtag.:dark_image_class- Css class for theimgtag in dark mode.:dark_image_url- A URL for theimgsrcattribute in dark mode. Set tonilto disable.:text_class- CSS class for the textdiv.
See AshAuthentication.Phoenix.Overrides for more information.