Skip to content
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

PNI Consumer Creep-O-Meter Page Hero #11146

Merged
merged 18 commits into from
Sep 25, 2023

Conversation

mmmavis
Copy link
Collaborator

@mmmavis mmmavis commented Sep 20, 2023

This is part of the PNI Annual Consumer Creep-O-Meter page work.


Note that the animated eyes effect will be added in another ticket.

I also noticed there's some weird alignment issue with the existing PNI nav. Since it's outside of the scope of the consumer creep-o-meter page, I didn't fix it in this PR.

@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 20, 2023 23:27 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 19:56 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 20:00 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 20:20 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 22:57 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:05 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:12 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:14 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:15 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:16 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:20 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 21, 2023 23:21 Inactive
@mmmavis mmmavis marked this pull request as ready for review September 22, 2023 16:41
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 17:33 Inactive
@mmmavis
Copy link
Collaborator Author

mmmavis commented Sep 22, 2023

Hi @tessheinricks , thanks for reviewing. I've made the styling tweaks and the page is ready for review again!

@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 18:34 Inactive
Copy link

@tessheinricks tessheinricks left a comment

Choose a reason for hiding this comment

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

Thank you for those revisions Mavis!

I am wondering if there is any way that the asterisk placement on desktop can more closely reflect the figma file (with the illustration bleeding past where the screen ends on the right), which will give a bit more space to the headline?

Please let me know if you have any questions, or if this would present challenges timeline or development wise. Thanks again!

@mmmavis
Copy link
Collaborator Author

mmmavis commented Sep 22, 2023

Hi @tessheinricks

I am wondering if there is any way that the asterisk placement on desktop can more closely reflect the figma file (with the illustration bleeding past where the screen ends on the right), which will give a bit more space to the headline?

Currently, it's bleeding outside of the "content container":

image

If we want to place the illustration further to the right so it bleeds past the viewport I can def do it. However, this means there will be huge gap on larger screen sizes. e.g.,

image

Let me know which you prefer and I'll adjust the code accordingly. Thanks!

@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 19:38 Inactive
@tessheinricks
Copy link

@mmmavis okay amazing thank you for clarifying! I think leaving it how it is now (bleeding outside of the Content Container) is a better solution than the gap!

If possible, it might be helpful to extend the horizontal spacing gap between the headline and the asterisk to 40 but again, if there is not enough time, no worries!

@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 20:04 Inactive
@mmmavis
Copy link
Collaborator Author

mmmavis commented Sep 22, 2023

If possible, it might be helpful to extend the horizontal spacing gap between the headline and the asterisk to 40 but again, if there is not enough time, no worries!

Hi @tessheinricks , we'll have to address this at a later stage. I just tested it out with 40px gap but the illustration would become too cut off to be recognized (in my opinion). We'll probably need to adjust both the gap size and illustration dimension so the text and image are spaced out nicely.

cutoff-asterisk.mov

@tessheinricks
Copy link

@mmmavis Agreed! Thank you for taking the time to test! We can keep it at the 16px [D_Horizontal-Gap_Primary] variable value for now. 👍

@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 20:16 Inactive
@mmmavis mmmavis temporarily deployed to foundation-s-11094-pni--mn2xnf September 22, 2023 20:17 Inactive
Copy link

@tessheinricks tessheinricks left a comment

Choose a reason for hiding this comment

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

Development looks great!

Design team is keeping additional refinement notes in a separate word doc for final adjustments.

@@ -1,30 +1,64 @@
# Generated by Django 3.2.21 on 2023-09-22 17:40
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

linting fixes

Copy link
Collaborator

@danielfmiranda danielfmiranda left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you Mavis 🙌 approved!

@mmmavis mmmavis merged commit 644517e into feature-pni-privacy-index-2023 Sep 25, 2023
@mmmavis mmmavis deleted the 11094-pni-hero branch September 25, 2023 18:39
mtdenton pushed a commit that referenced this pull request Oct 12, 2023
* Created a new page type for PNI Privacy Index page (#11107)

* Create a new page type for PNI annual consumer creep-o-meter

* fix migration conflict

* PNI Consumer Creep-O-Meter Page Hero (#11146)

* got general section structure in
* implemented hero section

* PNI CC Page - Sub Nav + 3 middle sections (#11156)

* implemented the "sub nav", "big picture trends", "best & worst products" and "by the numbers" sections

* PNI CC Page - Quiz section (part 1)  (#11211)

* Quiz Section Part 1 work. Includes the product selection screen and the result screen only.

* PNI CC Page - Outro section + Newsletter box at the bottom of Quiz section (#11219)

* Modified the existing PNI newsletter box setup so it can be used for difference scenarios & built Outro section & added newsletter box to Quiz section

* fix migration conflicts

* linting

* updated all face existing SVGs

* PNI CC Page - remaining work for Quiz Part 2 (#11224)

* Added the newsletter signup prompt and thank you messages to quiz flow

* PNI CC Page - Animated Eyes (#11241)

* moved hero section to its own fragment file
* animated creepy eyes

* 11213 quiz share buttons (#11239)

* Share buttons on Quiz section

* PNI CC Page - MVP version of 'Stay in Control' section (#11245)

* Added MVP version of 'Stay in Control' section

* PNI CC Page - fixes and improvements (#11242)

* fixes and improvements

* [PNI CC Page] More fixes (#11248)

* optimized face-5.svg

* hero creepy face position adjectment

---------

Co-authored-by: Daniel Miranda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants