Module

Main

This module defines the main entry point of the application and manages the high-level structure of the app.

It implements Main.component, the root Halogen component responsible for rendering the appropriate page based on the current route. Additionally, it includes global components that persist across multiple pages, such as the navbar.

#State

type State = { route :: Maybe Route }

#Query

data Query a

Constructors

#Action

#_navbar

_navbar :: Proxy @Symbol "navbar"

#_home

_home :: Proxy @Symbol "home"

#_editor

_editor :: Proxy @Symbol "editor"

#_login

_login :: Proxy @Symbol "login"

#_resetPassword

_resetPassword :: Proxy @Symbol "resetPassword"

#_administration

_administration :: Proxy @Symbol "administration"

#_createUser

_createUser :: Proxy @Symbol "createUser"

#_createGroup

_createGroup :: Proxy @Symbol "createGroup"

#_groupOverview

_groupOverview :: Proxy @Symbol "groupOverview"

#_page404

_page404 :: Proxy @Symbol "page404"

#_unauthorized

_unauthorized :: Proxy @Symbol "unauthorized"

#_profile

_profile :: Proxy @Symbol "profile"

#_appToasts

_appToasts :: Proxy @Symbol "appToasts"

#Slots

type Slots :: Row Typetype Slots = (administration :: forall q. Slot q Void Unit, appToasts :: forall q. Slot q Void Unit, createGroup :: forall q. Slot q Void Unit, createUser :: forall q. Slot q Void Unit, editor :: forall q. Slot q Unit Unit, groupOverview :: forall q. Slot q Void Unit, home :: forall q. Slot q Void Unit, login :: forall q. Slot q Void Unit, navbar :: Slot Query Void Unit, page404 :: forall q. Slot q Void Unit, profile :: forall q. Slot q Output Unit, resetPassword :: forall q. Slot q Void Unit, unauthorized :: forall q. Slot q Void Unit)

#component

#main

Modules