From 767e3609f5c2dc5b5f7b0ef23c4145f4f138ccda Mon Sep 17 00:00:00 2001 From: Cole Goldsmith Date: Tue, 20 May 2025 10:56:52 -0500 Subject: [PATCH 1/2] update nav and footer logo, move search to center --- src/css/docsearch.css | 3 +- src/partials/footer.hbs | 4 +- src/partials/logo-text.hbs | 44 --------------- src/partials/logo.hbs | 111 ++++++++----------------------------- src/partials/navbar.hbs | 4 +- 5 files changed, 27 insertions(+), 139 deletions(-) delete mode 100644 src/partials/logo-text.hbs diff --git a/src/css/docsearch.css b/src/css/docsearch.css index 7d5c9a58..059c003e 100644 --- a/src/css/docsearch.css +++ b/src/css/docsearch.css @@ -49,10 +49,9 @@ html[data-theme="dark"] .DocSearch .DocSearch-Modal { } .DocSearch .DocSearch-Button { - @apply transition-colors; + @apply h-8 transition-colors md:h-10; min-width: var(--ds-space-5); - height: var(--ds-space-5); border-radius: 6px; border: 1px solid var(--ds-neutral-outlined-border); margin: 0; diff --git a/src/partials/footer.hbs b/src/partials/footer.hbs index 40e957f1..a51b7836 100644 --- a/src/partials/footer.hbs +++ b/src/partials/footer.hbs @@ -5,9 +5,9 @@ target="_blank" title="Go to the DataStax Website" data-track="Footer datastax.com Link Clicked" - class="w-min" + class="w-min !text-primary" > - {{> logo-text}} + {{> logo}}

© diff --git a/src/partials/logo-text.hbs b/src/partials/logo-text.hbs deleted file mode 100644 index aef81571..00000000 --- a/src/partials/logo-text.hbs +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/src/partials/logo.hbs b/src/partials/logo.hbs index 7a04cb96..f1f8a035 100644 --- a/src/partials/logo.hbs +++ b/src/partials/logo.hbs @@ -1,90 +1,23 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/partials/navbar.hbs b/src/partials/navbar.hbs index 5b9525d0..d9f6e22b 100644 --- a/src/partials/navbar.hbs +++ b/src/partials/navbar.hbs @@ -11,9 +11,9 @@ {{> logo}} -

+