Skip to content

Commit

Permalink
Merge pull request #70 from transitnownash/choose-how-you-move-banner
Browse files Browse the repository at this point in the history
Swap out loading screen for CHYM banner
  • Loading branch information
stephenyeargin committed Jun 20, 2024
2 parents 27e50b2 + ec40c81 commit 70d6a69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Binary file added public/campaigns/2024-choose-how-you-move.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions src/components/LoadingScreen.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
import { React } from 'react';
import PropTypes from 'prop-types';
import TitleBar from './TitleBar';
import logo from '../resources/logo.svg';
import './LoadingScreen.scss';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faMusic } from '@fortawesome/free-solid-svg-icons';
import { faSpinner } from '@fortawesome/free-solid-svg-icons';

function LoadingScreen({ hideTitleBar }) {
return (
<div>
<TitleBar hide={hideTitleBar}></TitleBar>
<div className="loading-screen">
<div className="m-4"><img src={logo} className="loading-screen-logo" alt="Logo"/></div>
<div className="h3 mb-3"><FontAwesomeIcon icon={faMusic} bounce className='text-dark' /> The wheels on the bus go ... <FontAwesomeIcon icon={faMusic} bounce className='text-dark' /></div>
<a href="https://transit.nashville.gov/">
<img src="/campaigns/2024-choose-how-you-move.png" alt="Choose How You Move Campaign" className="img-fluid rounded" />
</a>
<div className="h3 my-3">
<FontAwesomeIcon icon={faSpinner} spin opacity={0.5} /> Loading ...
</div>
</div>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions src/components/LoadingScreen.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.loading-screen {
padding: 2rem;
text-align: center;
height: 80vh;
display: flex;
Expand Down

0 comments on commit 70d6a69

Please sign in to comment.