Skip to content

Commit

Permalink
Remove mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed Sep 13, 2024
1 parent cf072df commit ae14468
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions newIDE/app/src/Tutorial/TutorialContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,7 @@ export const TutorialStateProvider = ({
console.info(
`Loaded ${allTutorials ? allTutorials.length : 0} tutorials.`
);
setTutorials([
{
id: 'education-curriculum-flappy-cat',
titleByLocale: { en: 'Flappy Cat' },
descriptionByLocale: {
en:
"It's time to make your first game! And what a way to learn than by making your own version of this mobile sensation. Tap tap tap, make sure the cat doesn't touch the ground or the walls!",
},
isPrivateTutorial: true,
type: 'pdf-tutorial',
category: 'education-curriculum',
linkByLocale: {
en: 'https://api-dev.gdevelop.io/pdf-tutorial/flappy-cat',
},
thumbnailUrlByLocale: {
en:
'https://resources.gdevelop-app.com/tutorials/images/flappy-cat.jpg',
},
redeemHintByLocale: {
en:
'This tutorial is made for education and accessible to teachers and subscribers to the GDevelop Education plan only.',
},
redeemLinkByLocale: {
en: 'https://gdevelop.io/pricing/education',
},
tagsByLocale: [{ en: 'Single player' }, { en: 'Beginner' }],
sectionByLocale: { en: 'Practical lessons' },
gameLink: 'https://gd.games/gdevelop/flappy-cat',
templateUrl:
'https://resources.gdevelop-app.com/tutorials/templates/flappy-cat/game.json',
},
]);
setTutorials(allTutorials);
} catch (error) {
console.error(`Unable to load the tutorials:`, error);
setError(error);
Expand Down

0 comments on commit ae14468

Please sign in to comment.