-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47c9d31
commit d27552f
Showing
6 changed files
with
42 additions
and
22 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,28 @@ | ||
import { Outlet } from 'react-router-dom'; | ||
import classnames from '@pansy/classnames' | ||
import styles from './index.module.less' | ||
|
||
|
||
export const AuthLayout = () => { | ||
return ( | ||
<> | ||
<Outlet /> | ||
</> | ||
<div className={classnames(styles.login, 'relative w-full h-full px-4')}> | ||
<div className="flex items-center absolute right-4 top-4"></div> | ||
|
||
<div className="container relative h-full py-2 mx-auto sm:px-10"> | ||
<div className="flex h-full"> | ||
<div className="hidden min-h-full pl-4 mr-4 xl:flex xl:flex-col xl:w-6/12"> | ||
123 | ||
</div> | ||
<div className="flex w-full h-full py-5 xl:h-auto xl:py-0 xl:my-0 xl:w-6/12"> | ||
<div | ||
className="relative w-full px-5 py-8 mx-auto my-auto rounded-md shadow-md xl:ml-16 xl:bg-transparent sm:px-8 xl:p-4 xl:shadow-none sm:w-3/4 lg:w-2/4 xl:w-auto enter-x" | ||
style={{ width: '100%' }} | ||
> | ||
<Outlet /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
15 changes: 0 additions & 15 deletions
15
src/pages/authentication/login/components/LoginPage/index.tsx
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,8 @@ export default defineConfig(({ command }) => { | |
} | ||
} | ||
}, | ||
server: { | ||
port: 8888, | ||
} | ||
} | ||
}) |