-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
aa2f6a0
commit 5758838
Showing
7 changed files
with
152 additions
and
0 deletions.
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", | ||
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. | ||
</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