Skip to content

Commit

Permalink
Make user drodown menu dark-themed, and 'About' page dark themed
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Nov 15, 2024
1 parent ad68d49 commit 352e241
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/views/front/about.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="container animated flipInX" style="display:flex; justify-content: center; align-items: center; height: 87vh; opacity: 0.9">
<div class = "card" style = "background-color: black; width: auto; padding: 60px"><br/>
<h1 style="color: white; text-align: center;">UCL Application Portfolio</h1><br><hr style="background-color: white">
<div class="about-paras text-left">
<div class="about-paras text-left text-white">
<p class="px-4">UCL Application Portfolio is a portfolio that manages the applications that are available, under development, in design, decomissioned.</p>
<p class="px-4">UCL Application Portfolio is developed using <a href="https://rubyonrails.org/" target="_blank" style="color: red">Ruby on Rails</a> platform by the UCL Application Development Team. Contact <a href="<%= contact_path %>" style="color: red">Application Development</a> team for more information. </p>
</div>
<br/>
<p class="text-center">Deployed on <%= $deployed_at %></p><br/>
<p class="text-center text-white">Deployed on <%= $deployed_at %></p><br/>
</div>
</div>
6 changes: 3 additions & 3 deletions app/views/shared/_dashboard_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
<%= nav_helper 'nav-link' %>
<div class="drop" style="position: relative; display: inline-block; margin-left: 20px;">
<% if current_user %><a class="nav-link drop-btn"> <%= current_user.first_name.to_s+" "+current_user.last_name.to_s %><i class="fa fa-caret-down" style="margin: 5px 15px 0px 8px;"></i></a><% end %>
<div class="dropdown-content">
<a href="<%= myprofile_path %>">My Profile <i class="fa fa-user float-right"></i></a>
<div class="dropdown-content bg-black">
<a href="<%= myprofile_path %>" class="text-white">My Profile <i class="fa fa-user float-right"></i></a>
<% if current_user %>
<%= link_to "Logout", destroy_user_session_path, :method => :delete %>
<%= link_to "Logout", destroy_user_session_path, :method => :delete, :class => "text-white" %>
<%end%>
</div>
</div>
Expand Down

0 comments on commit 352e241

Please sign in to comment.