From 72a310fc72e67f9943a73536ef48c6d132af1ca5 Mon Sep 17 00:00:00 2001
From: 20LM22 <46831359+20LM22@users.noreply.github.com>
Date: Fri, 2 Aug 2024 15:42:47 -0400
Subject: [PATCH] adding header changes (#1883)
---
app/assets/stylesheets/application.scss | 9 ++++
app/views/shared/_header.html.erb | 18 +++++--
spec/system/front_page_spec.rb | 1 -
spec/views/_header.html.erb_spec.rb | 65 +++++++++++++++++++++++++
4 files changed, 87 insertions(+), 6 deletions(-)
create mode 100644 spec/views/_header.html.erb_spec.rb
diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss
index c75d55c7f..039047852 100644
--- a/app/assets/stylesheets/application.scss
+++ b/app/assets/stylesheets/application.scss
@@ -20,6 +20,15 @@
@import "components/users.scss";
@import "components/nav.scss";
+
+#pdc-discovery-label {
+ float: left;
+ margin: 0 auto;
+ height: 40px;
+ line-height: 40px;
+ text-align: center;
+}
+
.welcome-headers, #welcome-to-pdc {
font-size: 2rem !important;
}
diff --git a/app/views/shared/_header.html.erb b/app/views/shared/_header.html.erb
index 133ade51a..406f58aec 100644
--- a/app/views/shared/_header.html.erb
+++ b/app/views/shared/_header.html.erb
@@ -5,11 +5,19 @@
<% if current_user && (current_user.super_admin? || current_user.moderator?) %>
<%= render 'shared/admin_actions' %>
<% end %>
-
+ <% if current_user %>
+
+ <% else %>
+
Looking for data? Go to
+
+ <% end %>