From 1b6e301fded87bf409af38d4793201ee44d03a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 9 Aug 2024 10:54:22 +0200 Subject: [PATCH] clean common-content --- .../templates/jinja2/widgets/generic.html | 202 ------------------ .../jinja2/widgets/page_content_blocks.html | 129 ----------- 2 files changed, 331 deletions(-) delete mode 100644 common-content/templates/jinja2/widgets/generic.html delete mode 100644 common-content/templates/jinja2/widgets/page_content_blocks.html diff --git a/common-content/templates/jinja2/widgets/generic.html b/common-content/templates/jinja2/widgets/generic.html deleted file mode 100644 index 05d6b5a..0000000 --- a/common-content/templates/jinja2/widgets/generic.html +++ /dev/null @@ -1,202 +0,0 @@ -{% macro navbar( - CTA_LABEL="", - CTA_TARGET="", - CTA_URL="", - CHANGE_LANG_URL="", - CHANGE_LANG_FLAG_URL="", - CHANGE_LANG_ALT="" -) -%} - - - - -{% endmacro %} - - - - -{% macro page_header( - PRIMARY_TITLE="", - SECONDARY_TITLE="", - THIRD_TITLE="" -) -%} - - -
-
-
-
-
- -

- {{ PRIMARY_TITLE|safe }} -

- {% if SECONDARY_TITLE %} -

{{ SECONDARY_TITLE|safe }}

- {% endif %} - {% if THIRD_TITLE %} - - {% endif %} -
-
-
-
-
- -{% endmacro %} - - - - -{% macro page_section_main_cta( - HTMLID = "", - TITLE = "", - SUBTITLE = "", - SECONDARY_TITLE = "" -) -%} - - -
-
-
-
-

- {{ TITLE|safe }} -

- {{ SUBTITLE|safe }} -
-
-
-
-

- {{ SECONDARY_TITLE|safe }} -

-
-
-
-
- -{% endmacro %} - - - - -{% macro page_section_reference_logos( - REFERENCES = [] - ) -%} - - -
-
-
-
-

Plus de 200 clients nous font déjà confiance, pourquoi pas vous ?

-
-
- -
-
- {% for reference in REFERENCES %} - ils utilisent le service email galae: {{ reference.name }} - {% endfor %} -
-
-
-
- -{% endmacro %} - - - - -{% macro testimonials_quotes( - PERSONS = [] -) -%} - - -
-
-

Ce qu'en disent nos clients ...

-
- {% for reference in PERSONS %} -
-
- -
{{reference.name}}
-
{{reference.job}}
-

- « {{reference.testimonial|safe}} » -

-
-
- {% endfor %} -
-
-
- -{% endmacro %} - - - - -{% macro testimonials( - PERSONS = [] - ) -%} - - -
-
- -
- {% for reference in PERSONS %} -
-
-
- -
{{ reference.name }}
-
{{ reference.job }}
- {% for text in reference.testimonial %} -

- {{ text|safe }} -

- {% endfor %} -
-
-
- {% endfor %} -
- - - -
-
- -{% endmacro %} \ No newline at end of file diff --git a/common-content/templates/jinja2/widgets/page_content_blocks.html b/common-content/templates/jinja2/widgets/page_content_blocks.html deleted file mode 100644 index 4bfc2ff..0000000 --- a/common-content/templates/jinja2/widgets/page_content_blocks.html +++ /dev/null @@ -1,129 +0,0 @@ -{% macro page_block_h2_with_content_and_primary_secondary_cta( - HTMLID="", - TITLE="", - CONTENT="", - MAIN_IMG_URL="", - MAIN_IMG_ALT="", - SECONDARY_CTA_URL="", - SECONDARY_CTA_TARGET="", - SECONDARY_CTA_LABEL="", - PRIMARY_CTA_URL="", - PRIMARY_CTA_TARGET="", - PRIMARY_CTA_LABEL="", - PRIMARY_CTA_ICON="" - ) -%} - -
-
-

{{ TITLE|safe }}

-
- -
-
-
- -{% endmacro %} - - - - -{% macro page_block_h2_with_content_dark_background_no_cta( - HTMLID = "", - TITLE = "", - CONTENT = "" -) -%} - -
-
-

{{ TITLE|safe }}

-
-
- {{ CONTENT|safe }} -
-
-
-
- -{% endmacro %} - - - - -{% macro page_block_h2_with_ul_content_and_image_left( - IMAGE_URL = '', - TITLE = '', - CONTENT_ITEMS = [], - CTA_URL = '', - CTA_LABEL = '' -) -%} - -
-
-
-
-
-
-

{{ TITLE|safe }}

-

-

    {% for ITEM in CONTENT_ITEMS %} -
  • {{ ITEM | safe }}
  • {% endfor %}
-

-

{{ CTA_LABEL }}

-
-
- -{% endmacro %} - - - - -{% macro page_block_h2_with_ul_content_and_image_right( - IMAGE_URL = '', - TITLE = '', - CONTENT_ITEMS = [], - CTA_URL = '', - CTA_LABEL = '' -) -%} - -
-
-
-
-
-
-

{{ TITLE|safe }}

-

-

    {% for ITEM in CONTENT_ITEMS %} -
  • {{ ITEM | safe }}
  • {% endfor %}
-

-

{{ CTA_LABEL }}

-
-
- -{% endmacro %} \ No newline at end of file