Skip to content

Commit

Permalink
Merge pull request #423 from 18F/eoc/methods-design-review-1
Browse files Browse the repository at this point in the history
Methods design review quick fixes
  • Loading branch information
echappen authored Dec 28, 2023
2 parents e8d8622 + 362f89c commit 3108049
Show file tree
Hide file tree
Showing 87 changed files with 867 additions and 849 deletions.
4 changes: 2 additions & 2 deletions _includes/layouts/method-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: layouts/default
---

<section class="category category--{{method.category | downcase }} usa-section usa-prose">
<section class="category category--{{method.category | downcase }} usa-section usa-prose layout--card">
<header class="category--header" aria-labelledby="{{method_category.title | downcase }}">
<div class="grid-container">
<span class="category--title" id="{{method_category.title | downcase }}">{{ method.category | capitalize }}</span>
Expand All @@ -11,7 +11,7 @@
</header>
<div class="grid-container">
{%- include "methods/print-header.html" category: method.category -%}
{%- include "methods/method.html" this_method: method -%}
{%- include "methods/method.html" this_method: method, method_path: page.url -%}
{%- include "methods/return-to-top.html" -%}
</div>
</section>
2 changes: 1 addition & 1 deletion _includes/layouts/method-category.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="category--title">{{ category | capitalize }}</h1>
{%- include "methods/print-header.html" category: category -%}
{% for method_page in collections.methods %}
{% if method_page.data.method.category == category %}
{%- include "methods/method.html" this_method: method_page.data.method -%}
{%- include "methods/method.html" this_method: method_page.data.method, method_path: method_page.url, content: method_page.templateContent -%}
{% endif %}
{% endfor %}
{%- include "methods/return-to-top.html" -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/layouts/methods-print.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1 class="category--title">{{ category.name | capitalize }}</h1>
<div class="grid-container">
{% for method_page in collections.methods %}
{% if method_page.data.method.category == category_slug %}
{%- include "methods/method.html" this_method: method_page.data.method -%}
{%- include "methods/method.html" this_method: method_page.data.method, method_path: method_page.url, content: method_page.templateContent -%}
{% endif %}
{% endfor %}
{%- include "methods/return-to-top.html" -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
This template is for a single page that does not have a date associated with it. For example, an about page.
{% endcomment %}

<div id="main-content" class="usa-layout-docs usa-section flex-1 tablet:padding-bottom-10">
<div id="main-content" class="usa-layout-docs usa-section flex-1 tablet:padding-bottom-10 {{ layout_class }}">
<div class="grid-container">
<div class="grid-row grid-gap">
{%- if sidenav == true -%}
Expand Down
29 changes: 0 additions & 29 deletions _includes/methods/markdown/card-sorting.md

This file was deleted.

19 changes: 0 additions & 19 deletions _includes/methods/markdown/cognitive-walkthrough.md

This file was deleted.

22 changes: 0 additions & 22 deletions _includes/methods/markdown/comparative-analysis.md

This file was deleted.

24 changes: 0 additions & 24 deletions _includes/methods/markdown/compensation.md

This file was deleted.

41 changes: 0 additions & 41 deletions _includes/methods/markdown/content-audit.md

This file was deleted.

34 changes: 0 additions & 34 deletions _includes/methods/markdown/contextual-inquiry.md

This file was deleted.

29 changes: 0 additions & 29 deletions _includes/methods/markdown/design-hypothesis.md

This file was deleted.

14 changes: 0 additions & 14 deletions _includes/methods/markdown/design-pattern-library.md

This file was deleted.

24 changes: 0 additions & 24 deletions _includes/methods/markdown/design-principles.md

This file was deleted.

24 changes: 0 additions & 24 deletions _includes/methods/markdown/design-studio.md

This file was deleted.

Loading

0 comments on commit 3108049

Please sign in to comment.