Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devsisingh committed Jan 14, 2024
1 parent e112777 commit b51fd95
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 19 deletions.
2 changes: 1 addition & 1 deletion components/NftDataContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const NftdataContainer: React.FC<MyReviewContainerProps> = ({
const renderNoReviewsFound = () => (
<div className="w-full text-center py-10">
<h2 className="text-4xl font-semibold text-gray-700">
No Verified Projects
No NFTs
</h2>
</div>
);
Expand Down
36 changes: 18 additions & 18 deletions pages/mint.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,24 @@ const Mint = () => {
};


if (!isSignedIn) {
return (
<>
<Head>
<title>Erebrus | Clients</title>
</Head>
<div className="flex justify-center mt-48 text-white bg-black h-screen">
Please sign in to Erebrus to view your NFT
</div>
{/* <button
className="bg-blue-500 text-white font-bold py-2 px-4 rounded-lg lg:mb-48"
onClick={mint}
>
Mint Erebrus NFT
</button> */}
</>
);
}
// if (!isSignedIn) {
// return (
// <>
// <Head>
// <title>Erebrus | Clients</title>
// </Head>
// <div className="flex justify-center mt-48 text-white bg-black h-screen">
// Please sign in to Erebrus to view your NFT
// </div>
// {/* <button
// className="bg-blue-500 text-white font-bold py-2 px-4 rounded-lg lg:mb-48"
// onClick={mint}
// >
// Mint Erebrus NFT
// </button> */}
// </>
// );
// }

return (
<>
Expand Down
10 changes: 10 additions & 0 deletions pages/subscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,16 @@ const Subscription = () => {
setcollectionsPage(false);
};

if (!wallet) {
return (
<>
<div className="flex justify-center mt-48 text-white bg-black h-screen">
Please sign in to Erebrus to view your NFT
</div>
</>
);
}

return (
<div className="py-0">
<section className="">
Expand Down

0 comments on commit b51fd95

Please sign in to comment.