From baecf8d865e9ffbb1895b82de0b66ff5acfe393e Mon Sep 17 00:00:00 2001 From: Cesar Alcazar Date: Mon, 19 Oct 2026 22:35:49 -0600 Subject: [PATCH] 8iz120vqu: Restyle the Trending minnects and Find experts panels --- src/app/globals.css | 3 +- src/app/layout.tsx | 2 + src/components/ExpertSearch.tsx | 52 ++++++---- src/components/MinnectMedia.tsx | 88 +++++++++++----- src/components/TrendingMinnectsRail.tsx | 23 ++--- src/dev/fixtures.ts | 2 +- src/styles/legacy.css | 18 ---- src/styles/search.css | 74 +++++++++++++ src/styles/trending.css | 131 ++++++++++++++++++++++++ 9 files changed, 315 insertions(+), 78 deletions(-) create mode 100644 src/styles/search.css create mode 100644 src/styles/trending.css diff --git a/src/app/globals.css b/src/app/globals.css index d4414e9..94cda99 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -114,7 +114,8 @@ .btn-sweep::before, .account-dot, .featured-cf::before, - .featured-cap { animation: none !important; } + .featured-cap, + .minnect-card { animation: none !important; } .featured-item, .featured-ring, .featured-dot { transition: none !important; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b9a39c0..95a647b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -12,6 +12,8 @@ import "../styles/post.css"; import "../styles/composer.css"; import "../styles/featured.css"; import "../styles/feed.css"; +import "../styles/trending.css"; +import "../styles/search.css"; import "../styles/legacy.css"; const manrope = Manrope({ diff --git a/src/components/ExpertSearch.tsx b/src/components/ExpertSearch.tsx index d94c9d1..cce7eb7 100644 --- a/src/components/ExpertSearch.tsx +++ b/src/components/ExpertSearch.tsx @@ -1,5 +1,6 @@ "use client"; +import { SweepButton } from "@/components/Buttons"; import { HexAvatar } from "@/components/HexAvatar"; import { useEffect, useRef, useState } from "react"; import type { DiscoverCategory } from "@/lib/discover"; @@ -27,28 +28,30 @@ export function ExpertSearchView(p: ExpertSearchViewProps) {
e.preventDefault()}> - p.onQuery(e.target.value)} - /> +
+ + p.onQuery(e.target.value)} + /> +
{p.categories.length > 0 ? (
{p.categories.map((c) => ( - + /> ))}
) : null} @@ -59,15 +62,20 @@ export function ExpertSearchView(p: ExpertSearchViewProps) {

No experts found.

) : null} {p.status === "ready" && p.results.length > 0 ? ( -