diff --git a/src/renderer/components/layout/login-layout.scss b/src/renderer/components/layout/login-layout.scss deleted file mode 100755 index 9996d07ed0..0000000000 --- a/src/renderer/components/layout/login-layout.scss +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Copyright (c) 2021 OpenLens Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - - -.LoginLayout { - $logo-size: 6 * $unit; - height: 100vh; - padding: $padding * 2; - - .logo { - width: $logo-size; - height: $logo-size; - margin: auto; - - svg * { - fill: $lensBlue; - } - } - - .header { - font-size: $font-size-small; - } - - .main { - $spacing: $padding * 3; - width: 100%; - min-width: 34 * $unit; - max-width: 42 * $unit; - margin: $padding * 2 0; - overflow: hidden; - - > * { - padding: $spacing; - } - - .title { - background: $layoutBackground; - text-align: center; - - h5 { - color: $textColorAccent; - } - } - - .content { - background: $contentColor; - } - } - - .footer { - font-size: $font-size-small; - } -} \ No newline at end of file diff --git a/src/renderer/components/layout/login-layout.tsx b/src/renderer/components/layout/login-layout.tsx deleted file mode 100755 index 49e8099dd1..0000000000 --- a/src/renderer/components/layout/login-layout.tsx +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright (c) 2021 OpenLens Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - * the Software, and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR - * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER - * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -import "./login-layout.scss"; - -import React from "react"; -import { Link } from "react-router-dom"; -import { cssNames } from "../../utils"; -import { Icon } from "../icon"; - -interface Props { - className?: any; - header?: any; - title?: any; - footer?: any; -} - -export class LoginLayout extends React.Component { - render() { - const { className, header, title, footer, children } = this.props; - - return ( -
-
{header}
-
-
- - - - {title} -
-
- {children} -
-
-
{footer}
-
- ); - } -}