Skip to content

Commit

Permalink
Merge pull request #709 from centrica-engineering/feature/ns-card-pill
Browse files Browse the repository at this point in the history
Feature/ns card pill
  • Loading branch information
andij authored Aug 30, 2024
2 parents b06add3 + 31167b0 commit d009223
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
Binary file modified src/assets/components/ns-card/guidance.webp
Binary file not shown.
11 changes: 5 additions & 6 deletions src/assets/components/ns-card/standard-pill-over-image.html
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>

12 changes: 6 additions & 6 deletions src/assets/components/ns-card/standard-pill.html
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>

0 comments on commit d009223

Please sign in to comment.