-
Notifications
You must be signed in to change notification settings - Fork 926
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
WNP135 for North America (#15852) #15876
Open
maureenlholland
wants to merge
3
commits into
mozilla:main
Choose a base branch
from
maureenlholland:wnp-135
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx135-na.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{# | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
#} | ||
|
||
{% extends "firefox/whatsnew/base.html" %} | ||
|
||
{% block page_css %} | ||
{{ css_bundle('firefox_whatsnew_135_pdf') }} | ||
{% endblock %} | ||
|
||
{% block wnp_content %} | ||
<section class="wnp-content-main mzp-l-content mzp-t-content-md"> | ||
<h1 class="wnp-main-title"> | ||
{{ picture( | ||
url="img/firefox/whatsnew/whatsnew135-pdf/edit-pdfs-light.svg", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. new image paths |
||
sources=[ | ||
{ | ||
"media": "(prefers-color-scheme: light)", | ||
"srcset": { | ||
"img/firefox/whatsnew/whatsnew135-pdf/edit-pdfs-light.svg": "default", | ||
} | ||
}, | ||
{ | ||
"media": "(prefers-color-scheme: dark)", | ||
"srcset": { | ||
"img/firefox/whatsnew/whatsnew135-pdf/edit-pdfs-dark.svg": "default", | ||
} | ||
} | ||
], | ||
optional_attributes={ | ||
"alt": "Edit PDFs in Firefox", | ||
"width": "435", | ||
"height": "222", | ||
} | ||
) }} | ||
</h1> | ||
|
||
<div class="wnp-editor"> | ||
<p class="wnp-main-tagline"> | ||
Say goodbye to the hassle of printing or filling out PDFs in other apps. Quickly and easily edit documents right in your browser. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated text |
||
</p> | ||
|
||
|
||
<p class="wnp-main-cta"> | ||
<a class="mzp-c-button mzp-t-product" href="https://assets.mozilla.net/wnp135-en/wnp-fx135-en.pdf" data-cta-type="button" data-cta-text="Try it now" target="_blank" rel="noopener"> | ||
Try it now | ||
</a> | ||
</p> | ||
</div> | ||
|
||
<p class="wnp-sign-off"> | ||
<strong>Powered by Mozilla.</strong> Putting people before profits since 1998. | ||
</p> | ||
</section> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
@import 'includes/base'; | ||
@import 'includes/dark-mode'; | ||
@import '~@mozilla-protocol/core/protocol/css/includes/lib'; | ||
@import '~@mozilla-protocol/core/protocol/css/components/notification-bar'; | ||
|
||
.wnp-content-main { | ||
text-align: center; | ||
} | ||
|
||
.wnp-main-title { | ||
margin: 0 auto $layout-md; | ||
color: $color-black; | ||
} | ||
|
||
.wnp-main-tagline { | ||
@include text-body-lg; | ||
color: $color-black; | ||
} | ||
|
||
// Dark mode support | ||
@media (prefers-color-scheme: dark) { | ||
.wnp-main-title, | ||
.wnp-main-tagline { | ||
color: $color-white; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
media/img/firefox/whatsnew/whatsnew135-pdf/edit-pdfs-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
media/img/firefox/whatsnew/whatsnew135-pdf/edit-pdfs-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new css paths (js removed)