improvfmeents
This commit is contained in:
@@ -217,6 +217,28 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<!-- Výber atmosféry herného stola -->
|
||||
<div style="margin-bottom: 24px;">
|
||||
<div style="font-weight: 800; color: var(--gold); font-size: 0.95rem; letter-spacing: 0.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;">
|
||||
<span>🌲</span>
|
||||
<span>ATMOSFÉRA & PLÁTNO HERNÉHO STOLA</span>
|
||||
</div>
|
||||
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px;">
|
||||
@foreach (var t in TableThemes)
|
||||
{
|
||||
<div class="deck-option-card @(Rules.TableTheme == t.Theme ? "selected-deck" : "")"
|
||||
style="padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 10px;"
|
||||
@onclick="() => Rules.TableTheme = t.Theme">
|
||||
<div style="font-size: 1.8rem;">@t.Icon</div>
|
||||
<div class="deck-info" style="flex: 1;">
|
||||
<div class="deck-name" style="font-size: 0.92rem; color: var(--gold);">@t.Name</div>
|
||||
<div class="deck-desc" style="font-size: 0.76rem;">@t.Desc</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Štart tlačidlo -->
|
||||
<div style="text-align: center;">
|
||||
<button class="btn-primary-glow" style="padding: 14px 45px; font-size: 1.25rem;" @onclick="StartGame">
|
||||
@@ -235,6 +257,15 @@
|
||||
private bool ShowDeckSelector = false;
|
||||
|
||||
private record DeckInfo(string Id, string Name, string Desc, string Thumb, string Back);
|
||||
private record ThemeOption(TableTheme Theme, string Name, string Desc, string Icon);
|
||||
|
||||
private readonly ThemeOption[] TableThemes = new[]
|
||||
{
|
||||
new ThemeOption(TableTheme.ClassicGreen, "Zelený Filc", "Klasické kasíno s dreveným mantinelom", "🌲"),
|
||||
new ThemeOption(TableTheme.RoyalBurgundy, "Bordový Zamat", "Kráľovský VIP salónik so zlatým lemom", "🍷"),
|
||||
new ThemeOption(TableTheme.WoodCabin, "Drevená Koliba", "Rustikálny drevený stôl s teplým krbom", "🪵"),
|
||||
new ThemeOption(TableTheme.CyberNeon, "Cyberpunk Neón", "Holografický tmavomodrý neónový stôl", "🌌")
|
||||
};
|
||||
|
||||
private readonly DeckInfo[] AvailableDecks = new[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user