-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from moderntribe/release/0.12.0
Package version 0.12.0
- Loading branch information
Showing
138 changed files
with
6,449 additions
and
2,664 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
/** | ||
* Template for the admin Welcome screen | ||
* | ||
* @var string $connect_account_url | ||
* @var string $create_account_url | ||
* @var array $notices | ||
*/ | ||
?> | ||
<div class="bc-welcome"> | ||
<div class="bc-welcome__content"> | ||
<div class="bc-welcome__content-wrap"> | ||
<img src="<?php echo esc_url( plugins_url( '../assets/img/admin/big-commerce-logo.svg', __FILE__ ) ); ?>" alt="<?php esc_attr_e('Big Commerce', 'bigcommerce'); ?>"> | ||
<h1 class="bc-welcome__content-title"><?php esc_html_e( 'Build your online store with BigCommerce', 'bigcommerce' ); ?></h1> | ||
<p><?php esc_html_e( 'Customize your site, manage shipping and payments, and list your products on Amazon, eBay, and Facebook with the #1 ecommerce platform. Try it free, no credit card required.', 'bigcommerce' ); ?></p> | ||
</div> | ||
<div class="bc-welcome__btn-group"> | ||
<a class="bc-admin-btn" href="<?php echo esc_url( $connect_account_url ); ?>"><?php esc_html_e( 'Connect My Account', 'bigcommerce' ); ?></a> | ||
<a class="bc-admin-btn bc-admin-btn--outline" href="<?php echo esc_url( $create_account_url ); ?>" target="_blank"><?php esc_html_e( 'Create New Account', 'bigcommerce' ); ?></a> | ||
</div> | ||
</div> | ||
|
||
<?php if ( count( $notices ) > 0 ) { ?> | ||
<div class="bc-welcome__notices"> | ||
<?php foreach ( $notices as $notice ) { ?> | ||
<div class="bc-welcome__notice"> | ||
<?php if ( ! empty( $notice[ 'title' ] ) ) { ?> | ||
<h3 class="bc-welcome__notice-title"><?php echo $notice[ 'title' ] ; ?></h3> | ||
<?php } ?> | ||
<?php if ( ! empty( $notice[ 'content' ] ) ) { ?> | ||
<div class="bc-welcome__notice-content"><?php echo $notice[ 'content' ] ; ?></div> | ||
<?php } ?> | ||
</div> | ||
<?php } ?> | ||
</div> | ||
<?php } ?> | ||
</div> |
Oops, something went wrong.