From 88d346cebded72c810dabfb4b9d381a489f7be3b Mon Sep 17 00:00:00 2001
From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com>
Date: Thu, 15 Feb 2024 16:40:50 -0500
Subject: [PATCH 1/2] feat(nx-dev): update website header components
It makes significant changes to several UI components for improved navigation and visual similarity. This involves updates to wording, removal of unnecessary elements, and modifications for better responsiveness. It also introduces the new `NxCloudIcon` and reorganizes the layout navigation in the `sidebar.tsx` file. The main header has now a "Contact" link and the documentation header has a "Go to app" and the main navigation menu embedded.
---
.../feature-search/src/lib/algolia-search.tsx | 9 +-
nx-dev/ui-common/src/index.ts | 1 +
.../src/lib/documentation-header.tsx | 74 ++++++++--
nx-dev/ui-common/src/lib/header.tsx | 24 ++--
nx-dev/ui-common/src/lib/nx-cloud-icon.tsx | 17 +++
nx-dev/ui-common/src/lib/sidebar.tsx | 129 +++++++++++-------
.../src/lib/extensible-and-integrated.tsx | 8 +-
nx-dev/ui-home/src/lib/nx-with-ci.tsx | 3 +-
8 files changed, 178 insertions(+), 87 deletions(-)
create mode 100644 nx-dev/ui-common/src/lib/nx-cloud-icon.tsx
diff --git a/nx-dev/feature-search/src/lib/algolia-search.tsx b/nx-dev/feature-search/src/lib/algolia-search.tsx
index 1010abe7098c0..2caaf2dc19472 100644
--- a/nx-dev/feature-search/src/lib/algolia-search.tsx
+++ b/nx-dev/feature-search/src/lib/algolia-search.tsx
@@ -75,7 +75,7 @@ export function AlgoliaSearch({
{!tiny ? (
@@ -86,9 +86,8 @@ export function AlgoliaSearch({
className="flex w-full items-center rounded-md bg-white py-1.5 px-2 text-sm leading-4 ring-1 ring-slate-300 transition dark:bg-slate-700 dark:ring-slate-900"
>
-
- Search{' '}
- Documentation ...
+
+ Search the docs ...
-