diff --git a/public/images/robot.svg b/public/images/robot.svg new file mode 100644 index 0000000000..9079bbab15 --- /dev/null +++ b/public/images/robot.svg @@ -0,0 +1,14 @@ + diff --git a/src/app/explorer/components/GuildCard.tsx b/src/app/explorer/_components/GuildCard.tsx similarity index 100% rename from src/app/explorer/components/GuildCard.tsx rename to src/app/explorer/_components/GuildCard.tsx diff --git a/src/app/explorer/_components/HeaderBackground.tsx b/src/app/explorer/_components/HeaderBackground.tsx new file mode 100644 index 0000000000..66544aba41 --- /dev/null +++ b/src/app/explorer/_components/HeaderBackground.tsx @@ -0,0 +1,23 @@ +"use client"; + +import { cn } from "@/lib/cssUtils"; +import { useAtomValue } from "jotai"; +import { isNavStuckAtom, isSearchStuckAtom } from "../atoms"; + +export const HeaderBackground = () => { + const isNavStuck = useAtomValue(isNavStuckAtom); + const isSearchStuck = useAtomValue(isSearchStuckAtom); + + return ( +
+ ); +}; diff --git a/src/app/explorer/components/InfiniteScrollGuilds.tsx b/src/app/explorer/_components/InfiniteScrollGuilds.tsx similarity index 94% rename from src/app/explorer/components/InfiniteScrollGuilds.tsx rename to src/app/explorer/_components/InfiniteScrollGuilds.tsx index 155422d8ba..b4651d1f0c 100644 --- a/src/app/explorer/components/InfiniteScrollGuilds.tsx +++ b/src/app/explorer/_components/InfiniteScrollGuilds.tsx @@ -7,7 +7,7 @@ import { useIntersection } from "foxact/use-intersection"; import { useAtomValue } from "jotai"; import { useCallback, useEffect } from "react"; import { searchAtom } from "../atoms"; -import { PAGE_SIZE } from "../constants"; +import { ACTIVE_SECTION, PAGE_SIZE } from "../constants"; import { getGuildSearch } from "../fetchers"; export const InfiniteScrollGuilds = () => { @@ -45,7 +45,7 @@ export const InfiniteScrollGuilds = () => { const guilds = data?.pages.flatMap((page) => page.items) || []; return ( -Sign in to view your guilds or create new ones @@ -93,7 +103,7 @@ async function YourGuilds() {
You're not a member of any guilds yet. Explore and join some below,