Add links for adding issues or contributions (#14)

Adds a section to the bottom of the page which houses links to ASU's
issues page and the github repository for the firmware wizard.

Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
This commit is contained in:
Sudhanshu Gautam 2019-08-25 20:06:35 +05:30 committed by GitHub
parent 76da264e85
commit a66fa21ca3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import Header from './components/header.js';
import Home from './containers/home/home'; import Home from './containers/home/home';
import NotFound from './containers/not-found/not-found'; import NotFound from './containers/not-found/not-found';
import LinearProgress from '@material-ui/core/LinearProgress'; import LinearProgress from '@material-ui/core/LinearProgress';
import { Paper } from '@material-ui/core';
const theme = createMuiTheme({ const theme = createMuiTheme({
palette: { palette: {
@ -34,6 +35,14 @@ function App() {
<Route default component={NotFound}/> <Route default component={NotFound}/>
</Switch> </Switch>
</Router> </Router>
<Paper elevation={4} className="report-problem-container">
<span>
If you come across any issue, feel free to report <a href="https://github.com/aparcar/attendedsysupgrade-server/issues">here</a>.
</span>
<span className="report-link">
For contributions, go to <a href="https://github.com/sudhanshu16/openwrt-firmware-selector/">Github</a>
</span>
</Paper>
</div> </div>
</Suspense> </Suspense>
</ThemeProvider> </ThemeProvider>

View file

@ -27,6 +27,23 @@
color: #61dafb; color: #61dafb;
} }
.report-problem-container {
display: block;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #fff;
padding: 15px 10%;
box-sizing: border-box;
text-align: left;
border-radius: 0
}
.report-link {
float: right;
}
@keyframes App-logo-spin { @keyframes App-logo-spin {
from { from {
transform: rotate(0deg); transform: rotate(0deg);