File tree 10 files changed +38
-3400
lines changed
10 files changed +38
-3400
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function SettingsPage(p: Props) {
13
13
< Header title = { p . title } subtitle = { p . subtitle } />
14
14
< div className = 'lg:px-28 px-10 flex pt-9' >
15
15
< SubMenu entries = { p . menuEntries } />
16
- < div className = 'ml-5 pl-12 w-full pt-1' >
16
+ < div className = 'ml-32 w-full pt-1' >
17
17
{ p . children }
18
18
</ div >
19
19
</ div >
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ export interface SubMenuEntry {
7
7
8
8
export function SubMenu ( props : { entries : SubMenuEntry [ ] } ) {
9
9
return < div >
10
- < ul className = "flex flex-col text-sm text-gray-700 pt-4 lg:pt-0 w-48 space-y-2" >
10
+ < ul className = "flex flex-col text-sm text-gray-500 pt-4 lg:pt-0 w-48 space-y-2" >
11
11
{ props . entries . map ( e => {
12
12
let classes = "flex block py-2 font-sm px-4 rounded-md" ;
13
13
if ( e . link . toLowerCase ( ) === window . location . pathname ) {
14
- classes += " bg-gray-600 text-gray-100 " ;
14
+ classes += " bg-gray-800 text-gray-50 " ;
15
15
} else {
16
- classes += " text-gray-400 hover:bg-gray-300 hover:text-white " ;
16
+ classes += " hover:bg-gray-100 " ;
17
17
}
18
18
return < Link to = { e . link } key = { e . title } >
19
19
< li className = { classes } >
Original file line number Diff line number Diff line change 15
15
@apply text-2xl text-gray-900 leading-9 font-semibold;
16
16
}
17
17
h4 {
18
- @apply pb-2 text-sm font-medium text-gray-500 ;
18
+ @apply pb-2 text-sm font-medium text-gray-600 ;
19
19
}
20
20
p {
21
21
@apply text-sm text-gray-400;
37
37
}
38
38
39
39
input [type = text ]::placeholder {
40
- @apply text-gray-400
40
+ @apply text-gray-400;
41
+ }
42
+
43
+ input [disabled ] {
44
+ @apply bg-gray-100 border-2 border-gray-300 text-gray-400;
41
45
}
42
46
43
47
}
Original file line number Diff line number Diff line change @@ -21,29 +21,29 @@ export default function Account() {
21
21
</ Modal >
22
22
23
23
< SettingsPage title = 'Account' subtitle = 'Profile details' menuEntries = { settingsMenu } >
24
- < h3 > Personal Information </ h3 >
24
+ < h3 > Profile </ h3 >
25
25
< div className = "flex flex-col lg:flex-row" >
26
- < div className = "pb-6" >
27
- < div className = "pt-6 " >
26
+ < div >
27
+ < div className = "mt-4 " >
28
28
< h4 > Name</ h4 >
29
- < input type = "text" value = { user ! . name } onChange = { ( v ) => { console . log ( v ) } } />
29
+ < input type = "text" disabled = { true } value = { user ! . name } onChange = { ( v ) => { console . log ( v ) } } />
30
30
</ div >
31
- < div className = "pt-6 " >
31
+ < div className = "mt-4 " >
32
32
< h4 > Email</ h4 >
33
- < input type = "text" value = { User . getPrimaryEmail ( user ! ) } onChange = { ( v ) => { console . log ( v ) } } />
33
+ < input type = "text" disabled = { true } value = { User . getPrimaryEmail ( user ! ) } onChange = { ( v ) => { console . log ( v ) } } />
34
34
</ div >
35
35
</ div >
36
36
< div className = "lg:pl-14" >
37
- < div className = "pt-6 " >
37
+ < div className = "mt-4 " >
38
38
< h4 > Avatar</ h4 >
39
39
< img className = "rounded-full w-24 h-24 border-2 border-transparent hover:border-indigo-400"
40
40
src = { user ! . avatarUrl } alt = { user ! . name } />
41
41
</ div >
42
42
</ div >
43
43
</ div >
44
- < h3 className = "pt-14 " > Delete Account</ h3 >
44
+ < h3 className = "mt-12 " > Delete Account</ h3 >
45
45
< p className = "text-sm text-gray-400 pb-4" > This action will remove all the data associated with your account in Gitpod.</ p >
46
- < button className = "border-red-900 bg-red-500 hover:bg -red-700 " onClick = { ( ) => setModal ( true ) } > Delete Account</ button >
46
+ < button className = "border-red-600 text-red-600 bg-white hover:border- red-800 hover:text -red-800 " onClick = { ( ) => setModal ( true ) } > Delete Account</ button >
47
47
</ SettingsPage >
48
48
</ div > ;
49
49
}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import settingsMenu from './settings-menu';
4
4
export default function EnvVars ( ) {
5
5
return < div >
6
6
< SettingsPage title = 'Environment Variables' subtitle = 'Configure environment variables for your workspaces' menuEntries = { settingsMenu } >
7
- < div className = "lg:px-28 px-10 flex pt-10" >
8
- Environment Variables
9
- </ div >
7
+ < h3 > Environment Variables</ h3 >
10
8
</ SettingsPage >
11
9
</ div > ;
12
10
}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import settingsMenu from './settings-menu';
4
4
export default function GitIntegrations ( ) {
5
5
return < div >
6
6
< SettingsPage title = 'Git Integrations' subtitle = 'Manage integration with your Git hosters' menuEntries = { settingsMenu } >
7
- < div className = "lg:px-28 px-10 flex pt-10" >
8
- Git Hoster Access Control
9
- </ div >
7
+ < h3 > Git Hoster Access Control</ h3 >
10
8
</ SettingsPage >
11
9
</ div > ;
12
10
}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import settingsMenu from "./settings-menu";
4
4
export default function Notifications ( ) {
5
5
return < div >
6
6
< SettingsPage title = 'Notifications' subtitle = 'Email notification preferences' menuEntries = { settingsMenu } >
7
- < div className = "lg:px-28 px-10 flex pt-10" >
8
- Notifications
9
- </ div >
7
+ < h3 > Notifications</ h3 >
10
8
</ SettingsPage >
11
9
</ div > ;
12
10
}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ import settingsMenu from "./settings-menu";
4
4
export default function Plans ( ) {
5
5
return < div >
6
6
< SettingsPage title = 'Plans' subtitle = 'Plans and Usage' menuEntries = { settingsMenu } >
7
- < div className = "lg:px-28 px-10 flex pt-10" >
8
- Plans
9
- </ div >
7
+ < h3 > Plans</ h3 >
10
8
</ SettingsPage >
11
9
</ div > ;
12
10
}
You can’t perform that action at this time.
0 commit comments