From 50bf5c6f031193d399410667d171c22402861aec Mon Sep 17 00:00:00 2001 From: samtaggart Date: Wed, 13 Mar 2024 10:52:02 +0300 Subject: [PATCH 1/5] Change dashboard links --- content/footer/_index.md | 2 +- content/host/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/footer/_index.md b/content/footer/_index.md index 4e1dc79d4..c0a455386 100644 --- a/content/footer/_index.md +++ b/content/footer/_index.md @@ -18,7 +18,7 @@ extra: ###### [Host (Farm)](/host) -###### [Dashboard](https://next.dashboard.grid.tf/) +###### [Dashboard](https://dashboard.grid.tf/) ###### [Download TF Connect: iOS](https://apps.apple.com/us/app/3bot-login/id1459845885) diff --git a/content/host/index.md b/content/host/index.md index 0de710e22..1a96c9d3b 100644 --- a/content/host/index.md +++ b/content/host/index.md @@ -150,7 +150,7 @@ The ThreeFold Dashboard is today's go-to-interface for hosters (farmers) and gri
- + {% end %} From f37d61312fc4059f7cbf9c1598502162fc323efe Mon Sep 17 00:00:00 2001 From: samtaggart Date: Wed, 13 Mar 2024 10:59:51 +0300 Subject: [PATCH 2/5] Fix button --- templates/shortcodes/grid_stats_expand.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/grid_stats_expand.html b/templates/shortcodes/grid_stats_expand.html index 127c2b1d3..54ec35776 100644 --- a/templates/shortcodes/grid_stats_expand.html +++ b/templates/shortcodes/grid_stats_expand.html @@ -58,7 +58,7 @@ - + From 02c40e26e698a4e732cc6cae6746526fecf88120 Mon Sep 17 00:00:00 2001 From: samtaggart Date: Wed, 13 Mar 2024 11:02:34 +0300 Subject: [PATCH 3/5] Fix button --- templates/shortcodes/grid_stats.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/grid_stats.html b/templates/shortcodes/grid_stats.html index ca8c25824..50181883b 100644 --- a/templates/shortcodes/grid_stats.html +++ b/templates/shortcodes/grid_stats.html @@ -50,7 +50,7 @@ From 398e8bf92d907a34ca496983c4cb94a40f2c38f3 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 13 Mar 2024 11:51:53 +0200 Subject: [PATCH 4/5] enhance blog to work well at small screen --- templates/partials/blogPosts.html | 10 +++++----- templates/partials/blogSidebar.html | 10 +++++----- templates/partials/featuredBlog.html | 19 +++++++++++-------- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/templates/partials/blogPosts.html b/templates/partials/blogPosts.html index 1283a3b8a..a109cebfd 100644 --- a/templates/partials/blogPosts.html +++ b/templates/partials/blogPosts.html @@ -1,8 +1,8 @@ {% block content %} -
-

+

{% set path_array = current_path | split(pat="/") %} {% set taxonomy = path_array[1] %} @@ -11,9 +11,9 @@ {% if taxonomy == "categories" %} - {{category | replace(from='-', to=' ' ) | title}} {% endif %} -

+
-
+
{%- for post in paginator.pages %} {% if not post.extra.hidden %} {% include "partials/postCard.html" %} diff --git a/templates/partials/blogSidebar.html b/templates/partials/blogSidebar.html index 7c910c74c..acde50600 100644 --- a/templates/partials/blogSidebar.html +++ b/templates/partials/blogSidebar.html @@ -1,14 +1,14 @@ -
-
-

FILTER POSTS BY

- All +
+
+

FILTER POSTS BY

+ All {% set taxonomy = get_taxonomy(kind="categories") %} {% set categories = taxonomy.items %} {% for category in categories %} {% set path = category.name | slugify %} {% set fullpath = "/categories/" ~ path %} - {{category.name}} + {{category.name}} {% endfor %}
diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html index 26731efc7..44a5731e6 100644 --- a/templates/partials/featuredBlog.html +++ b/templates/partials/featuredBlog.html @@ -9,27 +9,30 @@ -
-
-

FEATURED POST

+
+
+

FEATURED POST

+ class="text-2xl main-title md:text-4xl fw-500 leading-snug font-medium"> {{ featured.title }}

+

+ {{ featured.description }} +

-

+

{{ featured.date | date(format="%B %e, %Y", timezone="America/Chicago")}} -

-
- +
+
-
+
From a3cb8dc08243dc21525194d3d80aca462f19622f Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 13 Mar 2024 12:44:40 +0200 Subject: [PATCH 5/5] fix blog post size --- templates/blogPage.html | 14 +++++++------- templates/categories/single.html | 4 ++-- templates/partials/postCard.html | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/blogPage.html b/templates/blogPage.html index 0b38cb9a9..dfa5bd6ef 100644 --- a/templates/blogPage.html +++ b/templates/blogPage.html @@ -20,21 +20,21 @@ loop.first %} {% set_global content=part%} {% else %} {% set_global content=content ~ "threefold.io" ~ part%} {% endif %} {% endfor %} {% endif %}
-
+
-

+

{{ page.title }} -

+ -

+

{{ page.description }} -

-