Remove the defunct "burger menu" and always expand the navigation (#273)
I commonly run into a situation where the burger menu button is being showed to me but it broke some time ago and doesn't expand the menu anymore. Since the snipped was probably mostly 1:1 translated from the old nixos.org page (where we had more links than just the three we have now) we can probably just remove it now. It is a net win as the feature was broken and at least now you can use the website on mobile again.
This commit is contained in:
parent
5bb94c9c92
commit
e9bdeae3e2
14
src/Main.elm
14
src/Main.elm
|
@ -306,20 +306,10 @@ view model =
|
||||||
[ div [ class "navbar navbar-static-top" ]
|
[ div [ class "navbar navbar-static-top" ]
|
||||||
[ div [ class "navbar-inner" ]
|
[ div [ class "navbar-inner" ]
|
||||||
[ div [ class "container" ]
|
[ div [ class "container" ]
|
||||||
[ button
|
[ a [ class "brand", href "https://nixos.org" ]
|
||||||
[ type_ "button"
|
|
||||||
, class "btn btn-navbar"
|
|
||||||
, attribute "data-toggle" "collapse"
|
|
||||||
, attribute "data-target" ".nav-collapse"
|
|
||||||
]
|
|
||||||
[ span [ class "icon-bar" ] []
|
|
||||||
, span [ class "icon-bar" ] []
|
|
||||||
, span [ class "icon-bar" ] []
|
|
||||||
]
|
|
||||||
, a [ class "brand", href "https://nixos.org" ]
|
|
||||||
[ img [ src "https://nixos.org/logo/nix-wiki.png", class "logo" ] []
|
[ img [ src "https://nixos.org/logo/nix-wiki.png", class "logo" ] []
|
||||||
]
|
]
|
||||||
, div [ class "nav-collapse collapse" ]
|
, div [ ]
|
||||||
[ ul [ class "nav pull-left" ]
|
[ ul [ class "nav pull-left" ]
|
||||||
(viewNavigation model.route)
|
(viewNavigation model.route)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue