bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

Remove light footer from Firefox pages

Open stephaniehobson opened this issue 1 year ago • 2 comments

A long time ago in a galaxy far far away we had a separate look and feel for the Firefox part of the website compared to the Mozilla parts. We're moving away from that kind of separation and in the name of simplifying code maintenance we should retire the light version of the footer that appears on the Firefox pages.

(no changes to the light footer on the whatsnew pages).

  • [ ] Replace all appearances of the light footer with the standard dark footer
  • [ ] Remove the light footer and associated code

stephaniehobson avatar Feb 24 '24 04:02 stephaniehobson

The /download/thanks page has a bottom section with a background that matches the light-theme footer, and there might be some other pages with the same. Do we also want to change its background color or shall we just keep it as it is?

Screenshot 2024-03-12 at 12 02 21 PM

reemhamz avatar Mar 12 '24 01:03 reemhamz

Question: why keep the light-theme for WNP if we're removing it for Firefox pages?

reemhamz avatar Mar 12 '24 01:03 reemhamz

@reemhamz I think we can leave the background colour as-is for any place where there is a strip at the bottom. We certainly can in the screenshot you shared.

I thought the WNP footer was different code but poking around at is now I see that it is not. I think we should retire it from there too but it's worth discussing with the WNP stakeholders.

So... we can either wait until we have an answer for what to do with the WNP to do any work or we can do the rest of the site first and address the WNP in a separate PR. Thoughts?

stephaniehobson avatar Mar 13 '24 23:03 stephaniehobson

Oh, LOL you already have a PR without the WNPs! 🏃‍♀️

stephaniehobson avatar Mar 13 '24 23:03 stephaniehobson

Luckily it's all the exact same code on every page, and just being imported :) the main difference in the Firefox/WNP is that there is a CSS class applied to them that gives them the light theme. In the PR I have open, all I did was remove the theme_class macro from a base template that gets imported, and instead made the lighter footer appear only on WNPs -- pretty simple stuff!

Also, it's almost just as easy to entirely remove the light theme from code, it's just removing some CSS, a macro, and a CSS conditional 👍🏼

reemhamz avatar Mar 13 '24 23:03 reemhamz

From Slack: We'll use the dark footer starting on WNP 125 and when 125 releases (April 16) we will change the older pages to have the black one as well, and can pull out the rest of the code then.

stephaniehobson avatar Mar 13 '24 23:03 stephaniehobson

Let's keep this issue open until we also remove the light footer from WNP come v125

reemhamz avatar Mar 14 '24 00:03 reemhamz

@reemhamz 👋 Just a kind reminder that WNP 125 is ready #14394 and to go live tomorrow, so this is no longer blocked to get changed completely now.

janbrasna avatar Apr 15 '24 20:04 janbrasna