Repository: mdn/kuma

Issue:
Bugzilla #1587029 Update the DevEdition banner on the landing page
**Summary**
_What should be changed? (Please provide a URL if applicable)_
https://bugzilla.mozilla.org/show_bug.cgi?id=1587029

**Rationale**
_What problems would this solve?_
Improve CTA.

**Audience**
_Who would use this changed feature?_


**Proposal**
_What would users see and do? What would happen as a result?_

    "Build/Design in the browser" is something we can probably word to be easier to understand based on recent user research
    The Learn More CTA can be improved as well

It would be great to do some AB testing here to tweak the messages, but I don't know how well we are set up for this.

Users better understand the banner and engage more.

**Additional context**
_Is there anything else we should know?_



Discussion:
Happy to help brainstorm new design/copy for an improved banner. cc: @digitarald
@atopal do you want us to provide A/B testing on this? @gregoor has suggested possibly using Google Optimize to track audience groups. 
No, we'll do time based testing.
If we have a/b testing in place, it makes sense to test messaging (especially for other locales).
Unfortunately we don't have that already.
Hi @violasong and @digitarald,

Are there required changes here beyond copy? If the intent is to also change the design elements, please let me know so we can sync-up on the format etc. Thanks!
The current CTR is about 1.1%. It will be quite the challenge to improve upon that, prominent banners across the site usually get about .3%, but let's see what we can do :)
From the survey data we've collected, MDN's homepage seems to get a lot of beginners, so it could be good to call out a learning-type feature. A great candidate for that would be Inactive CSS. I'd also like to make the copy a bit clear about being a link to DevEdition.

> **Firefox Developer Edition**
> The browser built for devs like you,
> with features like Inactive CSS
>
> <img width="300" alt="image" src="https://user-images.githubusercontent.com/55994/69108082-6fddd500-0a28-11ea-96ea-0e10cbff8e2c.png">

(We'd need to update the DevEdition website to say something about Inactive CSS)
> From the survey data we've collected, MDN's homepage seems to get a lot of beginners, so it could be good to call out a learning-type feature. A great candidate for that would be Inactive CSS. I'd also like to make the copy a bit clear about being a link to DevEdition.
> 
> > **Firefox Developer Edition**
> > The browser built for devs like you,
> > with features like Inactive CSS
> > <img alt="image" width="300" src="https://user-images.githubusercontent.com/55994/69108082-6fddd500-0a28-11ea-96ea-0e10cbff8e2c.png">
> 
> (We'd need to update the DevEdition website to say something about Inactive CSS)

That sounds like sane reasoning and a good version to test. We can also accommodate those design elements in our featured banner component. Let me know when you are ready to move forward on this.
That sounds good to me. @violasong is that the final design?
Great! I'm working on a design here and would love feedback:

https://www.figma.com/file/7IA9MGWn9R4ToIQw3eY4qH/MDN-banner-inactive-css?node-id=1%3A11

I had to cut down on the text, including the words "Inactive CSS," because it was competing with the screenshot which already has a lot of text in it.
> Great! I'm working on a design here and would love feedback:
> 
> https://www.figma.com/file/7IA9MGWn9R4ToIQw3eY4qH/MDN-banner-inactive-css?node-id=1%3A11
> 
> I had to cut down on the text, including the words "Inactive CSS," because it was competing with the screenshot which already has a lot of text in it.

Awesome! Thanks @violasong - I made a small suggestion on Figma, let me know your thoughts.
@violasong you went down that path somewhat with the new design: I would recommend focussing on the general value of our CSS tools and not sell with a specific feature name. The screenshot works intuitively, so this is all about copy.
Cool! I changed the example from being about flex:1 to being about width/display:inline, which seemed like a more common/recognizable problem.

And Schalk, I added the checkboxes (it's still a somewhat simplified version of the UI). 

https://www.figma.com/file/7IA9MGWn9R4ToIQw3eY4qH/MDN-banner-inactive-css?node-id=1%3A11
@digitarald and @violasong do we have sign-off on the design in https://github.com/mdn/kuma/issues/6059#issuecomment-556936574
Just talked to Harald - yep, we've signed off on it!

Here are the 2x assets for the banner and app icon, which should be displayed at 313px wide and 64px wide respectively.
[assets.zip](https://github.com/mdn/kuma/files/3877501/assets.zip)

Do you have an estimate for when this may go live? I'm going to work on adding an Inactive CSS section to the DevEdition website that can hopefully launch around the same time (doesn't have to be exact).
> Just talked to Harald - yep, we've signed off on it!
> 
> Here are the 2x assets for the banner and app icon, which should be displayed at 313px wide and 64px wide respectively.
> [assets.zip](https://github.com/mdn/kuma/files/3877501/assets.zip)
> 
> Do you have an estimate for when this may go live? I'm going to work on adding an Inactive CSS section to the DevEdition website that can hopefully launch around the same time (doesn't have to be exact).

Thanks, @violasong. I would estimate this could go live on Monday, but let's make the official day Tuesday to be sure.
This should also change the utm_campaign (now `css_grid_learn_more_2`), maybe `deved_inactive_css`?
Great, thank you Schalk! ([DE website bug](https://github.com/mozilla/bedrock/issues/8211) filed)

Resolving patch:
diff --git a/kuma/settings/common.py b/kuma/settings/common.py
--- a/kuma/settings/common.py
+++ b/kuma/settings/common.py
@@ -717,6 +717,36 @@ def pipeline_one_scss(slug, **kwargs):
         ),
         'output_filename': 'build/styles/home.css',
     },
+    'home_base': {
+        'source_filenames': (
+            'styles/minimalist/home.scss',
+        ),
+        'output_filename': 'build/styles/home_base.css',
+    },
+    'callout': {
+        'source_filenames': (
+            'styles/minimalist/components/callout.scss',
+        ),
+        'output_filename': 'build/styles/callout.css',
+    },
+    'home_newsletter': {
+        'source_filenames': (
+            'styles/minimalist/components/home-newsletter.scss',
+        ),
+        'output_filename': 'build/styles/home_newsletter.css',
+    },
+    'mozilla_foundation': {
+        'source_filenames': (
+            'styles/minimalist/components/featured-banners/mozilla-foundation.scss',
+        ),
+        'output_filename': 'build/styles/mozilla_foundation.css',
+    },
+    'home_featured': {
+        'source_filenames': (
+            'styles/minimalist/components/featured-banners/featured.scss',
+        ),
+        'output_filename': 'build/styles/home_featured.css',
+    },
     'print': {
         'source_filenames': (
             'styles/minimalist/print.scss',


Test patch: