Skip to content

Commit

Permalink
add in some assumptions about the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
fermion committed Jan 29, 2024
1 parent 0a2edc5 commit 3a11b21
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
<%= header_link_to "My StaffPlan", "#" %>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium" onclick="alert('Assumption: this will render the current user StaffPlan view'); return false;">My StaffPlan</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">Clients</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">Projects</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">People</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium" onclick="alert('Assumption: this will render the projects StaffPlan view'); return false;">Projects</a>
<% if current_user.owner?(company: current_company) %>
<%= header_link_to "Settings", settings_path %>
<% end %>
Expand Down Expand Up @@ -97,10 +96,9 @@
<!-- Mobile menu, show/hide based on menu state. -->
<div class="border-b border-gray-700 md:hidden hidden" id="mobile-menu">
<div class="space-y-1 px-2 py-3 sm:px-3">
<%= mobile_header_link_to "My StaffPlan", "#" %>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium" onclick="alert('Assumption: this will render the current user StaffPlan view'); return false;">My StaffPlan</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">Clients</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">Projects</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">People</a>
<a href="#" class="text-gray-300 hover:bg-gray-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium" onclick="alert('Assumption: this will render the projects StaffPlan view'); return false;">Projects</a>
<% if current_user.owner?(company: current_company) %>
<%= mobile_header_link_to "Settings", settings_path %>
<% end %>
Expand Down

0 comments on commit 3a11b21

Please sign in to comment.