From eef38a554fe0ad0ac7b1aeb28e4f6ba57984708c Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 19 Nov 2024 14:07:12 -0500 Subject: [PATCH] updated search bar for copilot landing page (#53180) --- src/landings/components/CategoryLanding.tsx | 8 ++++---- .../components/CookBookArticleCard.tsx | 6 +++--- src/landings/components/CookBookFilter.tsx | 20 ++++++++----------- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/src/landings/components/CategoryLanding.tsx b/src/landings/components/CategoryLanding.tsx index 07e294ed6d..21522a196d 100644 --- a/src/landings/components/CategoryLanding.tsx +++ b/src/landings/components/CategoryLanding.tsx @@ -86,14 +86,14 @@ export const CategoryLanding = () => {

Spotlight

- - - + + +
-
+

Explore {searchResults.length} prompt articles

diff --git a/src/landings/components/CookBookArticleCard.tsx b/src/landings/components/CookBookArticleCard.tsx index 6e6e67e4ec..7a1ea99fc6 100644 --- a/src/landings/components/CookBookArticleCard.tsx +++ b/src/landings/components/CookBookArticleCard.tsx @@ -96,9 +96,9 @@ export const CookBookArticleCard = ({ /> )}
- -

{title}

- +

+ {title} +

{description}
{tags.map((tag, index) => ( diff --git a/src/landings/components/CookBookFilter.tsx b/src/landings/components/CookBookFilter.tsx index 160a11f3a6..50f40184cc 100644 --- a/src/landings/components/CookBookFilter.tsx +++ b/src/landings/components/CookBookFilter.tsx @@ -54,13 +54,13 @@ export const CookBookFilter = ({ }, [isSearchOpen]) return ( - <> -
+
+
e.preventDefault()}>
- + - + -
- +
) }