Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

GRW-1392 / feat / Add switching notice for download page #1134

Merged

Conversation

simonauner
Copy link
Contributor

@simonauner simonauner commented Sep 2, 2022

What?

  • Adds support for size prop in Notice component size font-sizes and paddings differ between Offer page and Download page. I'd prefer a lookup table if there were more than two sizes, now it felt like it just got too many variables to just hold two values in all the places where it's size === 'sm' ? ...
  • Add Switching notice on the Download page

Why?

Ticket(s): GRW-1392

size="sm":

image

size="md":

image

size="md" on a small screen:

image

Download page:

image

@robinandeer robinandeer temporarily deployed to web-onboardi-grw-1392-f-m62thd September 2, 2022 09:50 Inactive
@simonauner simonauner marked this pull request as ready for review September 2, 2022 09:55
@simonauner simonauner requested a review from a team as a code owner September 2, 2022 09:55
This is because the font sizes and paddings are larger on the Download page compared to the Offer page
@simonauner simonauner force-pushed the GRW-1392/feat/add-switching-notice-for-download-page branch from 3f576f3 to 0d1f6ba Compare September 2, 2022 09:56
@robinandeer robinandeer temporarily deployed to web-onboardi-grw-1392-f-m62thd September 2, 2022 09:56 Inactive
Copy link
Contributor

@robinandeer robinandeer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clownmask

Awesome!
Haha love that the french translations are still there 🤣

@simonauner simonauner merged commit 8ea74d1 into master Sep 2, 2022
@simonauner simonauner deleted the GRW-1392/feat/add-switching-notice-for-download-page branch September 2, 2022 11:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants