cynthia_websites_mini_client/pottery/molds/cindy_dual

Cindy Dual Layout module

Extension of the default Cindy Simple layout with a secondary menu.

Values

pub fn menu_1(
  from model: model_type.Model,
) -> List(@internal Element(messages.Msg))

Primary menu for cindy-dual

pub fn menu_2(
  from model: model_type.Model,
) -> List(@internal Element(messages.Msg))

Secondary menu for cindy-dual

pub fn page_layout(
  from content: @internal Element(messages.Msg),
  with variables: dict.Dict(String, dynamic.Dynamic),
  store model: model_type.Model,
) -> @internal Element(messages.Msg)

cindy-dual layout for pages.

Dict keys:

  • content
pub fn post_layout(
  from content: @internal Element(messages.Msg),
  with variables: dict.Dict(String, dynamic.Dynamic),
  store model: model_type.Model,
) -> @internal Element(messages.Msg)
Search Document