Revert "Social network link anonymous connexion"
This reverts commit 59b4b168e9
.
This commit is contained in:
parent
f4acc29670
commit
0cedd117cd
15
front/dist/resources/html/gameMenu.html
vendored
15
front/dist/resources/html/gameMenu.html
vendored
@ -14,14 +14,6 @@
|
||||
#gameMenu section {
|
||||
margin: 10px;
|
||||
}
|
||||
section#socialLinks{
|
||||
position: absolute;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
section#socialLinks img{
|
||||
width: 32px;
|
||||
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
|
||||
}
|
||||
@media only screen and (max-height: 700px) {
|
||||
#gameMenu main {
|
||||
display: flex;
|
||||
@ -33,9 +25,6 @@
|
||||
#gameMenu section{
|
||||
margin: 2px;
|
||||
}
|
||||
section#socialLinks{
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -66,9 +55,5 @@
|
||||
<section id="adminConsoleSection" hidden>
|
||||
<button id="adminConsoleButton">Admin console</button>
|
||||
</section>
|
||||
<section id="socialLinks" hidden>
|
||||
<a class="not-button" href="https://www.facebook.com/workadventurebytcm" target="_blank"><img class="not-button" src="/resources/objects/facebook-icon.png"/></a>
|
||||
<a class="not-button" href="https://twitter.com/Workadventure_" target="_blank"><img class="not-button" src="/resources/objects/twitter-icon.png"/></a>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
|
BIN
front/dist/resources/objects/facebook-icon.png
vendored
BIN
front/dist/resources/objects/facebook-icon.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB |
BIN
front/dist/resources/objects/twitter-icon.png
vendored
BIN
front/dist/resources/objects/twitter-icon.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB |
@ -126,11 +126,6 @@ export class MenuScene extends Phaser.Scene {
|
||||
const adminSection = this.menuElement.getChildByID('adminConsoleSection') as HTMLElement;
|
||||
adminSection.hidden = false;
|
||||
}
|
||||
//TODO bind with future metadata of card
|
||||
//if (connectionManager.getConnexionType === GameConnexionTypes.anonymous){
|
||||
const adminSection = this.menuElement.getChildByID('socialLinks') as HTMLElement;
|
||||
adminSection.hidden = false;
|
||||
//}
|
||||
this.tweens.add({
|
||||
targets: this.menuElement,
|
||||
x: openedSideMenuX,
|
||||
@ -270,9 +265,6 @@ export class MenuScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
private onMenuClick(event:MouseEvent) {
|
||||
if((event?.target as HTMLInputElement).classList.contains('not-button')){
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
|
||||
switch ((event?.target as HTMLInputElement).id) {
|
||||
|
Loading…
Reference in New Issue
Block a user