Skip to content

Commit

Permalink
feat(components): create app store badge component(#3422) (#3731)
Browse files Browse the repository at this point in the history
Co-authored-by: Travaglini Alessio <[email protected]>
Co-authored-by: Zherdetska Alona, IT21.1 <[email protected]>
Co-authored-by: Alizé Debray <[email protected]>
  • Loading branch information
4 people authored Oct 28, 2024
1 parent 989c91e commit 2600d25
Show file tree
Hide file tree
Showing 11 changed files with 302 additions and 15 deletions.
7 changes: 7 additions & 0 deletions .changeset/silver-coins-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
'@swisspost/design-system-tokens': minor
---

Added a new App Store Badge component for promoting apps, supporting both Google Play and Apple App Store badges.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
describe('AppStoreBadge', () => {
it('default', () => {
cy.visit('/iframe.html?id=snapshots--app-store-badge');
cy.get('.app-store-badge', { timeout: 30000 }).should('be.visible');
cy.percySnapshot('App Store Badges', { widths: [400] });
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2600d25

Please sign in to comment.