fix header link
This commit is contained in:
		@@ -35,11 +35,11 @@
 | 
			
		||||
                    {% set link_path = header_label | split(pat="%22") | safe%}
 | 
			
		||||
                    {% set current = get_url(path=link_path[1]) ~ "/" %}
 | 
			
		||||
                    {% if header_label is containing("http") %}
 | 
			
		||||
                        {% if header_label is not containing("threefold") %}
 | 
			
		||||
                        {# {% if header_label is not containing("threefold") %} #}
 | 
			
		||||
                        <a href="{{link_path[1]}}" target="_blank" class="text-lg font-normal  py-3 leading-6 text-pretty tracking-normal text-gray-600 focus:outline-none focus:text-gray-700 transition ease-in-out duration-150">
 | 
			
		||||
                            {{link_label}}
 | 
			
		||||
                        </a>
 | 
			
		||||
                        {% endif %}
 | 
			
		||||
                        {# {% endif %} #}
 | 
			
		||||
                      {% elif current_url and current == current_url %}
 | 
			
		||||
                          <a href="{{ get_url(path=link_path[1])}}" class="text-lg py-3 leading-6 font-light active text-pretty tracking-wide transition ease-in-out duration-150">
 | 
			
		||||
                            {{link_label}}
 | 
			
		||||
@@ -60,10 +60,10 @@
 | 
			
		||||
                {% endif %}  
 | 
			
		||||
            {% endif %}
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
            <a href="https://threefold.info/aibox/docs/" 
 | 
			
		||||
            {# <a href="https://threefold.info/aibox/docs/" 
 | 
			
		||||
                class="text-lg py-3 leading-6 font-normal text-pretty tracking-wide text-gray-600 focus:outline-none focus:text-gray-200 transition ease-in-out duration-150" target="_blank">
 | 
			
		||||
                Docs
 | 
			
		||||
                </a>
 | 
			
		||||
                </a> #}
 | 
			
		||||
            </nav>
 | 
			
		||||
 | 
			
		||||
            <div class="hidden md:inline-block md:order-last">
 | 
			
		||||
@@ -110,7 +110,7 @@
 | 
			
		||||
                      </a>
 | 
			
		||||
                    </li> 
 | 
			
		||||
                  </ul> #}
 | 
			
		||||
                    <a href="/signup" class="blinking-effect dashboard rounded-2xl bg-black px-4 p-2 text-sm font-semibold text-white shadow-sm hover:text-gray-300 hover:bg-gray-900">Register Now</a>
 | 
			
		||||
                    <a href="/signup"  class="blinking-effect dashboard rounded-2xl bg-black px-4 p-2 text-sm font-semibold text-white shadow-sm hover:text-gray-300 hover:bg-gray-900">Register Now</a>
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
@@ -153,7 +153,7 @@
 | 
			
		||||
            <div style="background-color: rgba(34 34 34);" class="shadow-xs h-screen divide-y-2 divide-gray-50">
 | 
			
		||||
                <div class="pb-6 sm:px-12 md:px-16 mt-0 lg:px-20 space-y-6 sm:space-y-8 sm:pb-8 max-h-screen overflow-y-auto">
 | 
			
		||||
 | 
			
		||||
                    <nav class="flex flex-col justify-around pb-12">
 | 
			
		||||
                    <nav class="flex flex-col justify-around py-12">
 | 
			
		||||
                    {% for header_item in header_items %}
 | 
			
		||||
 | 
			
		||||
                        {% if not loop.first %}
 | 
			
		||||
@@ -163,11 +163,11 @@
 | 
			
		||||
                                {% set link_label = header_label | striptags %}
 | 
			
		||||
                                {% set link_path = header_label | split(pat="%22") | safe%}
 | 
			
		||||
                                {% if header_label is containing("http") %}
 | 
			
		||||
                                    {% if header_label is not containing("threefold") %}
 | 
			
		||||
                                    {# {% if header_label is not containing("threefold") %} #}
 | 
			
		||||
                                    <a href="{{link_path[1]}}" target="_blank" class="text-lg px-8 py-3 leading-6 font-normal text-gray-50 hover:text-gray-200 focus:outline-none focus:text-gray-50 transition ease-in-out duration-150">
 | 
			
		||||
                                        {{link_label}}
 | 
			
		||||
                                    </a>
 | 
			
		||||
                                    {% endif %}
 | 
			
		||||
                                    {# {% endif %} #}
 | 
			
		||||
                                {% else %}
 | 
			
		||||
                                <a href="{{ get_url(path=link_path[1])}}" class="text-lg px-8 py-3 leading-6 font-normal text-gray-600 hover:text-gray-900 focus:outline-none focus:text-gray-100 transition ease-in-out duration-150">
 | 
			
		||||
                                    {{link_label}}
 | 
			
		||||
@@ -200,11 +200,11 @@
 | 
			
		||||
                      </div> #}
 | 
			
		||||
 | 
			
		||||
                      <div class="rounded-xl border-2 my-4 border-gray-400 py-2 mx-4">
 | 
			
		||||
                        <a href="/signup" class="mt-2 rounded-md px-4 py-2.5 text-lg font-semibold text-white shadow-sm hover:text-gray-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white">Register Now</a><br>
 | 
			
		||||
                        <a href="https://threefold.info/aibox/docs/" 
 | 
			
		||||
                        <a href="/signup" class="mt-2 rounded-md px-4 py-2.5 text-lg font-semibold text-white shadow-sm hover:text-gray-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white">Register 2 Now</a><br>
 | 
			
		||||
                        {# <a href="https://threefold.info/aibox/docs/" 
 | 
			
		||||
                        class="text-lg  px-3 py-6 leading-6 font-normal text-white hover:text-gray-200 focus:outline-none focus:text-gray-50 transition ease-in-out duration-150" target="_blank">
 | 
			
		||||
                        Docs
 | 
			
		||||
                        </a>
 | 
			
		||||
                        </a> #}
 | 
			
		||||
                      </div>
 | 
			
		||||
                    </nav>                    
 | 
			
		||||
                </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user