GameServerWeb.Layouts (game_server_web v1.0.941)

Copy Markdown

Compatibility facade for the host-owned layout shell.

Summary

Functions

app(assigns)

Attributes

  • flash (:map) (required) - the map of flash messages.
  • current_scope (:map) - the current scope. Defaults to nil.
  • current_path (:string) - current request path for nav active state. Defaults to nil.
  • flush (:boolean) - when true, render content edge-to-edge with no main wrapper, padding, or footer. Defaults to false.

Slots

  • inner_block (required)

flash_group(assigns)

Attributes

  • flash (:map) (required) - the map of flash messages.
  • id (:string) - the optional id of flash container. Defaults to "flash-group".

home_banner_link()

icon_placements(icons)

locale_labels()

resolve_theme(locale \\ nil, assigned_theme \\ %{})

root(assigns)

strip_locale_prefix(path, known_locales)

theme_toggle(assigns)