mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-19 16:33:04 +03:00
Merge branch 'marie/uiupdate' into 'main'
Update LauncherUI to show everything instead of just social buttons See merge request KRypt0n_/an-anime-game-launcher!6
This commit is contained in:
commit
bc23067650
2 changed files with 7 additions and 5 deletions
|
@ -31,7 +31,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="launchcontent"></div>
|
||||
<div id="launchcontent">
|
||||
<iframe id="socials" src="" scrolling="no" style="position: absolute; border: 0; top: 0; left: 0;" width="100%" height="100%"></iframe>
|
||||
</div>
|
||||
|
||||
<div id="settings">
|
||||
<img src="../images/gear.png" class="unactive">
|
||||
|
|
|
@ -302,8 +302,8 @@ export default class LauncherUI
|
|||
public static updateSocial (): void
|
||||
{
|
||||
const socialUri = `https://${constants.placeholders.lowercase.first}.${constants.placeholders.lowercase.company}.com/launcher/10/${LauncherLib.getConfig('lang.launcher')}?api_url=https%3A%2F%2Fapi-os-takumi.${constants.placeholders.lowercase.company}.com%2Fhk4e_global&key=gcStgarh&prev=false`;
|
||||
|
||||
fetch(socialUri)
|
||||
$('#socials').attr('src', socialUri);
|
||||
/* fetch(socialUri)
|
||||
.then(res => res.text())
|
||||
.then(body => {
|
||||
$('#__layout').remove();
|
||||
|
@ -313,11 +313,11 @@ export default class LauncherUI
|
|||
// TODO
|
||||
/*$('#launchcontent .home__main .swiper-button-prev').on('click', () => {
|
||||
|
||||
});*/
|
||||
});
|
||||
|
||||
$('#launchcontent .home__main .home-swiper-wrap').remove();
|
||||
$('#launchcontent .home__main .home-news').remove();
|
||||
});
|
||||
}); */
|
||||
}
|
||||
|
||||
public static updateLang (lang: string|null = null): void
|
||||
|
|
Loading…
Reference in a new issue