Implement breakpoints utility
in <post-header>
component
#5357
Labels
📦 components
Related to the @swisspost/design-system-components package
Header
Everything related to our composible header components
Milestone
Description
Refactor the
post-header
component to use the existing breakpoints utility to reduce code, improve page performance and maintain the detection mechanism from a single source of truth.This was previously implemented in PR #4652 but was put on hold and now has merge conflicts. Due to the time elapsed and conflicts, it's easier to create a new ticket and implement from scratch.
References:
Breakpoints utility: packages/components/src/utils/breakpoints.ts
Example implementation in
post-footer
: packages/components/src/components/post-footer/post-footer.tsxPrevious PR: #4652
The text was updated successfully, but these errors were encountered: