diff --git a/web/components/page.tsx b/web/components/page.tsx
index c8b44494..bda0ddd7 100644
--- a/web/components/page.tsx
+++ b/web/components/page.tsx
@@ -6,9 +6,10 @@ export function Page(props: {
wide?: boolean
margin?: boolean
assertUser?: 'signed-in' | 'signed-out'
+ rightSidebar?: React.ReactNode
children?: any
}) {
- const { wide, margin, assertUser, children } = props
+ const { wide, margin, assertUser, children, rightSidebar } = props
return (
@@ -16,7 +17,7 @@ export function Page(props: {
-
{children}
+
{children}
diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx
index 1c321abc..3c0d0263 100644
--- a/web/pages/[username]/[contractSlug].tsx
+++ b/web/pages/[username]/[contractSlug].tsx
@@ -121,8 +121,17 @@ export default function ContractPage(props: {
const ogCardProps = getOpenGraphProps(contract)
+ const rightSidebar = hasSidePanel ? (
+
+ {allowTrade && (
+
+ )}
+ {allowResolve && }
+
+ ) : null
+
return (
-
+
{ogCardProps && (
-
- {hasSidePanel && (
- <>
-
-
-
- {allowTrade && (
-
- )}
- {allowResolve && (
-
- )}
-
- >
- )}
)
diff --git a/web/pages/fold/[...slugs]/index.tsx b/web/pages/fold/[...slugs]/index.tsx
index c7ac014a..01c4a471 100644
--- a/web/pages/fold/[...slugs]/index.tsx
+++ b/web/pages/fold/[...slugs]/index.tsx
@@ -159,8 +159,28 @@ export default function FoldPage(props: {
return
}
+ const rightSidebar = (
+
+
+ {isCurator ? (
+
+ ) : (
+
+ )}
+
+
+
+
+ )
+
return (
-
+
- {isCurator ? (
-
- ) : (
-
- )}
@@ -259,16 +274,6 @@ export default function FoldPage(props: {
)}
-
-
-
-
)}