File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
frontend/src/ts/commandline Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,29 @@ export const commands: CommandsSubgroup = {
332332 ] ,
333333 } ,
334334 } ,
335+ {
336+ id : "fixSkillIssue" ,
337+ display : "Fix skill issue" ,
338+ icon : "fa-wrench" ,
339+ visible : false ,
340+ exec : async ( ) : Promise < void > => {
341+ // window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
342+ ( document . querySelector ( "body" ) as HTMLElement ) . innerHTML = `
343+ <div class="centerbox" style="position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events: none;">
344+ <h1 style="font-size:3rem;margin-bottom:1rem;">Fixing skill issue...</h1>
345+ <iframe width="800" height="600" src="https://www.youtube.com/embed/dQw4w9WgXcQ?si=Kr48u8WHcwvX95G7&controls=0&autoplay=1&mute=0&disablekb=1&fs=0&modestbranding=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
346+ </div>
347+ ` ;
348+ setTimeout ( ( ) => {
349+ document
350+ . querySelector ( ".centerbox" )
351+ ?. insertAdjacentHTML (
352+ "beforeend" ,
353+ `<p style="margin-top:1rem;font-size:1.5rem;">If your skill issue is not fixed yet, please wait a bit longer...</p>`
354+ ) ;
355+ } , 5000 ) ;
356+ } ,
357+ } ,
335358 {
336359 id : "joinDiscord" ,
337360 display : "Join the Discord server" ,
You can’t perform that action at this time.
0 commit comments