From 63e803ba179c42652ff0f9629b338dd060dba78e Mon Sep 17 00:00:00 2001 From: Christian Ditaputratama Date: Thu, 31 Oct 2024 16:28:51 +0700 Subject: [PATCH] style: Added remote-nodes and add-node page design --- internal/handler/views/add_node.templ | 26 ++++++++++++++++- internal/handler/views/add_node_templ.go | 2 +- internal/handler/views/remote_nodes.templ | 30 +++++++++++++++++++- internal/handler/views/remote_nodes_templ.go | 2 +- 4 files changed, 56 insertions(+), 4 deletions(-) diff --git a/internal/handler/views/add_node.templ b/internal/handler/views/add_node.templ index 9bdb828..88354dd 100644 --- a/internal/handler/views/add_node.templ +++ b/internal/handler/views/add_node.templ @@ -1,5 +1,29 @@ package views templ AddNode() { -

Add Node

+ +
+ + + +
+
+
+ +
+

Add Monero Node

+
+ +
+

You can use this page to add known remote node to the system so my bots can monitor it.

+
+
+
+
+
+
+ } diff --git a/internal/handler/views/add_node_templ.go b/internal/handler/views/add_node_templ.go index b2cce0e..912a8bd 100644 --- a/internal/handler/views/add_node_templ.go +++ b/internal/handler/views/add_node_templ.go @@ -29,7 +29,7 @@ func AddNode() templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Add Node

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Add Monero Node

You can use this page to add known remote node to the system so my bots can monitor it.


") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/handler/views/remote_nodes.templ b/internal/handler/views/remote_nodes.templ index f01b97a..943f3c4 100644 --- a/internal/handler/views/remote_nodes.templ +++ b/internal/handler/views/remote_nodes.templ @@ -1,5 +1,33 @@ package views templ RemoteNodes() { -

Remote Nodes

+ +
+ + + +
+
+
+ +
+

Public Monero Remote Nodes List

+
+ +
+

Monero remote node is a device on the internet running the Monero software with full copy of the Monero blockchain that doesn't run on the same local machine where the Monero wallet is located.

+
+
+
+
+

Remote node can be used by people who, for their own reasons (usually because of hardware requirements, disk space, or technical abilities), cannot/don't want to run their own node and prefer to relay on one publicly available on the Monero network.

+

Using an open node will allow to make a transaction instantaneously, without the need to download the blockchain and sync to the Monero network first, but at the cost of the control over your privacy. the Monero community suggests to always run and use your own node to obtain the maximum possible privacy and to help decentralize the network.

+
+
+
+
+ } diff --git a/internal/handler/views/remote_nodes_templ.go b/internal/handler/views/remote_nodes_templ.go index 1c5bf71..a70436c 100644 --- a/internal/handler/views/remote_nodes_templ.go +++ b/internal/handler/views/remote_nodes_templ.go @@ -29,7 +29,7 @@ func RemoteNodes() templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Remote Nodes

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Public Monero Remote Nodes List

Monero remote node is a device on the internet running the Monero software with full copy of the Monero blockchain that doesn't run on the same local machine where the Monero wallet is located.


Remote node can be used by people who, for their own reasons (usually because of hardware requirements, disk space, or technical abilities), cannot/don't want to run their own node and prefer to relay on one publicly available on the Monero network.

Using an open node will allow to make a transaction instantaneously, without the need to download the blockchain and sync to the Monero network first, but at the cost of the control over your privacy. the Monero community suggests to always run and use your own node to obtain the maximum possible privacy and to help decentralize the network.

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }