mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-29 08:55:53 +08:00
fix: 禁用未完成的网络对战入口,标注开发中
This commit is contained in:
@@ -27,7 +27,13 @@ export default function MainMenu({ onGameStart, onReplayStart }: Props) {
|
||||
<div className="menu-buttons">
|
||||
<button onClick={() => setView('local')}>{t('menu.local_game')}</button>
|
||||
<button onClick={() => setView('ai')}>{t('menu.ai_game')}</button>
|
||||
<button onClick={() => setView('online')}>{t('menu.online_game')}</button>
|
||||
<button
|
||||
onClick={() => setView('online')}
|
||||
disabled
|
||||
title={t('menu.online_game_disabled')}
|
||||
>
|
||||
{t('menu.online_game')} (开发中)
|
||||
</button>
|
||||
<button onClick={() => setView('replay')}>{t('menu.load_replay')}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user