Skip to content

Commit

Permalink
Tweak: Update AI Context promotion with direct link for site settings…
Browse files Browse the repository at this point in the history
… [AI-833] (elementor#25799)
  • Loading branch information
netanelavr committed Apr 21, 2024
1 parent 26accf8 commit 2160bb9
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */
import React from 'react';
import { Box, Alert } from '@elementor/ui';
import BulbIcon from '../icons/bulb-icon';
Expand All @@ -11,9 +12,11 @@ export const VoicePromotionAlert = ( props ) => {

return (
<Box sx={ { mt: 2, ...props.sx } } alignItems="top">
<Alert severity="info" variant="standard" icon={ <BulbIcon sx={ { alignSelf: 'flex-start' } } /> } onClose={ markAsViewed }
>
{ __( 'Get improved results from AI by adding some personal context. Go to Site Settings > AI Context to get started.' ) }
<Alert severity="info" variant="standard" icon={ <BulbIcon sx={ { alignSelf: 'flex-start' } } /> } onClose={ markAsViewed }>
{ __( 'Get improved results from AI by adding personal context.' ) }
<Box sx={ { ml: 0.25 } }>
<a href="javascript: $e.route( 'panel/global/menu' ) "> { __( 'Let’s do it' ) }</a>
</Box>
</Alert>
</Box>
);
Expand Down

0 comments on commit 2160bb9

Please sign in to comment.