@@ -1,24 +1,9 @@
1−module Index.Navigator exposing (view, (</>))
1+module Index.Navigator exposing (view)
5import Html exposing (..)
4import Html exposing (..)
6import Html.Attributes exposing (..)
5import Html.Attributes exposing (..)
7−
6+import Index.Icon as Icon
8−import TempFontAwesome as FA
15−(</>) : String -> String -> String
16−(</>) directory file =
17− if String.endsWith "/" directory then
21− directory ++ "/" ++ file
@@ -43,7 +28,7 @@ makeLinks root dirs oldPath revAnchors =
43 dir :: otherDirs ->
28 dir :: otherDirs ->
46− oldPath </> dir
31+ oldPath ++ "/" ++ dir
49 a [ href newPath ] [ text dir ]
34 a [ href newPath ] [ text dir ]
@@ -57,7 +42,7 @@ makeLinks root dirs oldPath revAnchors =
57 , title root
42 , title root
58 , style "display" "inherit"
43 , style "display" "inherit"
60− [ FA.home Color.darkGrey 36
45+ [ Icon.home
63 case revAnchors of
48 case revAnchors of