Skip to content

Commit 8fda397

Browse files
SaraVieiraCompuIves
authored andcommitted
fix ux confusion with gh (codesandbox#1720)
1 parent a964721 commit 8fda397

File tree

2 files changed

+9
-5
lines changed
  • packages/app/src/app/pages

2 files changed

+9
-5
lines changed

packages/app/src/app/pages/Dashboard/Content/CreateNewSandbox/Modal/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ export default class Modal extends React.PureComponent {
8282
</Tab>
8383
))}
8484
<ImportChoices>
85-
<ImportChoice
86-
href="/docs/importing#import-from-github"
87-
target="_blank"
88-
>
85+
<ImportChoice href="/s/github" target="_blank">
8986
<GithubLogo /> Import from GitHub
9087
</ImportChoice>
9188
<ImportChoice

packages/app/src/app/pages/GitHub/index.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,14 @@ class GitHub extends React.PureComponent {
7575
<SubTitle>
7676
Enter the URL to your GitHub repository to generate a URL to
7777
your sandbox. The sandbox will stay in sync with your
78-
repository.
78+
repository.<br />
79+
<a
80+
href="/docs/importing#import-from-github"
81+
rel="noopener norefereer"
82+
target="_blank"
83+
>
84+
See the docs
85+
</a>
7986
</SubTitle>
8087
</Description>
8188

0 commit comments

Comments
 (0)