mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Add files
This commit is contained in:
commit
e87c814068
266 changed files with 63938 additions and 0 deletions
31
src/renderer/layouts/auth-layout.tsx
Normal file
31
src/renderer/layouts/auth-layout.tsx
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { Outlet } from 'react-router-dom';
|
||||
import styled from 'styled-components';
|
||||
import { Titlebar } from '/@/renderer/features/titlebar/components/titlebar';
|
||||
|
||||
const WindowsTitlebarContainer = styled.div`
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
user-select: none;
|
||||
-webkit-app-region: drag;
|
||||
`;
|
||||
|
||||
const ContentContainer = styled.div`
|
||||
display: flex;
|
||||
height: 100%;
|
||||
`;
|
||||
|
||||
export const AuthLayout = () => {
|
||||
return (
|
||||
<>
|
||||
<WindowsTitlebarContainer>
|
||||
<Titlebar />
|
||||
</WindowsTitlebarContainer>
|
||||
<ContentContainer>
|
||||
<Outlet />
|
||||
</ContentContainer>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue