Added LoadingScreen for full-size loading placeholder
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import React, { Component } from 'react';
|
||||
import Background from "./Background";
|
||||
|
||||
import './css/LoadingScreen.css';
|
||||
|
||||
export function LoadingScreen({className}) {
|
||||
return (
|
||||
<div className={`Loading ${className}`}>
|
||||
<Background />
|
||||
<div className="text color-primary">Loading...</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
.Loading .text {
|
||||
width: 100%;
|
||||
margin-top: 6em;
|
||||
font-size: 3em;
|
||||
opacity: 0.5;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user