Skip to content

Commit

Permalink
Merge pull request #4401 from RCMainak/bug_1306824
Browse files Browse the repository at this point in the history
Bug 1306824 - Consolidate /common Firefox assets in /template directory
  • Loading branch information
alexgibson committed Oct 10, 2016
2 parents a17248b + 4252326 commit dbf4c84
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/desktop/tips.html
Expand Up @@ -36,7 +36,7 @@
<div id="page-header">
<div class="container">
<div id="heading-logo-wrapper">
<img src="{{ static('img/firefox/common/firefox-logo.png') }}" alt="Firefox" id="page-header-logo">
<img src="{{ static('img/firefox/template/logo-large.png') }}" alt="Firefox" id="page-header-logo">
<div class="heading-group">
<h1>{{ _('The best of the latest Firefox') }}</h1>
<h2>{{ _('5 top tips, tricks and time-saving tools') }}</h2>
Expand Down
Expand Up @@ -46,7 +46,7 @@
<div id="tabzilla">
<a href="{{ url('mozorg.home') }}" data-link-type="nav" data-link-name="tabzilla">Mozilla</a>
</div>
<h2>{{ high_res_img('firefox/common/firefox-logo.png', {'alt': 'Firefox', 'width': '136', 'height': '142'}) }}</h2>
<h2>{{ high_res_img('firefox/template/logo-large.png', {'alt': 'Firefox', 'width': '136', 'height': '142'}) }}</h2>
</header>
<div class="main-content">
<h1>
Expand Down
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/testflight.html
Expand Up @@ -28,7 +28,7 @@
<section id="intro">
<div class="container">
{# No more new logos! #}
{{ high_res_img('firefox/common/firefox-logo.png', {'alt': 'Firefox for iOS', 'width': '136', 'height': '142', 'id': 'header-logo' }) }}
{{ high_res_img('firefox/template/logo-large.png', {'alt': 'Firefox for iOS', 'width': '136', 'height': '142', 'id': 'header-logo' }) }}

<header id="intro-header">
{# L10n: line break below for visual formatting only #}
Expand Down
2 changes: 1 addition & 1 deletion media/css/firefox/desktop/tips.less
Expand Up @@ -873,7 +873,7 @@ html[dir='rtl'] {
top: auto;
bottom: -228px;
margin-left: -150px;
background: url(/media/img/firefox/common/firefox-logo-high-res.png) left top no-repeat;
background: url(/media/img/firefox/template/logo-large-high-res.png) left top no-repeat;
background-size: 300px 312px;
.animation(phoenix 2s ease 1.3s 1 normal forwards);
}
Expand Down
2 changes: 1 addition & 1 deletion media/css/mozorg/home/home.scss
Expand Up @@ -472,7 +472,7 @@ main {
padding-top: 40px;

&:before {
@include at2x('/media/img/firefox/common/firefox-logo.png');
@include at2x('/media/img/firefox/template/logo-large.png');
@include background-size(100%);
background-repeat: no-repeat;
content: '';
Expand Down
Binary file removed media/img/firefox/common/firefox-logo-high-res.png
Binary file not shown.
Binary file removed media/img/firefox/common/firefox-logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion media/img/firefox/common/icon-alert.svg

This file was deleted.

0 comments on commit dbf4c84

Please sign in to comment.