Merge branch 'development' of github.com:threefoldfoundation/www_threefold_io into development

This commit is contained in:
samaradel
2022-08-01 13:38:47 +02:00
5 changed files with 29 additions and 33 deletions

View File

@@ -17,61 +17,56 @@ extra:
{% menu() %} {% menu() %}
{% button() %} <button>
[Our Partners](/partners) [Our Partners](/partners)
<br> <br>
Explore Our Partners Explore Our Partners
{%% end %%} </button>
||| |||
{% button() %} <button>
[Alliance](https://consciousinternet.org/) [Alliance](https://consciousinternet.org/)
<br> <br>
Alliance For A Conscious Internet Alliance For A Conscious Internet
{%% end %%} </button>
{% end %} {% end %}
- Community - Community
{% menu() %} {% menu() %}
{% button() %} <button>
[Our People](/people) [Our People](/people)
<br> <br>
Team, stories, & more Team, stories, & more
{%% end %%} </button>
||| |||
{% button() %} <button>
[ThreeFold Community](/community) [ThreeFold Community](/community)
<br> <br>
Welcome To The Fold Welcome To The Fold
{%% end %%} </button>
||| |||
{% button() %} <button>
[Developers Resources](/developer) [Developers Resources](/developer)
<br> <br>
Join The Developer Community Join The Developer Community
{%% end %%} </button>
{% end %} {% end %}
@@ -81,62 +76,61 @@ Join The Developer Community
#### RESOURCES #### RESOURCES
{% button() %} <button>
[Explorer](https://explorer.threefold.io/all) [Explorer](https://explorer.threefold.io/all)
ThreeFold Capacity Explorer ThreeFold Capacity Explorer
{%% end %%} </button>
{% button() %} <button>
[Library](https://library.threefold.me/info/threefold#/) [Library](https://library.threefold.me/info/threefold#/)
<br> <br>
Explorer The documentation Explorer The documentation
{%% end %%} </button>
||| |||
#### DIVE DEEPER #### DIVE DEEPER
{% button() %} <button>
[Blog](/blog) [Blog](/blog)
<br> <br>
Explorer The Blogs Explorer The Blogs
{%% end %%} </button>
{% button() %} <button>
[Newsroom](/newsroom) [Newsroom](/newsroom)
<br> <br>
Check Last Updates Check Last Updates
{%% end %%} </button>
||| |||
#### SUPPORT AND HELP #### SUPPORT AND HELP
{% button() %} <button>
[Careers](/careers) [Careers](/careers)
<br> <br>
Join The TEAM Join The TEAM
{%% end %%} </button>
{% button() %} <button>
[Support](/support) [Support](/support)
<br> <br>
Get In Touch With ThreeFold Get In Touch With ThreeFold
{%% end %%} </button>
{% end %} {% end %}

View File

@@ -385,3 +385,5 @@ header {
display: none; display: none;
} }
} }
header #menu button { @apply leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left}

File diff suppressed because one or more lines are too long

View File

@@ -126,7 +126,7 @@
<nav> <nav>
<div id="{{menu_id}}" class="mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 z-30 absolute inset-x-0 transform shadow-lg lg:backdrop-blur xl:backdrop-blur transition duration-200 ease-in opacity-0 -translate-y-1 hidden"> <div id="{{menu_id}}" class="mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 z-30 absolute inset-x-0 transform shadow-lg lg:backdrop-blur xl:backdrop-blur transition duration-200 ease-in opacity-0 -translate-y-1 hidden">
<div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white"> <div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white">
<div class="mx-8 lg:mx-40 xl:mx-40 px-6 sm:p-6 md:p-8"> <div id="menu" class="mx-8 lg:mx-40 xl:mx-40 px-6 sm:p-6 md:p-8">
{{header_menu | safe }} {{header_menu | safe }}
</div> </div>
</div> </div>

View File

@@ -10,6 +10,6 @@
{% else %} {% else %}
<button onclick="window.location='{{get_url(path=url)}}'" <button onclick="window.location='{{get_url(path=url)}}'"
class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left"> class="leading-6 border-transparent flex flex-col border-2 w-full items-start rounded transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2 text-left">
<a href="{{url}}"> {{ body | trim_start_matches(pat="<p>") | safe}}</a> <a href="{{get_url(path=url)}}"> {{ body | trim_start_matches(pat="<p>") | striptags | safe}}</a>
</button> </button>
{% endif %} {% endif %}