File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ interface LinkItemProps {
4040 route : string ;
4141}
4242const LinkItems : Array < LinkItemProps > = [
43- { name : 'Home' , icon : FiHome , route : '/' } ,
43+ // { name: 'Home', icon: FiHome, route: '/' },
44+ { name : 'Environment Variables' , icon : FiSettings , route : '/' } ,
4445 { name : 'Users' , icon : FiUsers , route : '/users' } ,
45- { name : 'Environment Variables' , icon : FiSettings , route : '/environment' } ,
4646] ;
4747
4848interface SidebarProps extends BoxProps {
Original file line number Diff line number Diff line change @@ -73,17 +73,25 @@ export default function Auth() {
7373 fontWeight = "bold"
7474 mb = "2"
7575 >
76- Hi there 👋 < br />
76+ Hello Admin 👋 < br />
7777 </ Text >
7878 < Text fontSize = "large" textAlign = "center" color = "gray.500" mb = "8" >
79- Welcome to Authorizer Administrative Dashboard
79+ Welcome to Admin Dashboard
8080 </ Text >
8181 < form onSubmit = { handleSubmit } >
8282 < VStack spacing = "5" justify = "space-between" >
8383 < FormControl isRequired >
84- { /* <FormLabel htmlFor="admin-secret">
85- {isLogin ? 'Enter' : 'Configure'} Admin Secret
86- </FormLabel> */ }
84+ < FormLabel htmlFor = "admin-username" > Username</ FormLabel >
85+ < Input
86+ size = "lg"
87+ id = "admin-username"
88+ placeholder = "Username"
89+ disabled
90+ value = "admin"
91+ />
92+ </ FormControl >
93+ < FormControl isRequired >
94+ < FormLabel htmlFor = "admin-secret" > Password</ FormLabel >
8795 < Input
8896 size = "lg"
8997 id = "admin-secret"
@@ -111,10 +119,7 @@ export default function Auth() {
111119 </ Text >
112120 ) : (
113121 < Text color = "gray.600" fontSize = "sm" >
114- < b > Note:</ b > You can also configure admin secret by setting{ ' ' }
115- < code > ADMIN_SECRET</ code > environment variable. For more
116- information, please refer to the{ ' ' }
117- < a href = "https://docs.authorizer.dev/core/env/" > documentation</ a > .
122+ < b > Note:</ b > Configure the password to start using your dashboard.
118123 </ Text >
119124 ) }
120125 </ VStack >
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const AppRoutes = () => {
2323 </ DashboardLayout >
2424 }
2525 >
26- < Route path = "/" element = { < Home /> } />
26+ < Route path = "/" element = { < Environment /> } />
2727 < Route path = "users" element = { < Users /> } />
2828 < Route path = "environment" element = { < Environment /> } />
2929 < Route path = "*" element = { < Home /> } />
You can’t perform that action at this time.
0 commit comments