Skip to content

[html/css] Target Group #5317

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
4 of 5 tasks
gfellerph opened this issue Apr 16, 2025 · 0 comments Β· May be fixed by #5424
Open
4 of 5 tasks

[html/css] Target Group #5317

gfellerph opened this issue Apr 16, 2025 · 0 comments Β· May be fixed by #5424
Assignees
Labels
πŸ“¦ components Related to the @swisspost/design-system-components package πŸ“¦ styles Related to the @swisspost/design-system-styles package

Comments

@gfellerph
Copy link
Member

gfellerph commented Apr 16, 2025

πŸ“ Description

Create the first iteration of the target group, which is just three links with special styles.

β™Ώ Accessibility

Semantically, this is a list of links.

βš™οΈ Requirements

This component is located differently on desktop and mobile. On desktop it's next to the logo, on mobile it's in the mobile navigation. See https://www.figma.com/design/JIT5AdGYqv6bDRpfBPV8XR/Foundations---Components-Next-Level?node-id=6505-34202&m=dev

πŸ§ͺ Testing

πŸ’» Proposed implementation

<ul class="target-group">
  <li>
    <a href="..." class="active">Private customers</a>
  </li>
</ul>

πŸ”— References

πŸ“ƒ Tasks

  • Add a responsive target group slot to the <post-header>
  • Implement styles according to design
  • Create storybook documentation
  • Add visual regression tests
  • Design review
@gfellerph gfellerph added the πŸ“¦ styles Related to the @swisspost/design-system-styles package label Apr 16, 2025
@gfellerph gfellerph added this to the Design System Next Level milestone Apr 16, 2025
@gfellerph gfellerph added the πŸ“¦ components Related to the @swisspost/design-system-components package label Apr 16, 2025
@gfellerph gfellerph moved this from πŸ‘€ Triage to πŸ†— Ready in Design System Production Board Apr 16, 2025
@leagrdv leagrdv self-assigned this Apr 29, 2025
@leagrdv leagrdv moved this from πŸ†— Ready to πŸ’» In Progress in Design System Production Board May 2, 2025
@leagrdv leagrdv linked a pull request May 5, 2025 that will close this issue
@leagrdv leagrdv moved this from πŸ’» In Progress to 🧐 In Review in Design System Production Board May 5, 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 πŸ“¦ styles Related to the @swisspost/design-system-styles package
Projects
Status: 🧐 In Review
Development

Successfully merging a pull request may close this issue.

2 participants