-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
400 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,20 @@ | ||
import React, { PureComponent } from 'react' | ||
import React from 'react' | ||
import './App.css' | ||
import './Theme.css' | ||
|
||
// Images | ||
import backgrounds from 'shared/backgrounds' | ||
import NotFound from './pages/NotFound' | ||
|
||
// Pages | ||
import Home from './pages/Home' | ||
// Router | ||
import { Routes, Route } from 'react-router-dom' | ||
import Home from 'pages/Home' | ||
|
||
class App extends PureComponent { | ||
state = { | ||
bg: 'bg1', | ||
} | ||
|
||
render() { | ||
return ( | ||
<div | ||
className="App" | ||
style={{ | ||
backgroundImage: `url(${backgrounds[this.state.bg]})`, | ||
}} | ||
> | ||
<Home /> | ||
</div> | ||
) | ||
} | ||
const App = () => { | ||
return ( | ||
<Routes> | ||
<Route path="/" element={<Home />} /> | ||
<Route path="*" element={<NotFound />} /> | ||
</Routes> | ||
) | ||
} | ||
|
||
export default App |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,60 @@ | ||
.mission-container { | ||
font-size: 12px; | ||
font-size: 12px; | ||
} | ||
|
||
.mission-item { | ||
color: var(--light-gray); | ||
display: block; | ||
margin-bottom: 20px; | ||
text-align: left; | ||
} | ||
|
||
.mission-item a { | ||
color: #007bff; | ||
color: var(--light-gray); | ||
display: block; | ||
margin-bottom: 20px; | ||
text-align: left; | ||
} | ||
|
||
.mission-button-container { | ||
align-items: flex-end; | ||
display: flex; | ||
flex-direction: row; | ||
margin-bottom: 20px; | ||
align-items: flex-end; | ||
display: flex; | ||
flex-direction: row; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.mission-button-container div { | ||
background-color: var(--white); | ||
border: 1px solid var(--dark-gray); | ||
-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
-moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
cursor: pointer; | ||
font-weight: bold; | ||
margin-right: 10px; | ||
padding: 5px; | ||
background-color: var(--white); | ||
border: 1px solid var(--dark-gray); | ||
-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
-moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75); | ||
cursor: pointer; | ||
font-weight: bold; | ||
margin-right: 10px; | ||
padding: 5px; | ||
} | ||
|
||
.mission-quote { | ||
background-color: var(--gray); | ||
display: block; | ||
font-style: italic; | ||
text-indent: 15px; | ||
background-color: var(--gray); | ||
display: block; | ||
font-style: italic; | ||
text-indent: 15px; | ||
} | ||
|
||
.mission-button-container div.active { | ||
background-color: var(--light-gray); | ||
background-color: var(--light-gray); | ||
} | ||
|
||
.mission-button-container div img { | ||
height: 20px; | ||
height: 20px; | ||
} | ||
|
||
.mission-font-size-small { | ||
font-size: 14px; | ||
font-size: 14px; | ||
} | ||
|
||
.mission-font-size-medium { | ||
font-size: 16px; | ||
font-size: 16px; | ||
} | ||
|
||
.mission-font-size-large { | ||
font-size: 18px; | ||
font-size: 18px; | ||
} | ||
|
||
.mission-font-size-extra-large { | ||
font-size: 24px; | ||
font-size: 24px; | ||
} |
Oops, something went wrong.