diff --git a/net/web/src/App.styled.js b/net/web/src/App.styled.js index c67d7779..a3e351a9 100644 --- a/net/web/src/App.styled.js +++ b/net/web/src/App.styled.js @@ -5,5 +5,4 @@ export const AppWrapper = styled.div` position: absolute; width: 100vw; height: 100vh; - padding: 8px; `; diff --git a/net/web/src/images/login.png b/net/web/src/images/login.png new file mode 100644 index 00000000..deed8094 Binary files /dev/null and b/net/web/src/images/login.png differ diff --git a/net/web/src/login/Login.jsx b/net/web/src/login/Login.jsx index 8453009c..3110df8f 100644 --- a/net/web/src/login/Login.jsx +++ b/net/web/src/login/Login.jsx @@ -4,6 +4,8 @@ import { AppContext } from 'context/AppContext'; import { ViewportContext } from 'context/ViewportContext'; import { LoginWrapper } from './Login.styled'; +import login from 'images/login.png' + export function Login() { const navigate = useNavigate(); @@ -21,10 +23,17 @@ export function Login() { return ( { (viewport.state.display === 'large' || viewport.state.display === 'xlarge') && ( -
+
+
+ {login} +
+
RIGHT
+
)} { (viewport.state.display === 'medium' || viewport.state.display === 'small') && ( -
+
+
+
)}
); diff --git a/net/web/src/login/Login.styled.js b/net/web/src/login/Login.styled.js index dd7b5bd0..84839621 100644 --- a/net/web/src/login/Login.styled.js +++ b/net/web/src/login/Login.styled.js @@ -6,17 +6,38 @@ export const LoginWrapper = styled.div` .full-layout { width: 100%; - height: 100%; - border-radius: 4px; - background: ${Colors.formBackground}; + height: 100%; + padding: 8px; + + .center { + width: 100%; + height: 100%; + border-radius: 4px; + background: ${Colors.formBackground}; + } } .split-layout { - position: relative; - left: 50%; - width: 50%; + display: flex; + flex-direction: row; height: 100%; - border-radius: 4px; - background: ${Colors.formBackground}; + + .left { + width: 50%; + height: 100%; + padding: 32px; + + .splash { + width: 100%; + height: 100%; + object-fit: contain; + } + } + + .right { + width: 50%; + height: 100%; + background: ${Colors.formBackground}; + } } `;