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 cd /var/www/backend
npm install npm install
nano /var/www/backend/src/config.js to your liking 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 systemctl enable --now nginx.service
certbot --nginx certbot --nginx

View File

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