-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #709 from centrica-engineering/feature/ns-card-pill
Feature/ns card pill
- Loading branch information
Showing
3 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
11 changes: 5 additions & 6 deletions
11
src/assets/components/ns-card/standard-pill-over-image.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<ns-card pill-over-image image="/placeholder-16x9-640x360px.webp"> | ||
<h3 slot="heading"> | ||
<ns-pill colour="red">Special Offer</ns-pill> | ||
Hot chicken colouring book | ||
</h3> | ||
<p slot="paragraph">Taiyaki vinyl, wayfarers mukbang fam cold-pressed.</p> | ||
<h3 slot="heading">Hot chicken colouring book</h3> | ||
<div slot="paragraph"> | ||
<ns-pill colour="yellow">Ascot bruh</ns-pill> | ||
<p>Taiyaki vinyl, wayfarers mukbang fam cold-pressed.</p> | ||
</div> | ||
<ns-cta slot="cta" href="#!">Kogi butcher</ns-cta> | ||
</ns-card> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<ns-card> | ||
<h3 slot="heading"> | ||
<ns-pill colour="red">Special Offer</ns-pill> | ||
Hot chicken colouring book | ||
</h3> | ||
<p slot="paragraph">Taiyaki vinyl, wayfarers mukbang fam cold-pressed.</p> | ||
<h3 slot="heading">Hot chicken colouring book</h3> | ||
<div slot="paragraph"> | ||
<ns-pill colour="yellow">Ascot bruh</ns-pill> | ||
<p>Taiyaki vinyl, wayfarers mukbang fam cold-pressed.</p> | ||
</div> | ||
<ns-cta slot="cta" href="#!">Kogi butcher</ns-cta> | ||
</ns-card> | ||
</ns-card> |