Skip to content

Commit

Permalink
fixed store UI at launchpad
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikugodwill committed Aug 27, 2024
1 parent 89d252c commit 911794d
Showing 1 changed file with 24 additions and 27 deletions.
51 changes: 24 additions & 27 deletions apps/Mintbase/widget/Mintbase/App/LaunchPad/Contracts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,35 +302,32 @@ const Contracts = () => {

return (
<Root>
{!stores.length &&
!isHome(
<div
className="text-center mx-auto mt-100"
style={{ padding: "200px 0" }}
>
<div className="d-flex flex-column align-items-center gap-4 create-area">
<div>
<h3 className="mb-2">
Deploy your own store to mint NFTs from
</h3>{" "}
<p>
You don't have any stores yet — let's create your first one!
Or refresh the page if you just deployed (could take up to 5
minutes).
</p>
</div>
<Widget
src={`${config_account}/widget/Mintbase.MbButton`}
props={{
label: "New Store",
onClick: createStoreHandler,
size: "big",
isDarkModeOn,
}}
/>
{!stores.length && !isHome && (
<div
className="text-center mx-auto mt-100"
style={{ padding: "200px 0" }}
>
<div className="d-flex flex-column align-items-center gap-4 create-area">
<div>
<h3 className="mb-2">Deploy your own store to mint NFTs from</h3>{" "}
<p>
You don't have any stores yet — let's create your first one! Or
refresh the page if you just deployed (could take up to 5
minutes).
</p>
</div>
<Widget
src={`${config_account}/widget/Mintbase.MbButton`}
props={{
label: "New Store",
onClick: createStoreHandler,
size: "big",
isDarkModeOn,
}}
/>
</div>
)}
</div>
)}
<>
<div className="top">
<div className="lhs">Your Contracts </div>
Expand Down

0 comments on commit 911794d

Please sign in to comment.