diff --git a/packages/app/src/pages/login/index.jsx b/packages/app/src/pages/login/index.jsx index 3f29f7ac..c0c075c1 100755 --- a/packages/app/src/pages/login/index.jsx +++ b/packages/app/src/pages/login/index.jsx @@ -7,6 +7,28 @@ import { Footer } from "components" import "./index.less" +const GradientSVG = () => { + return + + + + + + + + + + + + + + + + + + +} + export default (props) => { const [wallpaperData, setWallpaperData] = React.useState(null) @@ -35,61 +57,64 @@ export default (props) => { }, []) return
-
-

- {wallpaperData?.author ? wallpaperData.author : null} -

+
+
- +
-
-

A prototype of a social network

+
+
- {props.session &&
-

You already have a valid session.

-
- @{props.session.username} -
+
} type="primary" - onClick={() => window.app.setLocation(config.app?.mainPath ?? "/home")} > - Go to home + > + Continue with a Comty™ Account -
} - -
-
- - Create a new account - -

Registering a new account accepts the Terms and Conditions and Privacy policy for the services provided by {config.author}

-
- -

- You have already an account? -

} + type="primary" + disabled > - Login + Continue with a RageStudio© ID™
+ +

Or create a new account

+ +
+ } + type="primary" + > + Create a Comty™ Account + + +

+ + Registering a new account accepts the Terms and Conditions and Privacy policy for the services provided by {config.author} +

+
-
+ +
} \ No newline at end of file diff --git a/packages/app/src/pages/login/index.less b/packages/app/src/pages/login/index.less index b537e129..899d237c 100755 --- a/packages/app/src/pages/login/index.less +++ b/packages/app/src/pages/login/index.less @@ -1,108 +1,116 @@ .loginPage { display: flex; + flex-direction: column; + + justify-content: center; + + align-items: center; width: 100vw; height: 100vh; - align-items: right; - justify-content: right; + font-family: "Space Grotesk", sans-serif; - .wallpaper { + .background { position: absolute; - display: flex; - z-index: 10; - backdrop-filter: blur(20px); + z-index: 50; top: 0; left: 0; - width: 56vw; + width: 100vw; height: 100vh; - background-repeat: no-repeat; - background-size: cover; - background-position: center; + svg { + margin: 0; - //filter: blur(4px); + opacity: 0; - font-size: 15px; - - align-items: self-end; - justify-content: left; - - padding: 20px; - - p { - font-weight: bold; - text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, - 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff; + animation: opacityIn 3s ease-in-out 0s forwards; } } .wrapper { - z-index: 20; - display: flex; - flex-direction: column; + flex-direction: row; - width: 45vw; - height: 100vh; + position: relative; - padding: 30px 50px; - - border-radius: 20px 0 0 20px; + z-index: 55; background-color: var(--background-color-accent); + outline: 1px solid var(--border-color); + border-radius: 12px; - border-left: 1px solid var(--border-color); + min-height: 50vh; - .logo { - height: 8vh; - min-height: 80px; - width: fit-content; - } + .wrapper_background { + height: 100%; + width: 300px; - .session_available { - margin-bottom: 20px; + border-radius: 12px; + + background-position: center; + background-size: cover; + background-repeat: no-repeat; } .content { display: flex; flex-direction: column; - padding-top: 10px; - padding-left: 40px; + align-items: center; + justify-content: center; - .title { - h1 { - font-family: 'Space Grotesk', sans-serif; - font-size: 2rem; - font-weight: 700; + max-width: 500px; + + padding: 40px; + + .content_header { + height: 70px; + + margin-bottom: 50px; + + img { + width: 100%; + height: 100%; } } - .buttonsBox { - width: fit-content; - border: 1px solid var(--border-color); - border-radius: 12px; + .actions { + display: flex; + flex-direction: column; - padding: 20px 50px; + align-items: center; + justify-content: center; - .register { - p { - margin-top: 10px; - word-wrap: break-word; - max-width: 300px; + width: 100%; - font-size: 11px; + margin-bottom: 20px; - color: var(--background-color-contrast); + .ant-btn { + width: 100%; + margin-bottom: 20px; + + font-weight: 500; + letter-spacing: -0.6px; + + &:last-child { + margin-bottom: 0; } - - margin-bottom: 50px; } } } } +} + +@keyframes opacityIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } } \ No newline at end of file