diff --git a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js index 5c9598428fe8..b9444c7f3c90 100644 --- a/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js +++ b/newIDE/app/src/EventsFunctionsExtensionEditor/EventsFunctionConfigurationEditor/index.js @@ -6,7 +6,6 @@ import ObjectGroupsListWithObjectGroupEditor from '../../ObjectGroupsList/Object import { Tabs } from '../../UI/Tabs'; import { EventsFunctionParametersEditor } from './EventsFunctionParametersEditor'; import { EventsFunctionPropertiesEditor } from './EventsFunctionPropertiesEditor'; -import ScrollView from '../../UI/ScrollView'; import { Column, Line } from '../../UI/Grid'; import { type GroupWithContext } from '../../ObjectsList/EnumerateObjects'; import { type UnsavedChanges } from '../../MainFrame/UnsavedChangesContext'; diff --git a/newIDE/app/src/GameDashboard/GameRegistration.js b/newIDE/app/src/GameDashboard/GameRegistration.js index 38312cf10f3c..f1e6acdffe8a 100644 --- a/newIDE/app/src/GameDashboard/GameRegistration.js +++ b/newIDE/app/src/GameDashboard/GameRegistration.js @@ -232,14 +232,14 @@ export const GameRegistration = ({ - Get ready-made packs to make your game visible to the GDevelop - community. + Make your game visible to the GDevelop community and to the + world with Marketing Boosts. See marketing packs} + label={See Marketing Boosts} primary onClick={() => setMarketingPlansDialogOpen(true)} disabled={!game} diff --git a/newIDE/app/src/MarketingPlans/MarketingPlanSingleDisplay.js b/newIDE/app/src/MarketingPlans/MarketingPlanSingleDisplay.js index e3e7c09b8d99..cf869358d7f9 100644 --- a/newIDE/app/src/MarketingPlans/MarketingPlanSingleDisplay.js +++ b/newIDE/app/src/MarketingPlans/MarketingPlanSingleDisplay.js @@ -17,6 +17,8 @@ import { getRequirementsErrors, isMarketingPlanActive, } from './MarketingPlanUtils'; +import MarketingPlansDialog from './MarketingPlansDialog'; +import Link from '../UI/Link'; const styles = { container: { @@ -40,6 +42,10 @@ const MarketingPlanSingleDisplay = ({ }: Props) => { const gdevelopTheme = React.useContext(GDevelopThemeContext); + const [ + marketingPlansDialogOpen, + setMarketingPlansDialogOpen, + ] = React.useState(false); const activeGameFeaturings: ?(GameFeaturing[]) = React.useMemo( () => { if (!gameFeaturings) return null; @@ -90,11 +96,21 @@ const MarketingPlanSingleDisplay = ({ - Get ready-made packs to make your game visible to the GDevelop - community. + Make your game visible to the GDevelop community and to the world + with{' '} + setMarketingPlansDialogOpen(true)} href="#"> + Marketing Boosts + + . + {marketingPlansDialogOpen && game && ( + setMarketingPlansDialogOpen(false)} + /> + )} ); }; diff --git a/newIDE/app/src/MarketingPlans/MarketingPlans.js b/newIDE/app/src/MarketingPlans/MarketingPlans.js index 61c5d4751b1d..310330bb501b 100644 --- a/newIDE/app/src/MarketingPlans/MarketingPlans.js +++ b/newIDE/app/src/MarketingPlans/MarketingPlans.js @@ -123,8 +123,8 @@ const MarketingPlans = ({ game }: Props) => { - Get ready-made packs to make your game visible to the GDevelop - community.{' '} + Make your game visible to the GDevelop community and to the + world with Marketing Boosts.{' '}