diff --git a/apps/new/widget/Index.jsx b/apps/new/widget/Index.jsx index 9f7f66b2..664a4fb8 100644 --- a/apps/new/widget/Index.jsx +++ b/apps/new/widget/Index.jsx @@ -10,7 +10,10 @@ const data = fetch(`https://httpbin.org/headers`); const gatewayURL = data?.body?.headers?.Origin ?? ""; const Container = - gatewayURL.includes("near.org") || gatewayURL.includes("everything.dev") + gatewayURL.includes("near.org") || + gatewayURL.includes("everything.dev") || + gatewayURL.includes("nearbuilders.org") || + gatewayURL.includes("gitbos.app") ? styled.div` width: 100%; ` diff --git a/apps/new/widget/page/project/QuickView.jsx b/apps/new/widget/page/project/QuickView.jsx index 8bb034e7..fe31852c 100644 --- a/apps/new/widget/page/project/QuickView.jsx +++ b/apps/new/widget/page/project/QuickView.jsx @@ -10,7 +10,10 @@ const data = fetch(`https://httpbin.org/headers`); const gatewayURL = data?.body?.headers?.Origin ?? ""; const isNearDiscovery = - gatewayURL.includes("near.org") || gatewayURL.includes("everything.dev"); + gatewayURL.includes("near.org") || + gatewayURL.includes("everything.dev") || + gatewayURL.includes("nearbuilders.org") || + gatewayURL.includes("gitbos.app"); const showCanvas = props.showCanvas; const onClose = props.onClose; @@ -93,7 +96,7 @@ return ( tabIndex="-1" data-bs-scroll="false" data-bs-backdrop="true" - style={{ top: isNearDiscovery ? "" : "73px" }} + style={{ top: isNearDiscovery ? "0px" : "73px" }} >