lookit / lookit-api

Codebase for Lookit v2 and Experimenter v2. Includes an API. Docs: http://lookit.readthedocs.io/
https://lookit.mit.edu/
MIT License
10 stars 18 forks source link

Frontpage changes for CHS-Lookit merger #1184

Closed mekline closed 1 year ago

mekline commented 1 year ago

Note: there's an implementation example at here but treat this issue as ground truth!

A few changes to the front page to come into effect with the new domain name!

Ideally colored the "CHS yellow" - eye-catching without introducing an additional color to our already colorful front image Text: "ChildrenHelpingScience and Lookit have merged - click here to make an account or explore studies below!"

New, largest font, below the CHS cartoon: "Children Helping Science" Immediate below, medium font: "Powered by Lookit" Below after a space, same size: "Fun for Families, Serious for Science"

(So the top of the page is just : "CHS Logo, Children helping science, subtitles, participate button, with the latter visible without scrolling on a phone!)

Row 1: MIT, UT Dallas, Harvard Row 2: Minerva, Stanford, Yale

(See current CHS for how this looks + hopefully all needed IMG files)

Mobile: ideally these should stack to a vertical list on narrow views

The creation of age-group-filtered pages/links is in a separate issue: #1199

(Mobile: ideally these should stack to a vertical list on narrow views)

becky-gilbert commented 1 year ago

@mekline Here's some demos of the changes to the homepage.

Here's how the top of the page responds to re-sizing: https://user-images.githubusercontent.com/9041788/235256415-04967eb8-7a40-4b8c-bed5-584b2eaf8de7.mov

Here's how the bottom responds to re-sizing: https://user-images.githubusercontent.com/9041788/235256436-3b494212-2493-412f-99d2-390f8db7a699.mov

Here's the whole page on mobile: https://user-images.githubusercontent.com/9041788/235255653-36e92bf0-9d80-48c8-af55-02eb0c6d324c.mov

becky-gilbert commented 1 year ago

Screenshots of the home page on various screen widths: chs_home_xxl chs_home_xl chs_home_lg chs_home_md chs_home_sm

becky-gilbert commented 1 year ago

@mekline a few questions:

  1. For the banner text, it seems weird to me to have the 'click here to make an account' text for users who are already signed in. Can we have some alternative text for logged in users? Something like this?

chs_banner_logged_in

  1. Bootstrap provides a default yellow color for alerts that is based on our theme CHS yellow, but shifted to be lighter for the background and darker for the text. I thought you wanted the banner background to exactly match the yellow in the CHS logo, so I edited the banner background color to match the logo and switched to black text. What do you think? Below are screenshots of the default shifted color scheme, for comparison. chs_banner_default default_yellow

  2. Right now, the banner will appear every time someone visits the home page. Is that ok? I think I could set it up so that the banner doesn't appear again after it's been dismissed/closed, but I would have to switch to a different method (Django's message system rather than bootstrap's alerts). Also, I think this solution would still only work within the same browsing session, so the banner would appear again each time the person visits the website in a new session (since I believe we store no/minimal persistent cookies).

mekline commented 1 year ago
  1. Great catch, yes let's have different text for a logged in user
  2. I forgot the alert color was shifted to our CHS color palette, let's do it that way! (As in your screenshot for 2)
  3. Doesn't bother me to have it appear multiple times, so feel free to not rewrite this!
mekline commented 1 year ago

Additional front page changes:

Now that we have multiple sections (plus Project Garden, see below) and more text, the bolding on "Join researchers from these schools and many more" looks oddly big to me. Instead, can we introduce a visual break of some kind after the 3rd blurb ("with fun activities") - just a spacing is fine - and then have this in regular text. So this would look like:

(...)

From home

blurb blurb blurb

With fun activities

blurb blurb blurb

(space)

Join researchers from these schools, and many more!

(logos)

mekline commented 1 year ago

Please add the project Garden Logo, with a "blurb" that explains what it is. (Logo is on Canva - there are both long & square versions, please use either one or both, whatever makes most sense for scaling).

So all together, let's make it so we have a clear alternation of text explanation & photos, so the whole site goes like this:

(...)

From home

blurb blurb blurb

With fun activities

blurb blurb blurb

(space)

Join researchers from these schools, and many more!

(school logos)

Interested in participating in a project with many studies? Learn more about Project GARDEN. In this series of studies, your child will help an animated fox named Fen find the “GARDEN Library” while playing games to help Children Helping Science understand children’s development from many different angles!

(project garden logo)

See our current studies for different age groups:

(babies photo)

studies for babies (under 1)

(...etc)

mekline commented 1 year ago

@becky-gilbert Done with frontpage edit/updates!

becky-gilbert commented 1 year ago

@mekline I could use your input on the home page GARDEN section and text/logo placement.

Option 1: Text above the logo

I think this is the way you requested it - text first, followed by logo below.

Screenshot 2023-05-04 at 11 02 39 AM

One thing I noticed is that the logo will be pretty huge if we want it to take up the same width as the rest of the content, so I also tried reducing the width of this section on larger screens.

Screenshot 2023-05-04 at 11 02 57 AM

Here's how it looks on mobile: Screenshot 2023-05-04 at 10 53 35 AM

Option 2: Logo floats next to text (except on mobile)

I also tried floating the logo next to the text on larger screens. Here are examples using different sizes for the logo.

Screenshot 2023-05-04 at 11 08 15 AM Screenshot 2023-05-04 at 11 13 36 AM

Here's how it looks on mobile (logo could go either above or below text): Screenshot 2023-05-04 at 11 08 40 AM

Can you let me know which of these you prefer, and if you have any other feedback/requests for this section? Thanks!

becky-gilbert commented 1 year ago

@mekline could you have a look at my comment above and let me know your thoughts on the logo/text placement for the new GARDEN section? After that I'll update the PR for these changes (#1200) and it'll be ready for review 🎉

mekline commented 1 year ago

Oh shoot, I had given a comment on this but the internet ate it! Option 2 is great! (With the text moving below on small widths)