From 2cfc6dcdb44cab53a2e62a4f57a597d952d57e68 Mon Sep 17 00:00:00 2001 From: julianajlk Date: Wed, 12 Feb 2020 10:15:07 -0500 Subject: [PATCH] wip --- src/assets/headerlogo.svg | 15 ++++++++ src/index.jsx | 3 +- src/index.scss | 1 + src/registration/RegistrationPage.jsx | 54 ++++++++++++++++++++++++++- src/registration/_style.scss | 17 +++++++++ 5 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 src/assets/headerlogo.svg create mode 100644 src/registration/_style.scss diff --git a/src/assets/headerlogo.svg b/src/assets/headerlogo.svg new file mode 100644 index 0000000..416855e --- /dev/null +++ b/src/assets/headerlogo.svg @@ -0,0 +1,15 @@ + + + + logo + Created with Sketch. + + diff --git a/src/index.jsx b/src/index.jsx index a9aa285..19959eb 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -11,7 +11,8 @@ import Footer, { messages as footerMessages } from '@edx/frontend-component-foot import configureStore from './data/configureStore'; import AccountSettingsPage, { NotFoundPage } from './account-settings'; -import { LoginPage, RegistrationPage } from './registration'; +import LoginPage from './registration/LoginPage'; +import RegistrationPage from './registration/RegistrationPage'; import appMessages from './i18n'; import './index.scss'; diff --git a/src/index.scss b/src/index.scss index 7c5ea39..f09a720 100755 --- a/src/index.scss +++ b/src/index.scss @@ -8,6 +8,7 @@ $fa-font-path: "~font-awesome/fonts"; @import "~@edx/frontend-component-footer/dist/footer"; @import "./account-settings/style"; +@import "./registration/style"; .word-break-all { word-break: break-all !important; diff --git a/src/registration/RegistrationPage.jsx b/src/registration/RegistrationPage.jsx index 04dfc23..a079805 100644 --- a/src/registration/RegistrationPage.jsx +++ b/src/registration/RegistrationPage.jsx @@ -1,4 +1,56 @@ import React from 'react'; +import logo from '../assets/headerlogo.svg'; import EmailField from '../account-settings/EmailField'; +import { Button, Input } from '@edx/paragon'; -export default () => ; +// export default () => ; + +class RegistrationPage extends React.Component { + constructor(props) { + super(props); + } + + render() { + return ( + +
+ +
+ +
+
+ Already have an edX account? + Sign in. +
+
+ Create an account and start learning + Create an account using + + + + or create a new one here + + + + + + + +
+
+ +
+ ) + } +} + +export default RegistrationPage; diff --git a/src/registration/_style.scss b/src/registration/_style.scss new file mode 100644 index 0000000..a1b052a --- /dev/null +++ b/src/registration/_style.scss @@ -0,0 +1,17 @@ +.registration-container { + margin: 5rem; +} +.registration-header { + border-bottom: 1px solid #e7e7e7; + height: 3.75rem; + position: relative; + z-index: 1000; +} +.registration-header img { + height: 1.75rem; + margin-left: 2rem; + padding: 1rem 0; + display: block; + position: relative; + box-sizing: content-box; +}