Skip to content

Implement breakpoints utility in <post-header> component #5357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alionazherdetska opened this issue Apr 28, 2025 · 0 comments · May be fixed by #5490
Open

Implement breakpoints utility in <post-header> component #5357

alionazherdetska opened this issue Apr 28, 2025 · 0 comments · May be fixed by #5490
Assignees
Labels
📦 components Related to the @swisspost/design-system-components package Header Everything related to our composible header components

Comments

@alionazherdetska
Copy link
Contributor

alionazherdetska commented Apr 28, 2025

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.tsx
Previous PR: #4652

@alionazherdetska alionazherdetska added the Header Everything related to our composible header components label Apr 28, 2025
@alionazherdetska alionazherdetska changed the title Implement breakpoints utility in post-header component Implement breakpoints utility in <post-header> component Apr 28, 2025
@alionazherdetska alionazherdetska added the 📦 components Related to the @swisspost/design-system-components package label Apr 28, 2025
@gfellerph gfellerph moved this from 👀 Triage to 🆗 Ready in Design System Production Board May 7, 2025
@alionazherdetska alionazherdetska self-assigned this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 components Related to the @swisspost/design-system-components package Header Everything related to our composible header components
Projects
Status: 🆗 Ready
Development

Successfully merging a pull request may close this issue.

1 participant