Skip to content

Commit

Permalink
Add template, pattern and styles for Enterprise page (#157)
Browse files Browse the repository at this point in the history
* Add template, pattern and styles for Enterprise page

* Improve layout and headings hierarchy

* Translate all the text

* Replace header image with high quality png

* Replace Use Cases image and adjust columns

* 💄 Fix CSS lint

* Set image widths and heights for performance

* Sync pattern from prod

* Remove unnecessary CSS

* Fix heading structure

* Update layout
- Remove custom header CSS
- Bottom align Use Cases
- Use external-link class

* Open external links in new window

* Constrain the layout of the central sections

* 💄 Fix CSS lint

* Increase header image resolution

* Increase resolution of logos

* Use editor for header column spacing

* Remove usage of sass `&` in selector names

* Update mu-plugins

* Use scaled webp for logos and fix vertical alignment

* Reduce size of Features icons

* Adjust mobile padding
  • Loading branch information
adamwoodnz authored Jan 12, 2023
1 parent 0a25cc4 commit fd1c753
Show file tree
Hide file tree
Showing 5 changed files with 351 additions and 0 deletions.
5 changes: 5 additions & 0 deletions env/page-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"slug": "download",
"template": "page-download.html"
},
{
"slug": "enterprise-2",
"pattern": "enterprise.php",
"template": "page-enterprise.html"
},
{
"slug": "beta-nightly",
"pattern": "download-beta-nightly.php",
Expand Down
1 change: 1 addition & 0 deletions source/wp-content/mu-plugins/theme-switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function should_use_new_theme() {
'/download/releases/',
'/download/source/',
'/mobile/',
'/enterprise-2/',
);
if ( ! in_array( $request_uri, $new_theme_pages ) ) {
return false;
Expand Down
Loading

0 comments on commit fd1c753

Please sign in to comment.