diff --git a/cfgov/tccp/jinja2/tccp/about.html b/cfgov/tccp/jinja2/tccp/about.html index 08ae618a0b0..1422fc7e547 100644 --- a/cfgov/tccp/jinja2/tccp/about.html +++ b/cfgov/tccp/jinja2/tccp/about.html @@ -4,6 +4,18 @@ About this tool | Consumer Financial Protection Bureau {%- endblock %} +{% block desc -%} + Details on how our tool to explore credit cards works. +{%- endblock desc %} + +{% block og_desc -%} + {{ self.desc() }} +{%- endblock og_desc %} + +{% block og_image %} + {%- include "tccp/includes/og_image.html" -%} +{% endblock %} + {% block content_main %}
Explore credit cards
diff --git a/cfgov/tccp/jinja2/tccp/card.html b/cfgov/tccp/jinja2/tccp/card.html index 8eef2e25bb6..4f8204bdf88 100644 --- a/cfgov/tccp/jinja2/tccp/card.html +++ b/cfgov/tccp/jinja2/tccp/card.html @@ -12,6 +12,18 @@ | Consumer Financial Protection Bureau {%- endblock title %} +{% block desc -%} + Full interest rate and fee information for {{ card.product_name }} from {{ card.institution_name }} +{%- endblock desc %} + +{% block og_desc -%} + {{ self.desc() }} +{%- endblock og_desc %} + +{% block og_image %} + {%- include "tccp/includes/og_image.html" -%} +{% endblock %} + {% block javascript scoped %} {{ super() }} diff --git a/cfgov/tccp/jinja2/tccp/cards.html b/cfgov/tccp/jinja2/tccp/cards.html index 71e60d1c79b..10612742e6d 100644 --- a/cfgov/tccp/jinja2/tccp/cards.html +++ b/cfgov/tccp/jinja2/tccp/cards.html @@ -7,6 +7,18 @@ {{ title }} | {{ super() }} {%- endblock title %} +{% block desc -%} + Search our large database of credit cards to find ones that are best for you. +{%- endblock desc %} + +{% block og_desc -%} + {{ self.desc() }} +{%- endblock og_desc %} + +{% block og_image %} + {%- include "tccp/includes/og_image.html" -%} +{% endblock %} + {% block javascript scoped %} {{ super() }} diff --git a/cfgov/tccp/jinja2/tccp/includes/og_image.html b/cfgov/tccp/jinja2/tccp/includes/og_image.html new file mode 100644 index 00000000000..48daf704d35 --- /dev/null +++ b/cfgov/tccp/jinja2/tccp/includes/og_image.html @@ -0,0 +1,7 @@ +{%- set og_image_url=request.build_absolute_uri( + static('apps/tccp/img/explore-credit-cards-sharing.png') +) -%} + + + + diff --git a/cfgov/tccp/jinja2/tccp/landing_page.html b/cfgov/tccp/jinja2/tccp/landing_page.html index 3c61c2bfef6..41b217c643e 100644 --- a/cfgov/tccp/jinja2/tccp/landing_page.html +++ b/cfgov/tccp/jinja2/tccp/landing_page.html @@ -6,6 +6,18 @@ {{ title }} | Consumer Financial Protection Bureau {%- endblock title %} +{% block desc -%} + Search our large database of credit cards to find ones that are best for you. +{%- endblock desc %} + +{% block og_desc -%} + {{ self.desc() }} +{%- endblock og_desc %} + +{% block og_image %} + {%- include "tccp/includes/og_image.html" -%} +{% endblock %} + {% block javascript scoped %} {{ super() }} diff --git a/cfgov/unprocessed/apps/tccp/img/explore-credit-cards-sharing.png b/cfgov/unprocessed/apps/tccp/img/explore-credit-cards-sharing.png new file mode 100644 index 00000000000..118fbb7726c Binary files /dev/null and b/cfgov/unprocessed/apps/tccp/img/explore-credit-cards-sharing.png differ