diff --git a/sass/pages/faq-page.scss b/sass/pages/faq-page.scss index 327c1795..48c49548 100644 --- a/sass/pages/faq-page.scss +++ b/sass/pages/faq-page.scss @@ -5,6 +5,9 @@ padding-top: 0; } .faq-page-list { + a { + text-decoration: none; + } &__title { color: var(--black-white); margin-bottom: 20rem; @@ -13,6 +16,9 @@ padding-top: 0; } } + &__table-title { + color: var(--black-white); + } &__row { display: flex; gap: 10rem; diff --git a/static/images/faq/hero_image.png b/static/images/faq/hero_image.png new file mode 100644 index 00000000..d87ea04d Binary files /dev/null and b/static/images/faq/hero_image.png differ diff --git a/templates/base.html b/templates/base.html index f08a295d..377c375d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -117,11 +117,57 @@
{% if page.taxonomies and page.taxonomies.faq %}{# Show FAQ breadcrumbs #} - F.A.Q. - {% set categories = get_taxonomy(kind='faq') | get(key="items") %} - {% for item in categories %} - • {{ item.name }} - {% endfor %} +
+
+ +
+

+ Faq +

+ + +
+
+
+ +
+
+ {% set categories = get_taxonomy(kind='faq') | get(key="items") %} +

App

+
+

How to edit or move bookmarks?

+
+ + {% for item in categories %} + {{ item.name }} + {% endfor %} +
+ + +
+
{% endif %} {% block content %}{% endblock %}
diff --git a/templates/faq/list.html b/templates/faq/list.html index fa678323..6495353c 100644 --- a/templates/faq/list.html +++ b/templates/faq/list.html @@ -5,13 +5,65 @@ {% endblock %} {% block content %} -

F.A.Q.

- {%- for term in terms -%} -

{{term.name}} questions

- - {%- endfor -%} + + + + + +{% include 'section/donate.html' %} {% endblock content %} diff --git a/templates/faq/single.html b/templates/faq/single.html index 0e295bb3..971cf7f1 100644 --- a/templates/faq/single.html +++ b/templates/faq/single.html @@ -5,18 +5,80 @@ {% endblock %} {% block content %} - F.A.Q. - {% set categories = get_taxonomy(kind='faq') | get(key="items") %} +{% set categories = get_taxonomy(kind='faq') | get(key="items") %} +
+
+ +
+ + {% for item in categories %} + {% if term.name == item.name %} +

{{ item.name }}

+ {% endif %} + {% endfor %} + +
+
+
+ +
+
+ + + + +
+ + {% for item in categories %} - • + {% if term.name == item.name %} - {{ item.name }} + + + {% else %} - {{ item.name }} + + {{ item.name }} + {% endif %} {% endfor %} -

{{ term.name }} questions

- {%- for faq_page in term.pages | sort(attribute="extra.order") -%} -

{{ faq_page.title }}

- {%- endfor -%} +
+
+
+

{{ term.name }} questions

+
+ {%- for faq_page in term.pages | sort(attribute="extra.order") -%} +

{{ faq_page.title }}

+ {%- endfor -%} +
+ + +
+
{% endblock %} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..e69de29b