Skip to content

Commit efbd815

Browse files
committed
Rearrange nav
1 parent a237c5f commit efbd815

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

apps/components_guide_web/lib/components_guide_web/templates/research/index.html.eex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
<li><%= link("react-dom", to: "?q=react-dom") %>
3333
<li><%= link("preact", to: "?q=preact") %>
3434
<li><%= link("vue", to: "?q=vue") %>
35+
<li><%= link("lit-html", to: "?q=lit-html") %>
36+
<li><%= link("xstate", to: "?q=xstate") %>
37+
<li><%= link("mobx", to: "?q=mobx") %>
38+
<li><%= link("lodash", to: "?q=lodash") %>
3539
</ul>
3640
</dd>
3741
<dt>Concepts</dt>

apps/components_guide_web/lib/components_guide_web/views/layout_view.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ defmodule ComponentsGuideWeb.LayoutView do
66
# end
77

88
@nav_links [
9+
{:search},
910
{"By Concept", to: "/concepts"},
1011
{"By Technology", to: "/links"},
11-
{:search},
1212
# {"Patterns", to: "/patterns"},
13-
{"Live Feed", to: "/feed"},
13+
{"News Feed", to: "/feed"},
1414
{"About", to: "/about"}
1515
]
1616

1717
defp search_form do
1818
~E"""
1919
<li>
2020
<form role=search action="/research" class="flex h-full px-2 items-center">
21-
<input type=text name=q placeholder="Search specs, libraries, blog posts" class="w-full py-1 px-2 bg-white text-black">
21+
<input type=text name=q placeholder="Search" class="w-full py-1 px-4 bg-white text-black rounded-full">
2222
</form>
2323
"""
2424
end

0 commit comments

Comments
 (0)