diff --git a/front/dist/resources/html/gameMenu.html b/front/dist/resources/html/gameMenu.html
index 88c76ca2..665d4316 100644
--- a/front/dist/resources/html/gameMenu.html
+++ b/front/dist/resources/html/gameMenu.html
@@ -15,6 +15,14 @@
#gameMenu section {
margin: 10px;
}
+ section#socialLinks{
+ position: absolute;
+ margin-bottom: 0;
+ }
+ section#socialLinks img{
+ width: 32px;
+ cursor: url('/resources/logos/cursor_pointer.png'), pointer;
+ }
diff --git a/front/dist/resources/objects/facebook-icon.png b/front/dist/resources/objects/facebook-icon.png
new file mode 100644
index 00000000..7b74b9bf
Binary files /dev/null and b/front/dist/resources/objects/facebook-icon.png differ
diff --git a/front/dist/resources/objects/twitter-icon.png b/front/dist/resources/objects/twitter-icon.png
new file mode 100644
index 00000000..f2fa90f1
Binary files /dev/null and b/front/dist/resources/objects/twitter-icon.png differ
diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts
index 6f035446..c65f8ed5 100644
--- a/front/src/Phaser/Menu/MenuScene.ts
+++ b/front/src/Phaser/Menu/MenuScene.ts
@@ -4,6 +4,8 @@ import {gameManager} from "../Game/GameManager";
import {localUserStore} from "../../Connexion/LocalUserStore";
import {mediaManager, ReportCallback, ShowReportCallBack} from "../../WebRtc/MediaManager";
import {coWebsiteManager} from "../../WebRtc/CoWebsiteManager";
+import {GameConnexionTypes} from "../../Url/UrlManager";
+import {connectionManager} from "../../Connexion/ConnectionManager";
export const MenuSceneName = 'MenuScene';
const gameMenuKey = 'gameMenu';
@@ -115,6 +117,10 @@ export class MenuScene extends Phaser.Scene {
const adminSection = this.menuElement.getChildByID('adminConsoleSection') as HTMLElement;
adminSection.hidden = false;
}
+ if (connectionManager.getConnexionType === GameConnexionTypes.anonymous){
+ const adminSection = this.menuElement.getChildByID('socialLinks') as HTMLElement;
+ adminSection.hidden = false;
+ }
this.tweens.add({
targets: this.menuElement,
x: openedSideMenuX,
@@ -304,6 +310,9 @@ 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) {