diff options
author | eug-vs <eug-vs@keemail.me> | 2020-11-14 22:28:45 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-11-14 22:28:45 +0300 |
commit | e2c16ba26decc7b3dcc84a188bdbe0583f492841 (patch) | |
tree | 886bab5921c054454cc710067765a3a99617e06b | |
parent | 7d82c14be8ec1e191d845687960f8a50431750e9 (diff) | |
download | famcs-kit-e2c16ba26decc7b3dcc84a188bdbe0583f492841.tar.gz |
feat: create blank sections
-rw-r--r-- | src/containers/BsuFantomSection/BsuFantomSection.tsx | 14 | ||||
-rw-r--r-- | src/containers/LoginSection/LoginSection.tsx | 14 | ||||
-rw-r--r-- | src/index.tsx | 12 |
3 files changed, 33 insertions, 7 deletions
diff --git a/src/containers/BsuFantomSection/BsuFantomSection.tsx b/src/containers/BsuFantomSection/BsuFantomSection.tsx new file mode 100644 index 0000000..119b2ae --- /dev/null +++ b/src/containers/BsuFantomSection/BsuFantomSection.tsx @@ -0,0 +1,14 @@ +import React from 'react'; +import { ContentSection } from 'react-benzin'; +import { Link } from '@material-ui/core'; + +const BsuFantomSection: React.FC = () => { + + return ( + <ContentSection sectionName="bsu-fantom" level={1}> + Schedule your offline <Link href="https://edufpmi.bsu.by">EDUFPMI</Link> conference attendance + </ContentSection> + ); +}; + +export default BsuFantomSection; diff --git a/src/containers/LoginSection/LoginSection.tsx b/src/containers/LoginSection/LoginSection.tsx new file mode 100644 index 0000000..c7e2785 --- /dev/null +++ b/src/containers/LoginSection/LoginSection.tsx @@ -0,0 +1,14 @@ +import React from 'react'; +import { ContentSection } from 'react-benzin'; +import { Link } from '@material-ui/core'; + +const LoginSection: React.FC = () => { + + return ( + <ContentSection sectionName="Login" level={1}> + Log in using your <Link href="https://edufpmi.bsu.by">EDUFPMI</Link> credentials + </ContentSection> + ); +}; + +export default LoginSection; diff --git a/src/index.tsx b/src/index.tsx index 62979f7..5337615 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,6 +3,8 @@ import ReactDOM from 'react-dom'; import { Benzin, ContentSection } from 'react-benzin'; import { Paper } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; +import BsuFantomSection from './containers/BsuFantomSection/BsuFantomSection'; +import LoginSection from './containers/LoginSection/LoginSection'; const useStyles = makeStyles(theme => ({ root: { @@ -20,7 +22,8 @@ const App: React.FC = () => { <Benzin> <Paper className={classes.root}> <ContentSection sectionName="famcs-kit"> - Hello, world! + <LoginSection /> + <BsuFantomSection /> </ContentSection> </Paper> </Benzin> @@ -28,10 +31,5 @@ const App: React.FC = () => { }; -ReactDOM.render( - <React.StrictMode> - <App /> - </React.StrictMode>, - document.getElementById('root') -); +ReactDOM.render(<App />, document.getElementById('root')); |