Skip to content

Commit

Permalink
Internal: Update AI Announcement screen and upgrade modal [ED-12831]
Browse files Browse the repository at this point in the history
  • Loading branch information
arielk committed Nov 28, 2023
1 parent 59d539d commit ab3e8ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified assets/images/announcement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion modules/ai/assets/js/editor/components/upgrade-chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const StyledArrow = styled( Box )( ( { theme } ) => ( {
} ) );

const upgradeBullets = [
__( 'Let AI build your container layouts and content with ease and radically transform the way you create websites.', 'elementor' ),
__( 'Generate your website\'s text or create custom code without having to write a single line yourself.', 'elementor' ),
__( 'Effortlessly create or enhance stunning images and bring your ideas to life.', 'elementor' ),
__( 'Access 30-days of AI History with the AI Starter plan and 90-days with the Power plan.', 'elementor' ),
Expand Down Expand Up @@ -92,7 +93,7 @@ const UpgradeChip = ( {
if ( hasSubscription ) {
actionUrl = usagePercentage >= 100 ? 'https://go.elementor.com/ai-popup-upgrade-limit-reached/' : 'https://go.elementor.com/ai-popup-upgrade-limit-reached-80-percent/';
}
const actionLabel = hasSubscription ? __( 'Upgrade Elementor AI', 'elementor' ) : __( 'Get Elementor AI', 'elementor' );
const actionLabel = hasSubscription ? __( 'Maximize Your Access to Elementor AI', 'elementor' ) : __( 'Get Elementor AI', 'elementor' );

return (
<Box
Expand Down
3 changes: 2 additions & 1 deletion modules/announcements/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ private function get_raw_announcements(): array {
'title' => 'Unlock the Power of Elementor AI',
'description' => '<p>Design professional websites with natively integrated AI tools.</p>
<ul>
<li>Boost creativity & productivity with AI-generated containers. Build layouts from scratch or existing Elementor containers. Coming soon: Generate containers from any layout you reference from the web!</li>
<li>Let AI write or edit your text, adjust its length and tone of voice. Also generate custom code that seamlessly integrates into your website.</li>
<li>Create one-of-a kind images, add, or erase content in existing images or expand them beyond their original size and aspect ratio.</li>
<li>Access and repurpose previously-generated prompts with Elementor’s AI History Panel to streamline your workflow and ensure consistency.</li>
<li>Access and repurpose previously-generated text, code or image prompts with Elementor’s AI History Panel to work efficiently and ensure consistency.</li>
</ul>',
'media' => [
'type' => 'image',
Expand Down

0 comments on commit ab3e8ed

Please sign in to comment.