edit button

This commit is contained in:
sasha-astiadi 2024-05-07 09:36:20 +02:00
parent eea9f52de3
commit e0d633c71c
6 changed files with 7 additions and 9 deletions

View File

@ -27,7 +27,7 @@ template: "layouts/hero.html"
<p>Hero is your unique, singular digital avatar, streamlining your online interactions by eliminating the need to duplicate identities across various platforms. With Hero, manage every aspect of your digital life through one secure, efficient identity.</p> <p>Hero is your unique, singular digital avatar, streamlining your online interactions by eliminating the need to duplicate identities across various platforms. With Hero, manage every aspect of your digital life through one secure, efficient identity.</p>
<br> <br>
<button onclick="/hero"> <button a href="/hero">
Learn More Learn More
</button> </button>

View File

@ -26,9 +26,7 @@ weight: 1
<p>Meet <b>Hero</b>: your unique digital avatar, streamlining your online presence by eliminating the need for duplicate identities across platforms.</p> <p>Meet <b>Hero</b>: your unique digital avatar, streamlining your online presence by eliminating the need for duplicate identities across platforms.</p>
<br> <br>
<button onclick="/hero.md"> <button><a href ="/hero">Learn More</button>
Learn More
</button>
{% end %} {% end %}
@ -127,7 +125,7 @@ weight: 1
<br> <br>
<button onclick="/mycelium"> <button a href="/mycelium">
Learn More Learn More
</button> </button>

View File

@ -21,7 +21,7 @@ id: hero
<br> <br>
<button onclick="/nodes"> <button a href="/nodes">
Learn More Learn More
</button> </button>

View File

@ -22,7 +22,7 @@ template: "layouts/nodes.html"
<p>Explore how each Mycelium Node contributes to the robust, decentralized architecture of the Mycelium Network, ensuring security, scalability, and resilience.</p> <p>Explore how each Mycelium Node contributes to the robust, decentralized architecture of the Mycelium Network, ensuring security, scalability, and resilience.</p>
<br> <br>
<button onclick="#how"> <button a href="#how">
Learn More Learn More
</button> </button>

View File

@ -19,7 +19,7 @@ template: "layouts/xperiences.html"
<p>Dive into a suite of secure and integrated applications designed for the Hero identity, enhancing your connectivity, creativity, and control across the digital space.</p> <p>Dive into a suite of secure and integrated applications designed for the Hero identity, enhancing your connectivity, creativity, and control across the digital space.</p>
<br> <br>
<button onclick="#"> <button a href="#">
Learn More Learn More
</button> </button>

View File

@ -1,5 +1,5 @@
{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} {% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %}
<button onclick="window.location='{{path}}'" class="border-transparent flex flex-col border-2 w-full items-start rounded h-16 md:h-24 transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left"> <button a href="{{path}}" class="border-transparent flex flex-col border-2 w-full items-start rounded h-16 md:h-24 transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left">
{{ body | trim_start_matches(pat="<p>") | safe}} {{ body | trim_start_matches(pat="<p>") | safe}}
</button> </button>