Skip to content

Commit 067e96f

Browse files
committed
home -> office
1 parent 874699c commit 067e96f

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

lib/shlinkedin_web/templates/layout/_footer_nav.html.eex

+11-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
<%= link to: "/home", class: "w-1/5 flex justify-center" do %>
2-
<button
3-
class="p-4<%= if @conn.request_path == "/home", do: " text-blue-500 italic italic"%>">
2+
<button class="p-4<%= if @conn.request_path == "/home", do: " text-blue-500 italic italic"%>">
43
<span class=" sr-only">Home</span>
5-
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20"
6-
xmlns="http://www.w3.org/2000/svg">
4+
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
75
<path
86
d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z">
97
</path>
108
</svg>
11-
<p class="pt-0.5">Home</p>
9+
<p class="pt-0.5">Office</p>
1210
</button>
1311
<% end %>
1412
<%= link to: "/market", class: "w-1/5 flex justify-center" do %>
15-
<button
16-
class="p-4<%= if @conn.request_path == "/market", do: " text-blue-500 italic"%>">
13+
<button class="p-4<%= if @conn.request_path == "/market", do: " text-blue-500 italic"%>">
1714
<span class=" sr-only">Market</span>
18-
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20"
19-
xmlns="http://www.w3.org/2000/svg">
15+
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
2016
<path
2117
d="M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z">
2218
</path>
@@ -30,14 +26,11 @@
3026
<% end %>
3127

3228
<%= link to: "/home/posts/new", class: "w-1/5 flex justify-center" do %>
33-
<button
34-
class="p-4<%= if @conn.request_path == "/home/posts/new", do: " text-blue-500 italic"%>">
29+
<button class="p-4<%= if @conn.request_path == "/home/posts/new", do: " text-blue-500 italic"%>">
3530
<span class=" sr-only">Post</span>
3631
<!-- Heroicon name: Profile -->
37-
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20"
38-
xmlns="http://www.w3.org/2000/svg">
39-
<path
40-
d="M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z">
32+
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
33+
<path d="M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z">
4134
</path>
4235
<path fill-rule="evenodd"
4336
d="M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z"
@@ -48,17 +41,14 @@
4841
</button>
4942
<% end %>
5043
<%= link to: "/updates", class: "w-1/5 flex justify-center" do %>
51-
<button
52-
class="p-4 relative<%= if @conn.request_path == "/updates", do: " text-blue-500 italic"%>">
44+
<button class="p-4 relative<%= if @conn.request_path == "/updates", do: " text-blue-500 italic"%>">
5345
<span class=" sr-only">Updates</span>
5446
<%= if Shlinkedin.Profiles.get_last_read_notification_time(@profile) > @profile.last_checked_notifications do %>
55-
<span
56-
class="text-xs absolute top-2 right-2 block h-4 w-4 rounded-full ring-2 ring-white bg-red-600 text-white">
47+
<span class="text-xs absolute top-2 right-2 block h-4 w-4 rounded-full ring-2 ring-white bg-red-600 text-white">
5748
<%= Shlinkedin.Profiles.get_unread_notification_count(@profile) %>
5849
</span>
5950
<% end %>
60-
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20"
61-
xmlns="http://www.w3.org/2000/svg">
51+
<svg class="w-6 h-6 mx-auto" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
6252
<path
6353
d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z">
6454
</path>

lib/shlinkedin_web/templates/layout/_top_nav.html.eex

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z">
8080
</path>
8181
</svg>
82-
<p class=" pt-0.5 text-xs hidden md:inline-block">Home</p>
82+
<p class=" pt-0.5 text-xs hidden md:inline-block">Office</p>
8383
</button>
8484
<% end %>
8585

0 commit comments

Comments
 (0)