diff --git a/public/index.html b/public/index.html index 69150242f63bd8e3c46f195d34a076688844af26..1db651d9d014b04a0211918ab034e74475dc5a92 100644 --- a/public/index.html +++ b/public/index.html @@ -18,6 +18,7 @@ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <!-- Fonts --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build. diff --git a/src/components/Menu/MenuItem.js b/src/components/Menu/MenuItem.js new file mode 100644 index 0000000000000000000000000000000000000000..130a5d5871eb979dfd21c4c025381778f632c114 --- /dev/null +++ b/src/components/Menu/MenuItem.js @@ -0,0 +1,11 @@ +import React from 'react' +import './MenuItem.scss' + +export default function MenuItem(props) { + return ( + <div className='menuBox'> + <i className={props.icon} style={props.style} aria-hidden="true"></i> + <a href=''>{props.title}</a> + </div> + ) +} diff --git a/src/components/Menu/MenuItem.scss b/src/components/Menu/MenuItem.scss new file mode 100644 index 0000000000000000000000000000000000000000..d7ed772fb5cb12517eedbf1a8dd7dea525510c30 --- /dev/null +++ b/src/components/Menu/MenuItem.scss @@ -0,0 +1,12 @@ +a{ + text-decoration: none; + color: gray; + padding: 20px; +} +a:hover{ + text-decoration: none; + color: black; +} +.menuBox{ + padding: 20px; +} \ No newline at end of file diff --git a/src/containers/Login/index.jsx b/src/containers/Login/index.jsx index c9f3883716a2818f4fc0743610a1f4e8c3b91deb..fb13e5f495b3da7ccca0f5cb079259d04e640620 100644 --- a/src/containers/Login/index.jsx +++ b/src/containers/Login/index.jsx @@ -1,11 +1,14 @@ import React from "react"; import PropTypes from "prop-types"; import Button from "components/Button"; +import MenuItem from "components/Menu/MenuItem"; function Login(props) { - return <div>login</div>; + return <div>login + + </div>;