Link to Github page

This commit is contained in:
Marco van Dijk 2022-03-02 01:50:32 +01:00
parent 50517684fe
commit 0af8ea69ec
2 changed files with 9 additions and 18 deletions

2
README
View File

@ -6,7 +6,7 @@ Setup VPS
cd /var/www/backend
npm install
nano /var/www/backend/src/config.js to your liking
replace nginx conf with supplied one, certbot will upgrade it to HTTPS
replace /etc/nginx/nginx.conf with supplied one, certbot will upgrade it to HTTPS
systemctl enable --now nginx.service
certbot --nginx

View File

@ -32,29 +32,13 @@ class Home extends React.Component {
}
render() {
if (this.state.redirectToRunningServices) {
return <Navigate push to="/services" />;
}
else if (this.state.redirectToWavePortal) {
return <Navigate push to="/waveportal" />;
}
if (this.state.redirectToTimelapses) {
return <Navigate push to="/timelapse" />;
}
if (this.state.redirectToTutorialMistOcto) {
return <Navigate push to="/guides/mistocto.md" />;
}
if (this.state.redirectToGrafana) {
return <Navigate push to="/orchestrator" />;
}
if (this.state.redirectToVideoNFT) {
return <Navigate push to="/videonft" />;
}
if (this.state.redirectToLPT) {
return <Navigate push to="/livepeer" />;
}
var totalVisitorCount = 0;
var activeVisitorCount = 0;
if (this.props.userstate.visitorStats) {
@ -72,6 +56,13 @@ class Home extends React.Component {
<div className="row">
<h3> Home </h3>
</div>
<div className="row">
<a href="https://github.com/stronk-dev/LivepeerEvents">
<button className="waveButton">
<p>GitHub</p>
</button>
</a>
</div>
<div className="row">
<button className="waveButton" onClick={() => {
this.setState({ redirectToGrafana: true });
@ -102,7 +93,7 @@ class Home extends React.Component {
</div>
<div className="alwaysOnBottomRight" style={{ margin: 0, padding: 0 }}>
<h6 className="lightText" style={{ margin: 0, padding: 0 }}>
nframe.tech / nframe.nl
nframe.nl
</h6>
</div>
</div>