diff --git a/src/components/home/Hero.jsx b/src/components/home/Hero.jsx index 6c42938f..4ec3bf51 100644 --- a/src/components/home/Hero.jsx +++ b/src/components/home/Hero.jsx @@ -26,7 +26,7 @@ export function Hero() { { userName: 'laphatize', challengeName: 'Excel-lently Hidden', profilePic: 'https://imagedelivery.net/1Dym4oPRvM_5USnDWCdSCw/7523c0cb-2330-443c-94f1-030cd8bde300/public' }, { userName: 'herronjo', challengeName: 'Trading Bananas' , profilePic: 'https://imagedelivery.net/1Dym4oPRvM_5USnDWCdSCw/1bd03d05-1057-48fc-3d3f-b3ed512cb500/public' }, { userName: 'thunderbird', challengeName: 'Sneaky Cat ' , profilePic: 'https://imagedelivery.net/1Dym4oPRvM_5USnDWCdSCw/3b312b5f-c90d-490d-80d0-e52b367d4400/public' }, - { userName: 'steven', challengeName: 'Pretty Obvious', profilePic: 'https://imagedelivery.net/1Dym4oPRvM_5USnDWCdSCw/3e75c7a3-dfe9-47cc-0d46-736187e62400/public' }, + { userName: 'stevestef', challengeName: 'Pretty Obvious', profilePic: 'https://imagedelivery.net/1Dym4oPRvM_5USnDWCdSCw/3e75c7a3-dfe9-47cc-0d46-736187e62400/public' }, ]); }; diff --git a/src/pages/create.jsx b/src/pages/create.jsx index 28f52d86..4ae17cf6 100644 --- a/src/pages/create.jsx +++ b/src/pages/create.jsx @@ -437,8 +437,31 @@ export default function Create() { > View Feedback + + window.open(`../../challenges/${challenge.id}`, '_blank')}> + + Go to Challenge Page + )} + {challenge.state === 'STANDARD_UNVERIFIED' &&( + <> + + Edit, {challenge.title} + + + window.open(`../../challenges/${challenge.id}`, '_blank')}> + + Go to Challenge Page + + + )} + {challenge.state === 'STANDARD_VERIFIED' &&( + window.open(`../../challenges/${challenge.id}`, '_blank')}> + + Go to Challenge Page + + )} diff --git a/src/pages/dashboard.jsx b/src/pages/dashboard.jsx index 1a92080c..e3f489b5 100644 --- a/src/pages/dashboard.jsx +++ b/src/pages/dashboard.jsx @@ -257,20 +257,21 @@ export default function Dashboard() {