diff --git a/src/app/explorer/components/CreateGuildLink.tsx b/src/app/explorer/components/CreateGuildLink.tsx
index 00a25612fa..f9d456ad00 100644
--- a/src/app/explorer/components/CreateGuildLink.tsx
+++ b/src/app/explorer/components/CreateGuildLink.tsx
@@ -1,32 +1,19 @@
-"use client";
-
import { buttonVariants } from "@/components/ui/Button";
-import { Plus } from "@phosphor-icons/react";
-import { useAtomValue } from "jotai";
+import { Plus } from "@phosphor-icons/react/dist/ssr";
import Link from "next/link";
-import { isNavStuckAtom } from "../atoms";
-export const CreateGuildLink = () => {
- const isNavStuck = useAtomValue(isNavStuckAtom);
- return (
-
-
- Create guild
-
- );
-};
+export const CreateGuildLink = () => (
+
+
+ Create guild
+
+);
diff --git a/src/app/explorer/components/GuildCard.tsx b/src/app/explorer/components/GuildCard.tsx
index e69de29bb2..cef6659310 100644
--- a/src/app/explorer/components/GuildCard.tsx
+++ b/src/app/explorer/components/GuildCard.tsx
@@ -0,0 +1,66 @@
+import { Badge } from "@/components/ui/Badge";
+import { Card } from "@/components/ui/Card";
+import { Skeleton } from "@/components/ui/Skeleton";
+import { ImageSquare, Users } from "@phosphor-icons/react/dist/ssr";
+import { Avatar, AvatarFallback, AvatarImage } from "@radix-ui/react-avatar";
+import Link from "next/link";
+import type { FunctionComponent } from "react";
+
+export const GuildCard: FunctionComponent<{ guild: Guild }> = ({ guild }) => {
+ return (
+
+
+
+
+
+
+
+
+
+
+ {guild.name}
+
+
+
+
+
+ {new Intl.NumberFormat("en", {
+ notation: "compact",
+ }).format(12345)}
+
+
+
+ 5 groups
+
+
+
+ );
+};
+
+export const GuildCardSkeleton = () => {
+ return (
+
+ );
+};
diff --git a/src/app/explorer/components/InfiniteScrollGuilds.tsx b/src/app/explorer/components/InfiniteScrollGuilds.tsx
index 03e84654bb..172d5e73fe 100644
--- a/src/app/explorer/components/InfiniteScrollGuilds.tsx
+++ b/src/app/explorer/components/InfiniteScrollGuilds.tsx
@@ -1,6 +1,5 @@
"use client";
-import { GuildCard, GuildCardSkeleton } from "@/components/GuildCard";
import { useInfiniteQuery } from "@tanstack/react-query";
import { useIntersection } from "foxact/use-intersection";
import { useAtomValue } from "jotai";
@@ -8,6 +7,7 @@ import { useCallback, useEffect } from "react";
import { searchAtom } from "../atoms";
import { PAGE_SIZE } from "../constants";
import { getGuildSearch } from "../fetchers";
+import { GuildCard, GuildCardSkeleton } from "./GuildCard";
export const InfiniteScrollGuilds = () => {
const search = useAtomValue(searchAtom);
diff --git a/src/app/explorer/components/StickyNavbar.tsx b/src/app/explorer/components/StickyNavbar.tsx
index 2b6f7c5ff3..e794e5e14b 100644
--- a/src/app/explorer/components/StickyNavbar.tsx
+++ b/src/app/explorer/components/StickyNavbar.tsx
@@ -9,7 +9,6 @@ import { activeSectionAtom, isNavStuckAtom, isSearchStuckAtom } from "../atoms";
import { ACTIVE_SECTION } from "../constants";
const Nav = () => {
- const _isNavStuck = useAtomValue(isNavStuckAtom);
const isSearchStuck = useAtomValue(isSearchStuckAtom);
const [activeSection, setActiveSection] = useAtom(activeSectionAtom);
const spyActiveSection = useScrollspy(Object.values(ACTIVE_SECTION), 0);
diff --git a/src/app/explorer/page.tsx b/src/app/explorer/page.tsx
index 956c80b246..34803c5bed 100644
--- a/src/app/explorer/page.tsx
+++ b/src/app/explorer/page.tsx
@@ -1,6 +1,4 @@
import { AuthBoundary } from "@/components/AuthBoundary";
-import { GuildCardSkeleton } from "@/components/GuildCard";
-import { GuildCard } from "@/components/GuildCard";
import { SignInButton } from "@/components/SignInButton";
import { env } from "@/lib/env";
import {
@@ -10,6 +8,7 @@ import {
} from "@tanstack/react-query";
import { Suspense } from "react";
import { CreateGuildLink } from "./components/CreateGuildLink";
+import { GuildCard, GuildCardSkeleton } from "./components/GuildCard";
import { HeaderBackground } from "./components/HeaderBackground";
import { InfiniteScrollGuilds } from "./components/InfiniteScrollGuilds";
import { StickyNavbar } from "./components/StickyNavbar";
diff --git a/src/components/GuildCard.tsx b/src/components/GuildCard.tsx
deleted file mode 100644
index cef6659310..0000000000
--- a/src/components/GuildCard.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-import { Badge } from "@/components/ui/Badge";
-import { Card } from "@/components/ui/Card";
-import { Skeleton } from "@/components/ui/Skeleton";
-import { ImageSquare, Users } from "@phosphor-icons/react/dist/ssr";
-import { Avatar, AvatarFallback, AvatarImage } from "@radix-ui/react-avatar";
-import Link from "next/link";
-import type { FunctionComponent } from "react";
-
-export const GuildCard: FunctionComponent<{ guild: Guild }> = ({ guild }) => {
- return (
-
-
-
-
-
-
-
-
-
-
- {guild.name}
-
-
-
-
-
- {new Intl.NumberFormat("en", {
- notation: "compact",
- }).format(12345)}
-
-
-
- 5 groups
-
-
-
- );
-};
-
-export const GuildCardSkeleton = () => {
- return (
-
- );
-};