add all components

This commit is contained in:
2025-08-10 17:28:43 +03:00
parent a71faed5b3
commit 4a4e8bd33c
44 changed files with 70 additions and 340 deletions

View File

@@ -1,4 +1,4 @@
use{% block content %}
{% block content %}
<div class="text-center main-title px-0 lg:w-2/3 mx-8 pt-6 lg:mx-12">
<h2

View File

@@ -2,24 +2,24 @@
<div class="mx-8 lg:mx-4 flex flex-col mt-2 pt-6 md:mt-8">
<div class="flex flex-col mb-12">
<h4 class="text-base not-italic font-medium leading-6 text- mb-4"> FILTER POSTS BY</h4>
<a id="all" class="mb-2 text-white font-normal" href="/blog">All</a>
<a id="all" class="mb-2 font-normal" href="/blog">All</a>
{% set taxonomy = get_taxonomy(kind="categories") %}
{% set categories = taxonomy.items %}
{% for category in categories %}
{% set path = category.name | slugify %}
{% set fullpath = "/categories/" ~ path %}
<a id="{{path}}" class="mb-2 text-white font-normal" href={{fullpath}}> {{category.name}} </a>
<a id="{{path}}" class="mb-2 font-normal changed" href={{fullpath}}> {{category.name}} </a>
{% endfor %}
</div>
{% set section = get_section(path="blog/_index.md")%}
<div class="lg:pt-6 flex flex-col mb-12 w-64 mr-8 lg:mr-24">
<h4 class="text-base not-italic font-medium leading-6 text-white mb-6"> FEATURED POSTS</h4>
<h4 class="text-base not-italic font-medium leading-6 mb-6"> FEATURED POSTS</h4>
{% for page in section.pages %}
{% if page.extra.isFeatured %}
<a class="mb-3 text-gray-50" href={{page.permalink}}>{{ page.title }}</a>
<a class="mb-3 changed" href={{page.permalink}}>{{ page.title }}</a>
{% endif %}
{% endfor %}

View File

@@ -15,19 +15,19 @@
</div>
<!-- Text Content Section (Will be displayed first on larger screens) -->
<div class="relative w-full md:w-auto mx-3 lg:mx-12 order-2 lg:order-1">
<h3 class="text-base not-italic font-medium leading-6 text-indigo-400 mb-4">FEATURED POST</h3>
<h3 class="text-base not-italic font-medium leading-6 text-gray-400 mb-4">FEATURED POST</h3>
<a href="{{featured.permalink}}">
<h2 class="text-2xl main-title lg:text-3xl fw-500 leading-snug font-semibold">
<h2 class="changed text-2xl main-title lg:text-3xl fw-500 leading-snug font-semibold">
{{ featured.title }}
</h2>
<p class="mt-4 text-base font-light text-gray-50 text-left">
<p class="changed mt-4 text-base font-light text-left">
{{ featured.description }}
</p>
</a>
<h4 class="mt-2 mb-6 lg:mb-10 text-sm not-italic font-light leading-6 text-gray-200">
<h4 class="mt-2 mb-6 lg:mb-10 text-sm not-italic font-light leading-6 text-gray-400">
{{ featured.date | date(format="%B %e, %Y", timezone="America/Chicago")}}
</h4>
<a href="/blog/ensuring_reliability" class="rounded-md mt-6 lg:mt-12 bg-indigo-400 px-3.5 py-2.5 font-semibold text-white shadow-sm text-sm hover:bg-indigo-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400">Read More</a>
<a href="/blog/ensuring_reliability" class="bg-theme text-theme rounded-md text-sm px-4 py-2 font-semibold shadow-sm">Read More</a>
</div>
</div>

View File

@@ -25,9 +25,9 @@
</div>
<div class="mt-8 mx-auto border-t border-gray-200 pt-8 pb-4">
<p data-v-14efe4a7="" class="text-base leading-6 text-gray-400 text-center">
© 2025 GeoMind, All rights reserved.
<a target="_blank" href="https://docs.threefold.io/docs/legal/terms_and_conditions" class="leading-6 text-gray-200 hover:text-gray-500">Terms &amp; Conditions |
</a><a target="_blank" href="https://docs.threefold.io/docs/legal/privacy_policy" class="leading-6 text-gray-200 hover:text-gray-500">Privacy Policy
© 2025 Template, All rights reserved.
<a target="_blank" href="https://docs.threefold.io/docs/legal/terms_and_conditions" class="leading-6 text-gray-500 hover:text-gray-400">Terms &amp; Conditions |
</a><a target="_blank" href="https://docs.threefold.io/docs/legal/privacy_policy" class="leading-6 text-gray-500 hover:text-gray-400">Privacy Policy
</a>
</div>

View File

@@ -7,12 +7,12 @@
{% set header_items = section.content | safe | split(pat="<li>") %}
<header id="header-container">
<div class="z-10 bg-custom-dark-blue fixed w-screen">
<div class="z-10 bg-black fixed w-screen">
<div class="relative z-50 shadow">
<div class="my-4 mx-auto flex z-50 shadow justify-between items-center pl-6 pr-2 md:pl-0 md:pr-0 lg:py-1 sm:px-8 md:px-12 py-2 lg:px-28 lg:justify-start lg:space-x-20">
<div>
<a href="/" class="flex">
<img class="w-24 h-auto sm:w-15" src="{{section.extra.logoPath}}" alt="geomind Logo" />
<img class="w-24 h-auto sm:w-15" src="{{section.extra.logoPath}}" alt="Logo" />
</a>
</div>
<div class="mr-2 -my-2 lg:hidden">

View File

@@ -1,5 +1,5 @@
{% block content %}
<div class="lg:mt-24 pt-24 mb-6 mt-6">
<div class="lg:mt-24 pt-12 mb-6 mt-6">
<h2 class="mb-4 text-center md:mb-6">{{ section.title }}</h2>
<p class="mx-auto max-w-5xl text-center text-gray-200 text-base md:text-lg">
{{ section.description }}

View File

@@ -8,7 +8,7 @@
{% endif %}
{% endif %}
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden bg-white">
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden border border-gray-300">
{% if post.extra.imgPath %}
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
<div class="flex-shrink-0">
@@ -17,12 +17,12 @@
{% endif %}
<div class="flex-1 p-6 flex flex-col">
<h3 class="text-base text-left font-medium text-gray-900 mb-2">
<h3 class="text-base text-left font-medium mb-2">
{{ post.title }}
</h3>
{% if post.description %}
<p class="text-sm text-left text-gray-500 mb-3">
<p class="text-sm text-left text-gray-400 mb-3">
{{ post.description }}
</p>
{% endif %}