Skip to content

Commit

Permalink
Refine categories listing appearance and descriptions (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Dec 12, 2024
1 parent b545c0e commit fb5957b
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion _categories/development.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Development
layout: category
description: Common Dev things across AppDev and DevOps
description: Development topics common to AppDev and DevOps
icon: keyboard
---
1 change: 1 addition & 0 deletions _categories/partnerships.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Partnerships
layout: category
description: Business development, account management, outreach, and communications
icon: campaign
---
1 change: 1 addition & 0 deletions _categories/platform.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Platform
layout: category
description: Platform infrastructure and DevOps practices
icon: build
---
7 changes: 0 additions & 7 deletions _categories/private.md

This file was deleted.

2 changes: 1 addition & 1 deletion _categories/product.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Product
layout: category
description: Product and process
description: Product delivery and process
icon: science
---
1 change: 1 addition & 0 deletions _categories/reporting.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Reporting
layout: category
description: Data analytics and key metrics reporting
icon: insights
---
1 change: 1 addition & 0 deletions _categories/security.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Security
layout: category
description: Security, anti-fraud, and incident response
icon: security
---
15 changes: 15 additions & 0 deletions assets/scss/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@
}
}

.article-categories {
.usa-card {
@include u-margin-bottom(2);
}

.usa-card__heading {
display: flex;
align-items: center;

.usa-icon {
@include u-margin-right(1);
}
}
}

.deprecated-link {
color: gray;
}
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Internal documentation can be found in our [Internal Login.gov Handbook](https:/

<div class="margin-bottom-4"></div>

<ul class="usa-card-group">
<ul class="article-categories usa-card-group">
{% assign sorted_categories = site.categories | group_by: 'order' | sort: 'name' %}
{% for category_group in sorted_categories %}
{% assign sorted_category_items = category_group.items | sort: 'title' %}
Expand Down

0 comments on commit fb5957b

Please sign in to comment.