Website hero.
This commit is contained in:
parent
c51644c729
commit
3edb7b94cc
1 changed files with 14 additions and 14 deletions
|
@ -281,7 +281,7 @@ initialState _ = { token: Nothing
|
||||||
render :: forall m. MonadAff m => State -> H.ComponentHTML Action ChildSlots m
|
render :: forall m. MonadAff m => State -> H.ComponentHTML Action ChildSlots m
|
||||||
render state
|
render state
|
||||||
= HH.div_ $
|
= HH.div_ $
|
||||||
[ render_header
|
[ website_hero
|
||||||
, render_nav
|
, render_nav
|
||||||
, reconnection_bar
|
, reconnection_bar
|
||||||
, render_notifications
|
, render_notifications
|
||||||
|
@ -311,6 +311,19 @@ render state
|
||||||
]
|
]
|
||||||
where
|
where
|
||||||
|
|
||||||
|
website_hero :: forall w i. HH.HTML w i
|
||||||
|
website_hero =
|
||||||
|
HH.section [ HP.classes [C.hero, C.is_info, C.is_small] ]
|
||||||
|
[ HH.div [ HP.classes [C.hero_body] ]
|
||||||
|
[ HH.div [ HP.classes [C.container, C.has_text_centered] ]
|
||||||
|
[ HH.p [ HP.classes [C.subtitle] ]
|
||||||
|
[ HH.strong_ [ HH.u_ [ HH.text "net libre" ]]
|
||||||
|
, HH.text ": providing free domains since 2013!"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
paypal_btn :: forall w i. HH.HTML w i
|
paypal_btn :: forall w i. HH.HTML w i
|
||||||
paypal_btn = HH.div [ HP.ref ref_paypal_div ] []
|
paypal_btn = HH.div [ HP.ref ref_paypal_div ] []
|
||||||
|
|
||||||
|
@ -395,19 +408,6 @@ render state
|
||||||
render_nav :: forall monad. MonadAff monad => H.ComponentHTML Action ChildSlots monad
|
render_nav :: forall monad. MonadAff monad => H.ComponentHTML Action ChildSlots monad
|
||||||
render_nav = HH.slot _nav unit NavigationInterface.component unit NavigationInterfaceEvent
|
render_nav = HH.slot _nav unit NavigationInterface.component unit NavigationInterfaceEvent
|
||||||
|
|
||||||
render_header :: forall monad. MonadAff monad => H.ComponentHTML Action ChildSlots monad
|
|
||||||
render_header =
|
|
||||||
HH.section [ HP.classes [C.hero, C.is_info, C.is_small] ]
|
|
||||||
[ HH.div [ HP.classes [C.hero_body] ]
|
|
||||||
[ HH.div [ HP.classes [C.container, C.has_text_centered] ]
|
|
||||||
[ HH.p [ HP.classes [C.subtitle] ]
|
|
||||||
[ HH.strong_ [ HH.u_ [ HH.text "net libre" ]]
|
|
||||||
, HH.text ": providing free domains since 2013!"
|
|
||||||
]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
render_logs :: forall monad. MonadAff monad => H.ComponentHTML Action ChildSlots monad
|
render_logs :: forall monad. MonadAff monad => H.ComponentHTML Action ChildSlots monad
|
||||||
render_logs = Web.container [ HH.slot_ _log unit AppLog.component unit ]
|
render_logs = Web.container [ HH.slot_ _log unit AppLog.component unit ]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue