mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-08 23:50:36 +03:00
Remove some debug todos.
This commit is contained in:
parent
48fd7a5fb5
commit
a26a84e4b6
@ -35,12 +35,18 @@ type Msg
|
||||
|
||||
|
||||
init maybePagePath =
|
||||
Debug.todo ""
|
||||
{ showMobileMenu = False
|
||||
}
|
||||
|
||||
|
||||
toView : Element msg -> Html msg
|
||||
toView =
|
||||
Debug.todo ""
|
||||
update : Msg -> Model -> ( Model, Cmd Msg )
|
||||
update msg model =
|
||||
case msg of
|
||||
OnPageChange page ->
|
||||
( { model | showMobileMenu = False }, Cmd.none )
|
||||
|
||||
ToggleMobileMenu ->
|
||||
( { model | showMobileMenu = not model.showMobileMenu }, Cmd.none )
|
||||
|
||||
|
||||
type alias StaticData =
|
||||
|
@ -122,12 +122,16 @@ init maybePagePath =
|
||||
|
||||
update : Msg -> Model -> ( Model, Cmd Msg )
|
||||
update msg model =
|
||||
-- TODO
|
||||
( model, Cmd.none )
|
||||
case msg of
|
||||
MsgBlogPost msg_ ->
|
||||
( model, Cmd.none )
|
||||
|
||||
|
||||
|
||||
--main : Pages.Platform.Program Model Msg Metadata View
|
||||
MsgGlobal msg_ ->
|
||||
let
|
||||
( globalModel, globalCmd ) =
|
||||
Global.update msg_ model.global
|
||||
in
|
||||
( { model | global = globalModel }, globalCmd |> Cmd.map MsgGlobal )
|
||||
|
||||
|
||||
mainTemplate { documents, manifest, canonicalSiteUrl } =
|
||||
|
Loading…
Reference in New Issue
Block a user