Skip to content

Commit

Permalink
Namespace rich vertical list with vf_
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuzina committed Sep 9, 2024
1 parent 13f8583 commit 206fd9e
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# logo_section Logo section block
# list_item_[1-15]: List item content, assumed to be li.p-list__item
# image (required)
{% macro rich_vertical_list(
{% macro vf_rich_vertical_list(
title_text,
list_item_tick_style="",
flipped=false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Bulleted / Flipped{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="bullet",
flipped=true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Bulleted / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="bullet"
) -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Bulleted / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.'
) -%}
{%- if slot == 'description' -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
flipped=true
) -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Minimal{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.'
) -%}
{%- if slot == 'description' -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Numbered / Flipped{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="number",
flipped=true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Numbered / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="number"
) -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Ticked / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="tick",
flipped=true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "_layouts/examples.html" %}
{% from "_macros/rich-vertical-list.jinja" import rich_vertical_list %}
{% from "_macros/vf_rich-vertical-list.jinja" import vf_rich_vertical_list %}

{% block title %}Rich list / Vertical / Ticked / Default{% endblock %}
{% block standalone_css %}patterns_all{% endblock %}
{% block content %}
{% call(slot) rich_vertical_list(
{% call(slot) vf_rich_vertical_list(
title_text='H2 - this can take up to two lines, but best to stick to one line.',
list_item_tick_style="tick"
) -%}
Expand Down

0 comments on commit 206fd9e

Please sign in to comment.