diff --git a/src/components/Menu.tsx b/src/components/Menu.tsx index 7e462cc..31e0304 100644 --- a/src/components/Menu.tsx +++ b/src/components/Menu.tsx @@ -8,9 +8,6 @@ function MenuLink({ name, path }: { name: string; path: string }) { const classes = router?.pathname === path ? `${styles.link} ${styles.active}` : styles.link - console.log(name, path) - console.log('classes', classes) - console.log('router', router.pathname) return ( diff --git a/src/config/veOceanStats.json b/src/config/veOceanStats.json new file mode 100644 index 0000000..661e494 --- /dev/null +++ b/src/config/veOceanStats.json @@ -0,0 +1,6 @@ +[ + { "title": "Deposits", "path": "/deposits" }, + { "title": "Actions", "path": "/actions" }, + { "title": "Weekly Locked Amount", "path": "/weeklyLockedAmount" }, + { "title": "Allocations", "path": "/allocations" } +] diff --git a/src/pages/stats.tsx b/src/pages/stats.tsx index 993b1be..d4af4cf 100644 --- a/src/pages/stats.tsx +++ b/src/pages/stats.tsx @@ -20,7 +20,9 @@ export default function Stats() {

Ocean Protocol Stats

-

Stats for usage of Ocean Protocol.

+

+ Core stats for usage of Ocean Protocol. +

{' '}
diff --git a/src/pages/veOceanStats.tsx b/src/pages/veOceanStats.tsx new file mode 100644 index 0000000..cdce305 --- /dev/null +++ b/src/pages/veOceanStats.tsx @@ -0,0 +1,36 @@ +import React from 'react' +import Head from 'next/head' +import styles from '../styles/Home.module.css' +import LogoAsset from '../images/logo.svg' +import Chart from '../components/Chart' +import stats from '../config/veOceanStats.json' + +export default function Stats() { + return ( +
+ + Ocean Protocol Stats + + + +
+ + +

Ocean Protocol Stats

+

+ Core stats for usage of Ocean Protocol. +

+
{' '} +
+
+ {stats.map((chart) => ( + + ))} +
+
+
+ ) +}