File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
site/src/pages/ManagementSettingsPage Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
import { cx } from "@emotion/css" ;
2
+ import type { Interpolation , Theme } from "@emotion/react" ;
2
3
import AddIcon from "@mui/icons-material/Add" ;
3
4
import SettingsIcon from "@mui/icons-material/Settings" ;
4
5
import type { FC , ReactNode } from "react" ;
@@ -17,18 +18,9 @@ export const Sidebar: FC = () => {
17
18
18
19
return (
19
20
< BaseSidebar >
21
+ < header css = { styles . sidebarHeader } > Deployment</ header >
20
22
< DeploymentSettingsNavigation />
21
- < header
22
- css = { {
23
- textTransform : "uppercase" ,
24
- letterSpacing : "0.15em" ,
25
- fontSize : 11 ,
26
- fontWeight : 500 ,
27
- paddingBottom : 4 ,
28
- } }
29
- >
30
- Organizations
31
- </ header >
23
+ < header css = { styles . sidebarHeader } > Organizations</ header >
32
24
< SidebarNavItem
33
25
active = "auto"
34
26
href = "/organizations/new"
@@ -215,6 +207,16 @@ export const SidebarNavSubItem: FC<SidebarNavSubItemProps> = ({
215
207
) ;
216
208
} ;
217
209
210
+ const styles = {
211
+ sidebarHeader : {
212
+ textTransform : "uppercase" ,
213
+ letterSpacing : "0.15em" ,
214
+ fontSize : 11 ,
215
+ fontWeight : 500 ,
216
+ paddingBottom : 4 ,
217
+ } ,
218
+ } satisfies Record < string , Interpolation < Theme > > ;
219
+
218
220
const classNames = {
219
221
link : ( css , theme ) => css `
220
222
color : inherit;
You can’t perform that action at this time.
0 commit comments