Explorar o código

Remove link from DS in side nav (#23759)

GitOrigin-RevId: 0724fecd45ce3686be25d394aaea9c2c2b97f669
Alf Eaton hai 1 ano
pai
achega
e8a6cb340e

+ 2 - 8
services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx

@@ -152,14 +152,8 @@ function SidebarDsNav() {
             </>
           )}
         </div>
-        <div className="ds-nav-ds-link">
-          <a
-            target="_blank"
-            href="https://www.digital-science.com/"
-            rel="noopener"
-          >
-            Digital Science
-          </a>
+        <div className="ds-nav-ds-name">
+          <span>Digital Science</span>
         </div>
       </div>
       <div

+ 2 - 4
services/web/frontend/stylesheets/bootstrap-5/pages/project-list-ds-nav.scss

@@ -304,14 +304,12 @@
     }
   }
 
-  .ds-nav-ds-link {
+  .ds-nav-ds-name {
     margin-bottom: var(--spacing-05);
 
-    a {
-      color: var(--content-secondary) !important;
+    span {
       text-transform: uppercase;
       font-weight: bold;
-      text-decoration: none;
 
       @include body-xs;
     }