Skip to content

Commit

Permalink
#61 adds pagination to the style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesKhong committed Mar 9, 2024
1 parent 2d14a08 commit ee16234
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions views/organisms/styleguide-sections/molecules/pagination.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{#@TODO create example pagination we can pass to our pagination FE template#}
<div class="p-site xl:container py-block ts-bg-lt">
{% include ("molecules/pagination/pagination.twig") %}
</div>
7 changes: 7 additions & 0 deletions views/organisms/styleguide-sections/molecules/social-nav.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="p-site xl:container py-block ts-bg-dk">
{% include ("molecules/social-nav.twig") %}
</div>
<div class="p-site xl:container py-block ts-bg-lt">
{% include ("molecules/social-nav.twig") %}
</div>

4 changes: 3 additions & 1 deletion views/templates/pages/page-style-guide.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
styleguide-sections/atoms/#}
{% set molecules = [
"cards",
"section-title"
"section-title",
"social-nav",
"pagination"
] %}
{% for molecule in molecules %}
<li><a href="/style-guide#{{ molecule }}" class="{{ subnav_classes }}">
Expand Down

0 comments on commit ee16234

Please sign in to comment.