mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
Link to Github page
This commit is contained in:
parent
50517684fe
commit
0af8ea69ec
2
README
2
README
@ -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
|
||||
|
||||
|
25
src/home.js
25
src/home.js
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user