diff --git a/public/ad-astra-video.png b/public/ad-astra-video.png new file mode 100644 index 0000000..700b053 Binary files /dev/null and b/public/ad-astra-video.png differ diff --git a/public/xodeapp.png b/public/xodeapp.png new file mode 100644 index 0000000..74c3e3e Binary files /dev/null and b/public/xodeapp.png differ diff --git a/src/pages/home.js b/src/pages/home.js index 6b8b22c..c532335 100644 --- a/src/pages/home.js +++ b/src/pages/home.js @@ -1,26 +1,18 @@ -import React, { useState } from 'react'; -import '../style.css'; -import { - Navigate -} from "react-router-dom"; -import { useSelector } from 'react-redux'; -import RetroHitCounter from 'react-retro-hit-counter'; -import ContractPrices from '../components/ContractPrices'; +import React, { useState } from "react"; +import "../style.css"; +import { Navigate } from "react-router-dom"; +import { useSelector } from "react-redux"; +import RetroHitCounter from "react-retro-hit-counter"; +import ContractPrices from "../components/ContractPrices"; // Index of all sub-pages on this website const Home = (obj) => { const userstate = useSelector((state) => state.userstate); - const livepeer = useSelector((state) => state.livepeerstate); - const [redirectToGrafana, setRedirectToGrafana] = useState(false); const [redirectToLPT, setRedirectToLPT] = useState(false); const [redirectToStats, setRedirectToStats] = useState(false); - const [redirectToGraphs, setRedirectToGraphs] = useState(false); const [thisChad, setChad] = useState(""); - - if (redirectToGrafana) { - return ; - } + if (redirectToLPT) { return ; } @@ -28,16 +20,13 @@ const Home = (obj) => { return ; } - if (redirectToGraphs) { - return ; - } // Get amount of unique IP's which have visited this website var totalVisitorCount = 0; if (userstate.visitorStats) { totalVisitorCount = userstate.visitorStats.totalVisitorCount; } - if (thisChad == ""){ + if (thisChad == "") { const randomChad = performance.now(); const chadSource = "https://stronk.rocks/avatar.png?" + randomChad; setChad(chadSource); @@ -47,103 +36,393 @@ const Home = (obj) => {
- +
-
-
-
-

Home

+ +
+
+

+ On this page you will find an overview of everything related to{" "} + captain-stronk.eth +

- + + + + + + + + +
+

Stronk Utilities

+
+ + - - - {/*
- -
*/} -
-
-

External Links:

+ + + + + + + + + + + - - - - - - - - - - - - - - - -
+
- +

Stronk Tips

- {/*
-
-

Status

-
-
-

There was an issue with Events getting duplicated. The website might become unavailable from time to time while the issue is being fixed.

-
*/} -
-
- - ) -} + ); +}; export default Home; diff --git a/src/style.css b/src/style.css index 0e246fb..4d70c25 100644 --- a/src/style.css +++ b/src/style.css @@ -292,6 +292,7 @@ svg { .verticalDivider { height: 20px; + width: 100%; display: flex; align-items: stretch; } @@ -438,7 +439,9 @@ svg { } .waveButton { - min-width: 200px; + min-width: 400px; + max-width: 400px; + width: 400px; cursor: pointer; margin-left: 12px; margin-right: 12px;