File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed
apps/remix-ide/src/app/tabs/locales/en
libs/remix-ui/app/src/lib/remix-app/components/modals Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 15
15
"remixApp.managePreferences" : " Manage Preferences" ,
16
16
"remixApp.savePreferences" : " Save Preferences" ,
17
17
"remixApp.declineCookies" : " Decline Cookies" ,
18
- "remixApp.decline" : " Decline"
18
+ "remixApp.decline" : " Decline" ,
19
+
20
+ "remixApp.mpOp1Title" : " RemixAI" ,
21
+ "remixApp.mpOp1Details" : " RemixAI helps by offering code suggestions and improvements" ,
22
+ "remixApp.mpOp1Link" : " <a>Learn more about RemixAI Copilot</a>"
19
23
}
Original file line number Diff line number Diff line change @@ -20,9 +20,32 @@ const ManagePreferencesDialog = (props: ManagePreferencesDialogProps) => {
20
20
const message = ( ) => {
21
21
return (
22
22
< >
23
- < p >
24
- Manage Preferences
25
- </ p >
23
+ < div data-id = "remixAI" className = 'justify-content-between align-items-center d-flex' >
24
+ < div >
25
+ < h6 > < FormattedMessage id = "remixApp.mpOp1Title" /> </ h6 >
26
+ < p className = 'form-check-label' > < FormattedMessage id = "remixApp.mpOp1Details" /> </ p >
27
+ < p className = 'mt-1' > < FormattedMessage
28
+ id = "remixApp.mpOp1Link"
29
+ values = { {
30
+ a : ( chunks ) => (
31
+ < a className = "text-primary" href = "https://matomo.org" target = "_blank" rel = "noreferrer" >
32
+ { chunks }
33
+ </ a >
34
+ ) ,
35
+ } }
36
+ /> </ p >
37
+ </ div >
38
+ < div >
39
+ < button
40
+ data-id = "remixAIswitch"
41
+ id = 'remixAIswitch'
42
+ className = "btn text-ai"
43
+ onClick = { ( ) => { } }
44
+ >
45
+ < i className = "fas fa-toggle-on fa-2xl" > </ i >
46
+ </ button >
47
+ </ div >
48
+ </ div >
26
49
</ >
27
50
)
28
51
}
You can’t perform that action at this time.
0 commit comments