Skip to content

Commit 56711da

Browse files
committed
Play around with banner layout
1 parent 83addb8 commit 56711da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/components_guide_web/lib/components_guide_web/templates/layout/_banner.html.eex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<span>Components <br>·Guide</span>
55
</a>
66
<nav role="navigation" class="flex-grow sm:pl-8 lg:px-16 text-base md:text-lg text-center">
7-
<ul class="h-full grid grid-cols-2 md:grid-cols-3 flex flex-col md:flex-row justify-around items-stretch tracking-wide">
7+
<ul class="h-full grid grid-rows-2 md:grid-cols-3 flex flex-col md:flex-row justify-around items-stretch tracking-wide">
88
<%= nav_items(@path_info) %>
99

1010
<% if false do %>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ defmodule ComponentsGuideWeb.LayoutView do
1111
{"By Technology", to: "/links"},
1212
# {"Patterns", to: "/patterns"},
1313
{"News Feed", to: "/feed"},
14-
{"About", to: "/about"}
14+
# {"About", to: "/about"}
1515
]
1616

1717
defp search_form do
1818
~E"""
19-
<li>
19+
<li class=row-span-3>
2020
<form role=search action="/research" class="flex h-full px-2 items-center">
2121
<input type=text name=q placeholder="Search" class="w-full py-1 px-4 bg-white text-black rounded-full">
2222
</form>

0 commit comments

Comments
 (0)