Skip to content

Commit

Permalink
Fixes the header and cleans up the Card component examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
humancompanion-usds committed Dec 6, 2024
1 parent 5d07e65 commit 6fa113a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
25 changes: 5 additions & 20 deletions src/_components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,17 @@ anchors:

## Examples

### Default - Gray

<div class="site-showcase">
{% include_relative html/card.html %}
</div>

### Default - White with border
### Default

{% include storybook-preview.html story="components-va-card--default" link_text="va-card default" %}

### With Drop Shadow

{% include storybook-preview.html story="components-va-card--with-drop-shadow" link_text="va-card default" %}
### With Background

### Benefit payments
{% include storybook-preview.html story="components-va-card--with-background" link_text="va-card with background" %}

<div class="site-showcase">
{% include_relative html/card-benefit-payments.html %}
</div>

### Application status (Benefit application drafts)

<div class="site-showcase">
{% include_relative html/card-benefit-application-drafts.html %}
</div>
### With Drop Shadow

{% include storybook-preview.html story="components-va-card--with-drop-shadow" link_text="va-card with drop shadow" %}

## Usage

Expand Down
4 changes: 3 additions & 1 deletion src/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
<div class="site-header__masthead">
<div class="site-header__logo" id="extended-logo">
<em class="site-header__logo-text">
<a class="site-header__logo-link" title="VA.gov Design System homepage" href="{{ site.baseurl }}/"><strong class="vads-u-display--block small-screen:vads-u-display--inline">VA.gov</strong> <span class="vads-u-display--none small-screen:vads-u-display--inline">|</span> Design System</a>
<a class="site-header__logo-link" title="VA.gov Design System homepage" href="{{ site.baseurl }}/">
<strong class="vads-u-display--block mobile-lg:vads-u-display--inline">VA.gov</strong>
<span class="vads-u-display--none mobile-lg:vads-u-display--inline">|</span> Design System</a>
</em>
</div>
<div class="site-header__utility-links">
Expand Down

0 comments on commit 6fa113a

Please sign in to comment.