From d24ff0cebb403dc76eb34124c9ee98d1d7f07f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fla=CC=81vio=20Silva?= Date: Tue, 21 May 2024 15:28:56 +0100 Subject: [PATCH] fix: update pdf link --- src/Components/Tutorial.js | 5 ++--- src/Scenes/Index.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Components/Tutorial.js b/src/Components/Tutorial.js index 22a37c5..6d5d028 100644 --- a/src/Components/Tutorial.js +++ b/src/Components/Tutorial.js @@ -1,8 +1,7 @@ -import GlobalConfigs from "../Configs"; import LangManager from "../Lang/LangManager"; import { TextStyle } from "../Theme"; -export default class Loading extends Phaser.GameObjects.Container { +export default class Tutorial extends Phaser.GameObjects.Container { constructor(scene, x, y, gameType) { super(scene, x, y); scene.add.existing(this); @@ -18,7 +17,7 @@ export default class Loading extends Phaser.GameObjects.Container { this.scene.tweens.add({ targets: [this], alpha: { from: 1, to: 0 }, - duration: 5000, + duration: 10000, ease: "Circ.easeIn", onComplete: () => { this.destroy(); }, }); diff --git a/src/Scenes/Index.js b/src/Scenes/Index.js index c9f3c68..885f65a 100644 --- a/src/Scenes/Index.js +++ b/src/Scenes/Index.js @@ -57,7 +57,7 @@ export default class Index extends Phaser.Scene { } openPDF() { - const url = "https://github.com/201flaviosilva/201flaviosilva.github.io/blob/PDF/FlavioSilva.pdf"; + const url = "https://github.com/201flaviosilva/201flaviosilva.github.io/releases?q=PDF&expanded=true"; const s = window.open(url, "_blank"); if (s && s.focus) s.focus();