Skip to content

Commit 278f74e

Browse files
committed
Add a note for people needing 0.18 docs
1 parent bae68e8 commit 278f74e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/frontend/Page/Search.elm

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,15 @@ viewSearch query entries =
131131
results =
132132
List.map viewEntry (Entry.search query es)
133133
in
134-
Keyed.node "div" [] <|
135-
("h", viewHint (List.isEmpty results) query) :: results
134+
div []
135+
[ Keyed.node "div" [] <|
136+
("h", viewHint (List.isEmpty results) query) :: results
137+
, p [ class "pkg-hint" ]
138+
[ text "Need documentation for a 0.18 package? Read "
139+
, a [ href "https://gist.github.com/evancz/9031e37902dfaec250a08a7aa6e17b10" ] [ text "this" ]
140+
, text " for help finding it."
141+
]
142+
]
136143
]
137144

138145

0 commit comments

Comments
 (0)