diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/launcher/index.js | 17 | ||||
| -rw-r--r-- | src/components/launcher/styles.css | 31 | ||||
| -rw-r--r-- | src/components/loading/index.js | 5 | ||||
| -rw-r--r-- | src/components/top-nav/styles.css | 12 |
4 files changed, 54 insertions, 11 deletions
diff --git a/src/components/launcher/index.js b/src/components/launcher/index.js new file mode 100644 index 0000000..1d4d6d0 --- /dev/null +++ b/src/components/launcher/index.js @@ -0,0 +1,17 @@ +import React from 'react'; + +import './styles.css'; + +const Launcher = () => ( + <div className="launcher-body"> + <div className="logo-container"> + <img src='/img/logo.svg'/> + <div className="logo-text"> + <h4>Loading ..</h4> + <p className="text-muted">We're testing your patience</p> + </div> + </div> + </div> +); + +export default Launcher; diff --git a/src/components/launcher/styles.css b/src/components/launcher/styles.css new file mode 100644 index 0000000..27e8823 --- /dev/null +++ b/src/components/launcher/styles.css @@ -0,0 +1,31 @@ +.launcher-body { + display: flex; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + justify-content: center; + align-items: center; + text-align: center; + background: white; +} + +.launcher-body .logo-container img { + height: 150px; +} + +.launcher-body .logo-container .logo-text h4 { + font-weight: 700; + font-size: 45px; + margin-bottom: 5px; +} + +.launcher-body .logo-container .logo-text p { + margin-bottom: 0; + font-size: 23px; +} + +.launcher-body .logo-container .logo-text { + margin-top: 10px; +} diff --git a/src/components/loading/index.js b/src/components/loading/index.js deleted file mode 100644 index 1c81869..0000000 --- a/src/components/loading/index.js +++ /dev/null @@ -1,5 +0,0 @@ -import React from 'react'; - -export default () => ( - <h1>Loading</h1> -); diff --git a/src/components/top-nav/styles.css b/src/components/top-nav/styles.css index 15230f8..c1c7cc2 100644 --- a/src/components/top-nav/styles.css +++ b/src/components/top-nav/styles.css @@ -6,32 +6,32 @@ position: relative; } -.logo { +.top-nav .logo { margin-left: -10px; } -.logo img { +.top-nav .logo img { height: 75px; float: left; } -.logo-text { +.top-nav .logo-text { float: left; margin-left: 10px; margin-top: 10px; } -.logo-text h4 { +.top-nav .logo-text h4 { margin: 3px 0 0; font-weight: 700; color: #2d2d2d; } -.logo-text p { +.top-nav .logo-text p { margin-bottom: 0; } -.duration-btns a.btn { +.top-nav .duration-btns a.btn { margin-left: 10px; margin-top: 24px; box-shadow: none; |
