diff --git a/internal/handler/views/home.templ b/internal/handler/views/home.templ index 28c1709..a2074bd 100644 --- a/internal/handler/views/home.templ +++ b/internal/handler/views/home.templ @@ -1,5 +1,214 @@ package views templ Home() { -

Home

+ +
+ + + +
+
+
+

Monero Remote Node

+

A website that helps you monitor your favourite Monero remote nodes, but YOU BETTER RUN AND USE YOUR OWN NODE.

+ +
+
+

If you're new to Monero, the official links above is a perfect place to start.

+

+ Of course, there are lots of personal and community sites which generally discusses a lot about Monero, such as + for _, link := range communityLinks { + { link.Text }, + } + etc; can be an other good reference for you. +

+
+
+
+
+ + +
+
+ +
+
+

Remote Nodes

+

List of submitted Monero remote nodes you can use when you cannot run your own node.

+
+
+
+ +
+
+

Add Node

+

Add your Monero public node to be monitored and see how it performs.

+
+
+
+
+
+ + +
+
+
+

You can find few resources I provide related to Monero below:

+
+ +
+ +
+

My Stagenet Public Node

+

Stagenet is what you need to learn Monero safely. Stagenet is technically equivalent to mainnet, both in terms of features and consensus rules.

+ +
+ +
+ + P2P + + + +
+
+
+ +
+ + RPC + + + +
+
+
+ +
+ + RPC SSL + + + +
+
+
+ +
+

My Testnet Public Node

+

Testnet is the "experimental" network and blockchain where things get released long before mainnet. As a normal user, use mainnet instead.

+ +
+ +
+ + P2P + + + +
+
+
+ +
+ + RPC + + + +
+
+
+ +
+ + RPC SSL + + + +
+
+
+
+
+
+ + +
+
+ +
+

+ + Since we desire privacy, we must ensure that each party to a transaction have knowledge only of that which is directly necessary for that transaction. + +

+

+ Eric Hughes in A Cypherpunk's Manifesto. +

+
+
+
+ +
+ +
+
+
+

If you find this project useful, please consider making a donation to help cover the ongoing expenses. Your contribution will go towards ensuring the continued availability of this website, my stagenet and testnet public nodes.

+ + + + +
+
+ ditatompel's monero address +

Thank you so much! It means a lot to me. 🥰

+
+
+
} diff --git a/internal/handler/views/home_templ.go b/internal/handler/views/home_templ.go index 826ae1b..d8856aa 100644 --- a/internal/handler/views/home_templ.go +++ b/internal/handler/views/home_templ.go @@ -29,7 +29,52 @@ func Home() templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Home

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

If you're new to Monero, the official links above is a perfect place to start.

Of course, there are lots of personal and community sites which generally discusses a lot about Monero, such as ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + for _, link := range communityLinks { + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var4 string + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(link.Text) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/handler/views/home.templ`, Line: 49, Col: 98} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(", ") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("etc; can be an other good reference for you.

Remote Nodes

List of submitted Monero remote nodes you can use when you cannot run your own node.

Add Node

Add your Monero public node to be monitored and see how it performs.

You can find few resources I provide related to Monero below:

My Stagenet Public Node

Stagenet is what you need to learn Monero safely. Stagenet is technically equivalent to mainnet, both in terms of features and consensus rules.

P2P
RPC
RPC SSL

My Testnet Public Node

Testnet is the \"experimental\" network and blockchain where things get released long before mainnet. As a normal user, use mainnet instead.

P2P
RPC
RPC SSL

Since we desire privacy, we must ensure that each party to a transaction have knowledge only of that which is directly necessary for that transaction.

Eric Hughes in A Cypherpunk's Manifesto.


If you find this project useful, please consider making a donation to help cover the ongoing expenses. Your contribution will go towards ensuring the continued availability of this website, my stagenet and testnet public nodes.

\"ditatompel's

Thank you so much! It means a lot to me. 🥰

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/internal/handler/views/src/css/main.css b/internal/handler/views/src/css/main.css index d2dfbfb..594c11b 100644 --- a/internal/handler/views/src/css/main.css +++ b/internal/handler/views/src/css/main.css @@ -2,6 +2,13 @@ @tailwind components; @tailwind utilities; +.link { + @apply text-orange-400 hover:brightness-125; +} +a.external { + @apply link after:content-['_↗']; +} + /* main navbar */ #main-navbar div a { @apply py-0.5 md:py-3 px-4 md:px-1 border-s-2 md:border-s-0 md:border-b-2 border-transparent text-gray-500 hover:text-gray-800 focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-200; @@ -9,3 +16,7 @@ #main-navbar div a.active { @apply py-0.5 md:py-3 px-4 md:px-1 border-s-2 md:border-s-0 md:border-b-2 border-orange-400 font-medium text-neutral-200 focus:outline-none; } + +a.btn-link { + @apply py-1 px-3 mt-2 inline-flex items-center gap-x-1 text-sm font-medium rounded-lg border border-neutral-700 bg-neutral-800 text-white shadow-sm hover:bg-neutral-700; +} diff --git a/internal/handler/views/vars.go b/internal/handler/views/vars.go new file mode 100644 index 0000000..050a6cd --- /dev/null +++ b/internal/handler/views/vars.go @@ -0,0 +1,16 @@ +package views + +type link struct { + Text string + URI string +} + +var communityLinks = []link{ + {Text: "moneroworld.com", URI: "https://moneroworld.com"}, + {Text: "monero.how", URI: "https://www.monero.how"}, + {Text: "monero.observer", URI: "https://www.monero.observer"}, + {Text: "revuo-xmr.com", URI: "https://revuo-xmr.com"}, + {Text: "themonoeromoon.com", URI: "https://www.themoneromoon.com"}, + {Text: "monerotopia.com", URI: "https://monerotopia.com"}, + {Text: "sethforprivacy.com", URI: "https://sethforprivacy.com"}, +}