mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Move back up links in Learn page and question block
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import { I18n } from '@lingui/react';
|
||||
import { Line, Column, Spacer, LargeSpacer } from '../../../../UI/Grid';
|
||||
import { Line, Column, Spacer } from '../../../../UI/Grid';
|
||||
import Text from '../../../../UI/Text';
|
||||
import Window from '../../../../Utils/Window';
|
||||
import { Trans } from '@lingui/macro';
|
||||
@@ -199,21 +199,6 @@ const MainPage = ({
|
||||
|
||||
return (
|
||||
<SectionContainer>
|
||||
<SectionRow>
|
||||
<Line justifyContent="space-between" noMargin>
|
||||
<Text noMargin size="title">
|
||||
<Trans>Guided lessons</Trans>
|
||||
</Text>
|
||||
{showInAppTutorialDeveloperMode && (
|
||||
<FlatButton
|
||||
label={<Trans>Load local lesson</Trans>}
|
||||
onClick={onLoadInAppTutorialFromLocalFile}
|
||||
/>
|
||||
)}
|
||||
</Line>
|
||||
<GuidedLessons selectInAppTutorial={selectInAppTutorial} />
|
||||
</SectionRow>
|
||||
<LargeSpacer />
|
||||
<SectionRow>
|
||||
<ColumnStackLayout noMargin expand>
|
||||
<Line noMargin>
|
||||
@@ -284,6 +269,20 @@ const MainPage = ({
|
||||
</Line>
|
||||
</ColumnStackLayout>
|
||||
</SectionRow>
|
||||
<SectionRow>
|
||||
<Line justifyContent="space-between" noMargin>
|
||||
<Text noMargin size="title">
|
||||
<Trans>Guided lessons</Trans>
|
||||
</Text>
|
||||
{showInAppTutorialDeveloperMode && (
|
||||
<FlatButton
|
||||
label={<Trans>Load local lesson</Trans>}
|
||||
onClick={onLoadInAppTutorialFromLocalFile}
|
||||
/>
|
||||
)}
|
||||
</Line>
|
||||
<GuidedLessons selectInAppTutorial={selectInAppTutorial} />
|
||||
</SectionRow>
|
||||
<>
|
||||
<SectionRow>
|
||||
<Line noMargin>
|
||||
|
Reference in New Issue
Block a user