File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed
app/components/course-page/configure-github-integration-modal Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change 17
17
/>
18
18
{{ /if }}
19
19
20
- <div class =" py-16 flex flex-col items-center justify-center" >
21
- {{ svg-jar " check-circle" class =" w-16 h-16 text-teal-500 mb-2 " }}
20
+ <div class =" py-8 flex flex-col items-center justify-center" >
21
+ {{ svg-jar " check-circle" class =" w-20 h-20 text-teal-500 mb-4 " }}
22
22
23
23
<div class =" text-gray-600 dark:text-gray-200 text-center mb-6" >
24
- This repository is configured to publish to
25
24
<a
26
25
href =" https://github.com/{{ this.githubRepositorySyncConfiguration.githubRepositoryName }} "
27
26
class =" inline-flex items-center font-semibold underline"
37
36
Code pushed to your CodeCrafters Git repository will automatically be synced to GitHub.
38
37
</div >
39
38
40
- <SecondaryButton @size =" small" {{ on " click" this.handleDisconnectRepositoryButtonClick }} data-test-disconnect-repository-button>
39
+ <AlertWithIcon @type =" info" class =" mb-6" >
40
+ <p >
41
+ Don't push changes to your GitHub repository directly.
42
+ </p >
43
+ <p >
44
+ Push to your CodeCrafters Git repository instead, and we'll sync changes to GitHub.
45
+ </p >
46
+ <p class =" text-xs" >
47
+ <a href =" https://docs.codecrafters.io/features/publish-to-github" target =" _blank" rel =" noopener noreferrer" >Learn more →</a >
48
+ </p >
49
+ </AlertWithIcon >
50
+
51
+ <AlertWithIcon @type =" warning" @icon =" exclamation" class =" mb-6" >
52
+ <p >
53
+ Any changes pushed to your GitHub repository directly will be overridden.
54
+ </p >
55
+ </AlertWithIcon >
56
+
57
+ <TertiaryButton @size =" small" {{ on " click" this.handleDisconnectRepositoryButtonClick }} data-test-disconnect-repository-button>
41
58
Disconnect Repository
42
- </SecondaryButton >
59
+ </TertiaryButton >
43
60
</div >
44
61
{{ else }}
45
62
<div class =" prose dark:prose-invert mb-4" >
You can’t perform that action at this time.
0 commit comments