Skip to content

Commit

Permalink
Merge pull request #20 from newfold-labs/release/2.0.1
Browse files Browse the repository at this point in the history
Release/2.0.1
  • Loading branch information
circlecube authored Oct 12, 2022
2 parents d3ae56e + c0c9376 commit d680e97
Show file tree
Hide file tree
Showing 16 changed files with 190 additions and 116 deletions.
Binary file added assets/images/New-Logo-Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/coming-soon.png
Binary file not shown.
Binary file removed assets/images/header-bg-default.jpg
Binary file not shown.
16 changes: 0 additions & 16 deletions assets/images/jo.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/svg/bluehost-icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/svg/hostgator-icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/svg/logo-icon-default.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/svg/logo.svg

This file was deleted.

18 changes: 12 additions & 6 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,19 @@ function() {
)
);

// Set marketplace brand from mm_brand and hg_region values in container
if ( get_option( 'mm_brand', false ) ) {
$mojo_module_container->set(
'marketplace_brand',
strtolower( get_option( 'mm_brand', false ) )
);
// Set marketplace brand from mm_brand
$marketplace_brand = strtolower( get_option( 'mm_brand', 'mojo' ) );
if ( str_contains( $marketplace_brand, 'bluehost' ) ) {
// simplify bluehost brand for marketplace
$marketplace_brand = 'bluehost';
} elseif ( str_contains( $marketplace_brand, 'hostgator' ) ) {
// simplify hostgator brand for marketplace
$marketplace_brand = 'hostgator';
} else {
// if not set, make it mojo
$marketplace_brand = 'mojo';
}
$mojo_module_container->set( 'marketplace_brand', $marketplace_brand );

// Set coming soon values
$mojo_module_container->set(
Expand Down
26 changes: 16 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wp-plugin-mojo",
"description": "WordPress plugin that integrates a WordPress site with Hosting",
"license": "GPL-2.0-or-later",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"author": {
"name": "Evan Mullins",
Expand Down
Loading

0 comments on commit d680e97

Please sign in to comment.