From 5028d876d1b3ab7fdcfda8c6f831d0348d6b7bed Mon Sep 17 00:00:00 2001 From: timurgordon Date: Mon, 28 Feb 2022 19:01:33 +0300 Subject: [PATCH] improvements all around --- content/header/_index.md | 2 +- content/join-us/_index.md | 2 +- css/index.css | 2 +- tailwind.config.js | 7 + templates/_default/base.html | 6 +- templates/blog/blog.html | 2 +- templates/blogPage.html | 2 +- templates/index.html | 2 +- templates/page.html | 2 +- templates/partials/blogPosts.html | 6 +- templates/partials/blogSidebar.html | 4 +- templates/partials/featuredBlog.html | 4 +- templates/partials/footer.html | 4 +- templates/partials/header copy.html | 257 +++++++++++++++++++++++++++ templates/partials/header.html | 22 +-- templates/section.html | 2 +- templates/shortcodes/row.html | 6 +- 17 files changed, 302 insertions(+), 30 deletions(-) create mode 100644 templates/partials/header copy.html diff --git a/content/header/_index.md b/content/header/_index.md index 1057111..5ca3679 100644 --- a/content/header/_index.md +++ b/content/header/_index.md @@ -17,7 +17,7 @@ extra:

-#### [The Internot](apage) +#### [The Internot](/apage) Whats wrong with the [internet](/apage) diff --git a/content/join-us/_index.md b/content/join-us/_index.md index fcbfc1e..a722af4 100644 --- a/content/join-us/_index.md +++ b/content/join-us/_index.md @@ -10,7 +10,7 @@ insert_anchor_links: "left"
-Together we expand and create this OurWorld platform, with the purpose to give a better digital life to billions of people. Anyone is invited to build solutions (experiences on top). OurWorld can provide the alternative to the current too centralized, unsustainable and abused internet. Let's go back to what the internet was supposed to be. +Together we expand and create this OurWorld platform, with the purpose to give a better digital life to billions of people. Anyone is invited to build solutions and experiences. OurWorld can provide the alternative to the current too centralized, unsustainable and abused internet. [Explore areas of creation](https://) diff --git a/css/index.css b/css/index.css index 21f5f8b..bd53cb2 100644 --- a/css/index.css +++ b/css/index.css @@ -29,7 +29,7 @@ img[src*="#medium"] { } img[src*="#logo"] { - max-width: 260px; + max-width: min(250px, 100%); margin: auto; } diff --git a/tailwind.config.js b/tailwind.config.js index 175a7ba..0f02894 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -26,7 +26,14 @@ module.exports = { '800': '#000088', '900': '#000066', }, + }, + extend: { + screens: { + '2xl': '1450px', + // => @media (min-width: 992px) { ... } + }, + }, }, variants: {}, plugins: [], // if we add forms, do it here diff --git a/templates/_default/base.html b/templates/_default/base.html index 1e70b5d..8c05b07 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -6,9 +6,11 @@ -
+
{% block content %}{% endblock %}
- {% include "partials/footer.html" %} +
+ {% include "partials/footer.html" %} +
\ No newline at end of file diff --git a/templates/blog/blog.html b/templates/blog/blog.html index 7889d64..4968811 100644 --- a/templates/blog/blog.html +++ b/templates/blog/blog.html @@ -8,7 +8,7 @@ and a side nav for category and featured post navigation {% block content %} -
+
{%- set section = get_section(path="blog/_index.md") %} diff --git a/templates/blogPage.html b/templates/blogPage.html index f468a56..a5c23f0 100644 --- a/templates/blogPage.html +++ b/templates/blogPage.html @@ -2,7 +2,7 @@ {% block content %} -
+
diff --git a/templates/index.html b/templates/index.html index ad61b24..24ba5b7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {% block content %} -
+
{{section.content | safe}}
{% endblock content %} \ No newline at end of file diff --git a/templates/page.html b/templates/page.html index 61eea99..5f9cac9 100644 --- a/templates/page.html +++ b/templates/page.html @@ -2,7 +2,7 @@ {% block content %} -
+
{{page.content | safe}} diff --git a/templates/partials/blogPosts.html b/templates/partials/blogPosts.html index 415678b..a5b299a 100644 --- a/templates/partials/blogPosts.html +++ b/templates/partials/blogPosts.html @@ -1,6 +1,8 @@ +{% block content %} +

{% set path_array = current_path | split(pat="/") %} {% set taxonomy = path_array[1] %} @@ -64,3 +66,5 @@

+ +{% endblock content %} diff --git a/templates/partials/blogSidebar.html b/templates/partials/blogSidebar.html index e6de9c6..7c910c7 100644 --- a/templates/partials/blogSidebar.html +++ b/templates/partials/blogSidebar.html @@ -1,6 +1,6 @@
-
+

FILTER POSTS BY

All {% set taxonomy = get_taxonomy(kind="categories") %} @@ -14,7 +14,7 @@ {% set section = get_section(path="blog/_index.md")%} -
+

FEATURED POSTS

{% for page in section.pages %} diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html index 617537c..671a864 100644 --- a/templates/partials/featuredBlog.html +++ b/templates/partials/featuredBlog.html @@ -1,7 +1,7 @@ -
-
+
+

FEATURED POST

diff --git a/templates/partials/footer.html b/templates/partials/footer.html index d1e0e55..88ea407 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -12,7 +12,7 @@