Skip to content

Commit 43198ce

Browse files
trumbittaroboquat
authored andcommitted
[dashboard] make a primary button of the only call-to-action
1 parent c756e79 commit 43198ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dashboard/src/start/CreateWorkspace.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {
261261
if (!userScopes.includes(missingScope)) {
262262
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
263263
<p className="text-base text-gray-400 w-96">The repository may be private. Please authorize Gitpod to access to private repositories.</p>
264-
<a className="mx-auto" href={authorizeURL}><button className="secondary">Grant Access</button></a>
264+
<a className="mx-auto" href={authorizeURL}><button>Grant Access</button></a>
265265
</div>);
266266
return;
267267
}
@@ -286,14 +286,14 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {
286286
if (!updatedRecently) {
287287
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
288288
<p className="text-base text-gray-400 w-96">Permission to access private repositories has been granted. If you are a member of <CodeText>{owner}</CodeText>, please try to request access for Gitpod.</p>
289-
<a className="mx-auto" href={authorizeURL}><button className="secondary">Request Access for Gitpod</button></a>
289+
<a className="mx-auto" href={authorizeURL}><button>Request Access for Gitpod</button></a>
290290
</div>);
291291
return;
292292
}
293293

294294
setStatusMessage(<div className="mt-2 flex flex-col space-y-8">
295295
<p className="text-base text-gray-400 w-96">Your access token was updated recently. Please try again if the repository exists and Gitpod was approved for <CodeText>{owner}</CodeText>.</p>
296-
<a className="mx-auto" href={authorizeURL}><button className="secondary">Try Again</button></a>
296+
<a className="mx-auto" href={authorizeURL}><button>Try Again</button></a>
297297
</div>);
298298
})();
299299
}, []);

0 commit comments

Comments
 (0)