3LMXT7Z6SIGLQ2OMH7OKPJPWNPN2CSGD3BKUD2NMJVCX2CSAMFYQC
NJNMO72S7VIUV22JXB4IFPZMHWTJAOTP6EC6Z4QSKYIROSXT52MQC
EA5BFM5GMM7KNMDLTVOSUKVKMSIDD72TAFVHDVGEOUY5VELECU3QC
JXG3FCXYBDKMUD77DOM7RCIJYKB7BILC43OHHDZBE7YQRGAMUCCAC
RB2ETNIFLQUA6OA66DAEOXZ25ENMQGNKX5CZRSKEYHTD6BQ6NTFQC
import Effect.Class as EC
import Web.Event.Event as WE
| Login
| Login WE.Event
. Monad m
. EC.MonadEffect m
, E.onSubmit (\_ -> Just Login)
, E.onSubmit (Just <<< Login)
Login -> do
Login ev -> do EC.liftEffect $ WE.preventDefault ev
Login ev -> do
EC.liftEffect $ WE.preventDefault ev
import Aftok.Timeline (TimelineState)
( login :: Login.Slot Unit , timeline :: Timeline.Slot Unit
( login :: Login.Slot Unit
, timeline :: Timeline.Slot Unit
( login :: Login.Slot Int , timeline :: Timeline.Slot Int
( login :: Login.Slot Int
, timeline :: Timeline.Slot Int
HH.div_ [ HH.slot _login unit (Login.component loginCap) unit (Just <<< LoginComplete) ]
HH.div_ [ HH.slot _login 0 (Login.component loginCap) unit (Just <<< LoginComplete) ]
HH.div_ [ HH.slot _timeline unit (Timeline.component { width: toNumber 600 }) unit absurd ]
HH.div_ [ HH.slot _timeline 1 (Timeline.component { width: toNumber 600 }) unit absurd ]