This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
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 #1183 from manikantakailasa/PRESS0-1323
feature / bookings ctb added in pages and posts
- Loading branch information
Showing
4 changed files
with
129 additions
and
69 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,44 @@ | ||
import { Button, Card, Title } from '@newfold/ui-component-library'; | ||
import ecommAddonIconUrl from 'Assets/images/ecomm-addon-ctb-icon.png'; | ||
|
||
const EcommAddonCTB = () => { | ||
const EcommAddonCtbIcon = () => ( | ||
<img | ||
src={ ecommAddonIconUrl } | ||
width="44px" | ||
height="48px" | ||
alt={ __( 'eCommerce bundle upgrade icon', 'wp-plugin-bluehost' ) } | ||
/> | ||
); | ||
|
||
return ( | ||
<Card | ||
className="wppbh-app-transform nfd-border-0 nfd-border-t md:nfd-border-t-0 nfd-shadow-none hover:nfd-bg-[#F2F9FE]" | ||
style={ { | ||
borderRadius: 0, | ||
} } | ||
> | ||
<Card.Content> | ||
<EcommAddonCtbIcon /> | ||
<Title size="4" className="nfd-leading-normal nfd-my-4"> | ||
{ __( 'Transform your store!', 'wp-plugin-bluehost' ) } | ||
</Title> | ||
<p> | ||
{ __( | ||
'Our eCommerce bundle includes a comprehensive suite of advanced tools designed to boost the performance of your WooCommerce store.', | ||
'wp-plugin-bluehost' | ||
) } | ||
</p> | ||
</Card.Content> | ||
<div className="nfd-flex nfd-justify-end nfd-gap-6 nfd-items-center"> | ||
<a href="admin.php?page=bluehost#/marketplace/product/6049dddb-1303-4c41-b3c0-242881697860"> | ||
<Button variant="secondary"> | ||
{ __( 'Learn More', 'wp-plugin-bluehost' ) } | ||
</Button> | ||
</a> | ||
</div> | ||
</Card> | ||
); | ||
}; | ||
|
||
export default EcommAddonCTB; |
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