From 81556d9f873db48d010b255395dd3393a861ddda Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Fri, 6 Mar 2026 15:29:54 -0800 Subject: [PATCH 1/2] Add Profile box, NFT info, and ERC20 notes to create app homepage - Add Profile search card and NFT info card to homepage alongside token search - Cards display side-by-side on larger screens - Specify ERC20 in token search title and description - Add example links for token and profile lookups - Note on profile page that only ERC20 tokens are included Co-Authored-By: Claude Opus 4.6 --- apps/create/src/pages/Profile.tsx | 3 +- apps/create/src/pages/Search.tsx | 85 +++++++++++++++++++++++++++---- 2 files changed, 78 insertions(+), 10 deletions(-) diff --git a/apps/create/src/pages/Profile.tsx b/apps/create/src/pages/Profile.tsx index 4cca475..58a98cc 100644 --- a/apps/create/src/pages/Profile.tsx +++ b/apps/create/src/pages/Profile.tsx @@ -299,7 +299,8 @@ export const Profile = () => { Tokens - Party tokens you hold. Open to view, buy, or sell on this app. + Party tokens you hold. Open to view, buy, or sell on this app. Only ERC20 tokens are + included. diff --git a/apps/create/src/pages/Search.tsx b/apps/create/src/pages/Search.tsx index 94da5dc..4d20032 100644 --- a/apps/create/src/pages/Search.tsx +++ b/apps/create/src/pages/Search.tsx @@ -1,5 +1,5 @@ import { useForm } from "react-hook-form"; -import { useNavigate } from "react-router"; +import { Link, useNavigate } from "react-router"; import { Button, @@ -12,39 +12,106 @@ import { Label } from "@party-forever/ui"; -interface FormData { +interface TokenFormData { tokenAddress: string; } +interface ProfileFormData { + address: string; +} + export const Search = () => { const navigate = useNavigate(); - const { register, handleSubmit } = useForm(); + const tokenForm = useForm(); + const profileForm = useForm(); - const onSubmit = (data: FormData) => { + const onTokenSubmit = (data: TokenFormData) => { navigate(`/${data.tokenAddress}`); }; + const onProfileSubmit = (data: ProfileFormData) => { + navigate(`/profile/${data.address.trim()}`); + }; + return ( -
+
- View token + View ERC20 token - Enter a token address to buy, sell, or trade on Uniswap (Base) + Enter an ERC20 token address to buy, sell, or trade on Uniswap (Base) -
+
- +
+
+

Example

+ + 0x90e3b08e50bf662154964c6051ab3ce64024ff24 + +
+ + + + Profile + + Enter a wallet address to view Party ERC20 token holdings + + + +
+
+ + +
+ +
+
+

Example

+ + 0xba5f2ffb721648Ee6a6c51c512A258ec62f1D6af + +
+
+
+ + + + NFTs + + Party NFTs are pinned on IPFS and available to view and trade via OpenSea. + + +
); }; From 7d80d84e620a87227d1b4fa43620f6a0c9aeced9 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Fri, 6 Mar 2026 15:33:05 -0800 Subject: [PATCH 2/2] updates --- apps/create/src/App.tsx | 9 --------- apps/create/src/pages/TokenDetails.tsx | 7 ++++++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/create/src/App.tsx b/apps/create/src/App.tsx index ee7d5c5..300cc93 100644 --- a/apps/create/src/App.tsx +++ b/apps/create/src/App.tsx @@ -18,15 +18,6 @@ const App = () => { Party Create - - `party-nav-link text-sm font-medium ${isActive ? "active text-[#00d4ff]" : ""}` - } - > - Search - {address && ( { const { address } = useParams<{ address: string }>(); const { address: userAddress } = useAccount(); + const { openConnectModal } = useConnectModal(); const [loading, setLoading] = useState(true); const [error, setError] = useState(null); @@ -215,7 +217,10 @@ export const TokenDetails = () => { > Sell -