Commit f282a60
Tidy unused DesignableBanner code (#14141)
* capture animated header story
* move ThreeTierChoiceCards from epic to shared directory
* export under both names till can rename
* identify unused banner components as step towards removal
* identify unused banner component
* identify unused another banner component
* mark as unused, highlight potential keeper sections
* also notice this is not used anywhere - marked as unused
* flag more unused
* move interface to more uesful place before deleting otherwise unused file
* delete unused code
* move headline css override into component and use source typography equivalent
* embed separate margins into existing, remove style lint issues
* fix mobile headline size
* rename DesignableBannerCtasV2 to DesignableBannerCtas and fix import
* delete files for PaymentCards and useReminders as unused
* remove cssoverride for close button as unused
* remove extra headline bottom border to fix chromatic changes
* reduce top margin on headline if image exists to fix chromatic error
* reduce top margin on headline if image exists to fix chromatic error one more time
* rename DesignableBannerV2 to DesignableBanner across the board, duplicate import in ReaderRevenueBanner till fixed in SDC
---------
Co-authored-by: sookburt <“[email protected]”>1 parent 39b4feb commit f282a60
File tree
21 files changed
+565
-2956
lines changed- dotcom-rendering/src/components
- StickyBottomBanner
- marketing
- banners
- common
- designableBanner
- components
- choiceCards
- stories
- epics/ctas
- hooks
- lib
21 files changed
+565
-2956
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
Lines changed: 0 additions & 148 deletions
This file was deleted.
Lines changed: 0 additions & 211 deletions
This file was deleted.
0 commit comments