feat: add api for admin login
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
import * as React from 'react';
|
||||
import { Text, ChakraProvider } from '@chakra-ui/react';
|
||||
import { MdStar } from 'react-icons/md';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
|
||||
export default function Example() {
|
||||
return (
|
||||
<ChakraProvider>
|
||||
<Text
|
||||
ml={2}
|
||||
textTransform="uppercase"
|
||||
fontSize="xl"
|
||||
fontWeight="bold"
|
||||
color="pink.800"
|
||||
>
|
||||
Authorizer Dashboard
|
||||
</Text>
|
||||
<BrowserRouter></BrowserRouter>
|
||||
</ChakraProvider>
|
||||
);
|
||||
}
|
||||
|
0
dashboard/src/Router.tsx
Normal file
0
dashboard/src/Router.tsx
Normal file
5
dashboard/src/components/layouts/AuthLayout.tsx
Normal file
5
dashboard/src/components/layouts/AuthLayout.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function AuthLayout() {
|
||||
return <h1>Auth Layout</h1>;
|
||||
}
|
5
dashboard/src/components/layouts/DefaultLayout.tsx
Normal file
5
dashboard/src/components/layouts/DefaultLayout.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function DefaultLayout() {
|
||||
return <h1>Default Layout</h1>;
|
||||
}
|
0
dashboard/src/contexts/AuthContext.tsx
Normal file
0
dashboard/src/contexts/AuthContext.tsx
Normal file
Reference in New Issue
Block a user