@@ -58,10 +82,7 @@ const Dwifi = () => {
Discover the Erebrus decentralized Wi-Fi network with our interactive map. View real-time details about Wi-Fi hotspots, including their location, performance, and usage stats. This dashboard helps you find secure and fast Wi-Fi connections globally.
-
-
-
-
+
diff --git a/pages/explorer.js b/pages/explorer.js
index 1610241..70b4180 100644
--- a/pages/explorer.js
+++ b/pages/explorer.js
@@ -1,4 +1,4 @@
-import React, { useEffect, useState} from "react";
+import React, { useEffect, useState } from "react";
import Link from "next/link";
import NodesData from "../components/NodesData";
import dynamic from 'next/dynamic';
@@ -13,75 +13,108 @@ const Explorer = () => {
useEffect(() => {
async function fetchNodes() {
- const response = await fetch(`${EREBRUS_GATEWAY_URL}api/v1.0/nodes/all`);
- const data = await response.json();
- setNodes(data.payload);
+ try {
+ const response = await fetch(`${EREBRUS_GATEWAY_URL}api/v1.0/nodes/all`);
+ const data = await response.json();
+ if (data && Array.isArray(data.payload)) {
+ setNodes(data.payload);
+ } else {
+ setNodes([]);
+ console.warn("Received invalid data payload from API.");
+ }
+ } catch (error) {
+ console.error("Error fetching nodes data:", error);
+ setNodes([]);
+ }
}
fetchNodes();
}, []);
- return (
-
-
-
+ return (
+
+
+
Decentralized Access with
+
Erebrus ÐVPN
- Unrestricted Uncensored Web Access
+ Unrestricted Uncensored Web Access
- Explore the Erebrus decentralized VPN network with our interactive map. View detailed information on active nodes, including their location, network performance, and status. This map provides real-time insights into the global distribution and operation of our secure and private VPN infrastructure.
-
+ Explore the Erebrus decentralized VPN network with our interactive map. View detailed information on active nodes, including their location, network performance, and status. This map provides real-time insights into the global distribution and operation of our secure and private VPN infrastructure.
+
+
-
+
+
+
+
- )
+
+
+
+
+
+ );
}
export default Explorer;
diff --git a/public/gradient-vpn-illustration.png b/public/gradient-vpn-illustration.png
new file mode 100644
index 0000000..bd1939c
Binary files /dev/null and b/public/gradient-vpn-illustration.png differ