feat: added web view 1v1

This commit is contained in:
shahdlala66
2026-04-17 23:20:16 +02:00
commit 1828fa3275
80 changed files with 11876 additions and 0 deletions
@@ -0,0 +1,27 @@
<main class="welcome-shell">
<section class="welcome-card">
<h1>Welcome to NowChess</h1>
<p>Pick a mode to begin.</p>
<div class="mode-grid">
<button type="button" class="mode mode-disabled" disabled>
<span>Bot</span>
<small>Coming soon</small>
</button>
<button type="button" class="mode mode-active" (click)="startOneVsOne()" [disabled]="creating">
<span>1 vs 1</span>
<small>{{ creating ? 'Creating game...' : 'Start now' }}</small>
</button>
<button type="button" class="mode mode-disabled" disabled>
<span>Future Technique</span>
<small>Placeholder</small>
</button>
</div>
@if (errorMessage) {
<p class="error">{{ errorMessage }}</p>
}
</section>
</main>