mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
Add banner css; make sticky
This commit is contained in:
parent
85e5342748
commit
7a51bded90
2 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,8 @@ import PropTypes from 'prop-types';
|
||||||
import DropdownBanner from '../banner.jsx';
|
import DropdownBanner from '../banner.jsx';
|
||||||
import EmailConfirmationModal from '../../../components/modal/email-confirmation/modal.jsx';
|
import EmailConfirmationModal from '../../../components/modal/email-confirmation/modal.jsx';
|
||||||
|
|
||||||
|
require('./banner.scss');
|
||||||
|
|
||||||
const EmailConfirmationBanner = ({onRequestDismiss}) => {
|
const EmailConfirmationBanner = ({onRequestDismiss}) => {
|
||||||
|
|
||||||
const [showEmailConfirmationModal, setShowEmailConfirmationModal] = useState(false);
|
const [showEmailConfirmationModal, setShowEmailConfirmationModal] = useState(false);
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
.banner {
|
||||||
|
position: sticky;
|
||||||
|
}
|
Loading…
Reference in a new issue