add fotoer

This commit is contained in:
sasha-astiadi 2023-08-14 23:57:32 +02:00
parent 0251c16522
commit 856a847871
6 changed files with 43 additions and 16 deletions

View File

@ -4,8 +4,8 @@ description: ""
insert_anchor_links: "left" insert_anchor_links: "left"
template: "partials/footer.html" template: "partials/footer.html"
extra: extra:
logoPath: "images/black_threefold.png" logoPath: "images/logo_placeholder2sm.png"
socialLinks: { Github: "https://github.com/threefoldfoundation", Github2: "https://github.com/threefoldtech", Twitter: "https://twitter.com/threefold_io", Telegram: "https://t.me/threefoldnews" } socialLinks: { Github: "https://github.com/ourworldfreezone", Twitter: "https://twitter.com/threefold_io", Telegram: "https://t.me/threefoldnews" }
--- ---
{% row(style="lean") %} {% row(style="lean") %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -3,19 +3,43 @@
Read the documentation to get started: https://tailwindui.com/documentation Read the documentation to get started: https://tailwindui.com/documentation
--> -->
{%- set section = get_section(path="_index.md") %} {%- set section = get_section(path="footer/_index.md") %}
{%- set logoPath = section.extra.logoPath %}
{% set subsections_str = section.subsections | join(sep=" ") %} <html>
<head /><body>
<footer class="bottom-0"> <div class="mt-6 border-t border-gray-200 pt-2"></div>
{% if "footer/_index.md" in subsections_str %} <footer class="bg-white">
{%- set section = get_section(path="footer/_index.md") %} <div class="max-w-screen-2xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8">
{{ section.content | safe }} <div class="xl:flex xl:gap-4">
{% else %} <div class="space-y-8 lg:max-w-sm xl:max-w-sm lg:mr-8 lg:mb-8 xl:col-span-1">
{% set footer_class = config.extra.footer_class | default(value='') %} <img class="w-full h-auto sm:w-auto" src="{{ get_url(path=logoPath)}}" alt="Ourworld Freezone Logo" />
<div class="{{ footer_class }}"> <p class="text-gray-500 text-base leading-6 ">
{# <img src="{{get_url(path='images/')}}" class="w-60" alt=""> #} {{section.description}}
<p class="text-center">OurWorld Free Zone | All Rights Reserved 2023</p> </p>
{% include "partials/socialLinks.html" %}
</div> </div>
{% endif %}
</footer> <div class="mt-6 lg:mt-0 w-full px-8 sm:px-12 md:px-16 lg:px-20 footer-cust">
{{ section.content | safe }}
</div>
</div>
<div class="mt-12 mx-auto border-t border-gray-200 pt-8">
<p data-v-14efe4a7="" class="text-base leading-6 text-gray-400 text-center">
© 2023 OurWorld FreeZone, All rights reserved.
<a target="_blank" href="https://library.threefold.me/info/legal/#/legal__terms_conditions_websites" class="leading-6 text-gray-500 hover:text-gray-900">Terms &amp; Conditions |
</a><a target="_blank" href="https://library.threefold.me/info/legal/#/legal__privacypolicy" class="leading-6 text-gray-500 hover:text-gray-900">Privacy Policy |
</a><a href="/tfLabs" class="leading-6 text-gray-500 hover:text-gray-900">ThreeFold Labs IT</a></p>
</div>
</div>
</div>
</footer>
</body>
</html>

View File

@ -0,0 +1 @@
<svg data-v-14efe4a7="" xmlns="http://www.w3.org/2000/svg" width="1.2rem" height="1.2rem" fill="currentColor" viewBox="0 0 16 16" class="bi bi-telegram mt-1"><path data-v-14efe4a7="" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z"></path></svg>

After

Width:  |  Height:  |  Size: 828 B

View File

@ -13,6 +13,8 @@
{% include "partials/icons/svgTwitterIcon.html" %} {% include "partials/icons/svgTwitterIcon.html" %}
{% elif key == "Dribbble" %} {% elif key == "Dribbble" %}
{% include "partials/icons/svgDribbbleIcon.html" %} {% include "partials/icons/svgDribbbleIcon.html" %}
{% elif key == "Telegram" %}
{% include "partials/icons/svgTelegram.html" %}
{% endif %} {% endif %}
</a> </a>