Skip to content

Commit

Permalink
fix: update pdf link
Browse files Browse the repository at this point in the history
  • Loading branch information
201flaviosilva committed May 21, 2024
1 parent 137e876 commit d24ff0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Components/Tutorial.js
Original file line number Diff line number Diff line change
@@ -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);
Expand All @@ -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(); },
});
Expand Down
2 changes: 1 addition & 1 deletion src/Scenes/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d24ff0c

Please sign in to comment.