-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2a8403
commit a668883
Showing
7 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from 'react'; | ||
import { Helmet } from 'react-helmet'; | ||
import { defineMessages, injectIntl, intlShape } from 'react-intl'; | ||
import About from '../sections/About'; | ||
import LoginForm from '../login/LoginForm'; | ||
import styles from '../../../styles/cspace-ui/WelcomePage.css'; | ||
|
||
const propTypes = { | ||
intl: intlShape.isRequired, | ||
}; | ||
|
||
const messages = defineMessages({ | ||
title: { | ||
id: 'welcomePage.title', | ||
description: 'Title of the welcome page.', | ||
defaultMessage: 'Welcome', | ||
}, | ||
}); | ||
|
||
function WelcomePage(props) { | ||
const { | ||
intl, | ||
} = props; | ||
|
||
return ( | ||
<> | ||
<Helmet> | ||
<title>{intl.formatMessage(messages.title)}</title> | ||
</Helmet> | ||
<div className={styles.common}> | ||
<div className={styles.about}> | ||
<About /> | ||
</div> | ||
|
||
<div className={styles.login}> | ||
<LoginForm /> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
WelcomePage.propTypes = propTypes; | ||
|
||
export default injectIntl(WelcomePage); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters