You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -38,15 +48,22 @@ export function NextStepsModal(props: NextStepsProps) {
38
48
<Modal.Header><h2>Your Supersonic Subatomic App is ready!</h2></Modal.Header>
39
49
<Modal.Body>
40
50
{zip&&(
41
-
<>
42
-
{props.result.target===Target.DOWNLOAD ? (
43
-
<p>Your download should start shortly. If it doesn't, please use the direct link:</p>
44
-
) : (
45
-
<p>It's time to download it:</p>
46
-
)}
47
-
<Buttonas="a"href={props.result.url}aria-label="Download the zip"className="download-button"
48
-
onClick={linkTracker}>Download the zip</Button>
49
-
</>
51
+
<>
52
+
{props.result.target===Target.DOWNLOAD ? (
53
+
<p>Your download should start shortly. If it doesn't, please use the direct link:</p>
54
+
) : (
55
+
<p>Your download link is ready:</p>
56
+
)}
57
+
<Buttonas="a"href={props.result.url}aria-label="Download the zip"className="action-button"
58
+
onClick={linkTracker}><FaFileArchive/><span>Download the zip</span></Button>
59
+
{props.githubClientId&&(
60
+
<>
61
+
<p>If you want to start collaborating:</p>
62
+
<Buttonas="button"aria-label="Create on GitHub"className="action-button github"
63
+
onClick={githubClick}><FaGithub/><span>Push to GitHub</span></Button>
64
+
</>
65
+
)}
66
+
</>
50
67
)}
51
68
{props.result.target===Target.GITHUB&&(
52
69
<>
@@ -87,8 +104,9 @@ export function NextStepsModal(props: NextStepsProps) {
87
104
88
105
</div>
89
106
{extensionsWithGuides.length===1&&(
90
-
<div>
91
-
<b>Follow the <ExternalLinkhref={extensionsWithGuides[0].guide!}aria-label={`Open ${extensionsWithGuides[0].name} guide`}onClick={onClickGuide(extensionsWithGuides[0].id)}>{extensionsWithGuides[0].name} guide</ExternalLink> for your next steps!</b>
107
+
<div>
108
+
<b>Follow the <ExternalLinkhref={extensionsWithGuides[0].guide!}
109
+
aria-label={`Open ${extensionsWithGuides[0].name} guide`}onClick={onClickGuide(extensionsWithGuides[0].id)}>{extensionsWithGuides[0].name} guide</ExternalLink> for your next steps!</b>
0 commit comments