diff --git a/src/pages/FlagQuiz.svelte b/src/pages/FlagQuiz.svelte index 40dc157..ca5fa64 100644 --- a/src/pages/FlagQuiz.svelte +++ b/src/pages/FlagQuiz.svelte @@ -6,7 +6,7 @@ import { quizInfo } from '../quizInfo/FlagQuizInfo.js'; import InlineSvg from "../components/InlineSvg.svelte"; import Achievements from "../components/Achievements.svelte"; import QuizSettings from "../components/QuizSettings.svelte"; - import WelcomeStats from "../components/WelcomeStats.svelte"; + import QuizInfo from "../components/QuizInfo.svelte"; import ActionButtons from "../components/ActionButtons.svelte"; // Game data @@ -965,7 +965,7 @@ import { quizInfo } from '../quizInfo/FlagQuizInfo.js'; {#if quizSubpage === "welcome"} - {#each availableGames as game} - -
{game.icon}
-

{game.title}

-

{game.description}

-
Play Now β†’
-
+ {#if game.state === 'released'} + +
+ {#if game.emoji} + {game.emoji} + {/if} +
+

{game.title}

+

{game.description}

+
Play Now β†’
+
+ {:else if game.state === 'testing'} + +
+ {#if game.emoji} + {game.emoji} + {/if} +
+

{game.title}

+

{game.description}

+
Play Now β†’
+
+ {:else if game.state === 'scheduled'} +
+
+ {#if game.emoji} + {game.emoji} + {/if} +
+

{game.title}

+

{game.description}

+
Coming soon
+
+ {/if} {/each} - -
-

⏳ Coming Soon

-
-
- 🏒 - Logo Quiz -
-
- πŸ›‘οΈ - Emblem Quiz -
-
-
@@ -145,10 +143,30 @@ color: var(--color-text-primary); } - .game-card:hover { - transform: translateY(-4px); - box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); - border-color: var(--color-primary); + .game-card.scheduled { + border: 2px dashed var(--color-border); + opacity: 0.7; + } + + .game-card.testing { + border: 2px solid #ef4444; + } + + .game-card.scheduled .game-icon .grayscale { + filter: grayscale(1); + opacity: 0.5; + } + + .game-card.scheduled .play-button { + display: none; + } + + .coming-soon-text { + margin-top: 1.5rem; + font-size: 1.1rem; + color: var(--color-text-secondary); + font-weight: 600; + opacity: 0.8; } .game-icon { diff --git a/src/pages/GeographyQuiz.svelte b/src/pages/GeographyQuiz.svelte index 14da29f..5d43374 100644 --- a/src/pages/GeographyQuiz.svelte +++ b/src/pages/GeographyQuiz.svelte @@ -5,7 +5,7 @@ import { quizInfo } from '../quizInfo/GeographyQuizInfo.js'; import Header from "../components/Header.svelte"; import Footer from "../components/Footer.svelte"; import CountryMap from "../components/CountryMap.svelte"; - import WelcomeStats from "../components/WelcomeStats.svelte"; + import QuizInfo from "../components/QuizInfo.svelte"; import ActionButtons from "../components/ActionButtons.svelte"; // Game data @@ -104,7 +104,7 @@ import { quizInfo } from '../quizInfo/GeographyQuizInfo.js';
{#if quizSubpage === "welcome"}
-