-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add State of Mozilla section to home page [fix #15727]
- Loading branch information
Showing
11 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
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
47 changes: 47 additions & 0 deletions
47
bedrock/mozorg/templates/mozorg/home/includes/m24/showcase-som.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,47 @@ | ||
{# | ||
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/. | ||
#} | ||
|
||
<div class="m24-c-transition m24-t-top-light m24-t-bottom-pink"><hr></div> | ||
|
||
<section class="m24-c-showcase m24-t-pink"> | ||
<div class="m24-c-content"> | ||
<header class="m24-c-showcase-text"> | ||
<h2 class="m24-c-showcase-title">{{ ftl('m24-home-state-of-mozilla') }}</h2> | ||
<p class="m24-c-showcase-body">{{ ftl('m24-home-mozilla-is-reinventing-itself') }}</p> | ||
</header> | ||
|
||
<div class="m24-c-showcase"> | ||
<div class="m24-c-showcase-media"> | ||
{{ resp_img( | ||
url='img/home/2024//showcase/showcase-som-1440.png', | ||
srcset={ | ||
'img/home/2024//showcase/showcase-som-375.png': '375w', | ||
'img/home/2024//showcase/showcase-som-686.png': '686w', | ||
'img/home/2024//showcase/showcase-som-1440.png': '1440w', | ||
'img/home/2024//showcase/showcase-som-2752.png': '2752w', | ||
}, | ||
sizes={ | ||
'default': '100vw', | ||
}, | ||
optional_attributes={ | ||
'width': '1376', | ||
'height': '590', | ||
'alt': ftl('m24-home-state-of-mozilla-alt'), | ||
} | ||
) }} | ||
</div> | ||
</div> | ||
|
||
<header class="m24-c-showcase-text m24-l-two-columns"> | ||
<h3 class="m24-c-showcase-subtitle">2024</h3> | ||
|
||
<p class="m24-c-showcase-body m24-c-section-cta"> | ||
<a href="{{ url('foundation.annualreport.2024.index') }}" class="m24-c-cta" rel="external noopener" data-cta-text="Read the report">{{ ftl('m24-home-read-the-report') }}</a> | ||
</p> | ||
</footer> | ||
|
||
</div> | ||
</section> |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.