Skip to content

Commit 0b21aa5

Browse files
committed
Fix typesense casing
1 parent dbad929 commit 0b21aa5

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src/hexdocs/data/model.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub type Model {
5757
autocomplete: Option(#(Type, Autocomplete)),
5858
/// Whether the autocomplete is focused, or not.
5959
autocomplete_search_focused: AutocompleteFocused,
60-
/// Keeps the results from TypeSense.
60+
/// Keeps the results from Typesense.
6161
/// `#(Page, List(Results))`.
6262
search_result: Option(#(Int, List(hexdocs.Document))),
6363
/// Stores the current value of the search bar on top of the search page.

src/hexdocs/view/home/footer.gleam

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ pub fn footer() {
4848
]),
4949
h.div([a.class("text-gray-600 dark:text-gray-200")], [
5050
h.text("Search powered by "),
51-
h.a([a.class("text-blue-600"), a.href("https://typesense.org")], [
52-
h.text("Typesense"),
53-
]),
51+
h.a(
52+
[
53+
a.class("text-blue-600 cursor-pointer"),
54+
a.href("https://typesense.org"),
55+
],
56+
[
57+
h.text("Typesense"),
58+
],
59+
),
5460
]),
5561
],
5662
),

src/hexdocs/view/search.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,11 @@ pub fn search(model: Model) {
334334
html.text("Search powered by "),
335335
html.a(
336336
[
337-
class("text-blue-600"),
337+
class("text-blue-600 cursor-pointer"),
338338
attribute.href("https://typesense.org"),
339339
],
340340
[
341-
html.text("TypeSense"),
341+
html.text("Typesense"),
342342
],
343343
),
344344
]),

0 commit comments

Comments
 (0)