aded bases ui for selector of tools

This commit is contained in:
RezHackXYZ 2025-05-04 10:31:40 +05:30
parent a76341fe8b
commit 2ad497083e
6 changed files with 46 additions and 20 deletions

View file

@ -1,10 +1,16 @@
<script>
import Game from "./wordle/game.svelte";
import Router from "svelte-spa-router";
import Wordle from "./wordle/game.svelte";
import TypeSelector from "./SelectionMenue/TypeSelector.svelte";
let routes = {
"/": TypeSelector,
"/Wordle": Wordle,
};
</script>
<div id="root">
<h1>CLASSROOM WORDLE <span>~made by Rhythm Upadhyay of 7th A</span></h1>
<Game />
<Router {routes} />
</div>
<style>
@ -15,21 +21,7 @@
#root {
height: 100%;
display: flex;
flex-direction: column;
margin: 0;
font-family: "Sour Gummy", sans-serif;
}
h1 {
text-align: center;
margin: 5px 0px;
text-decoration: underline #444;
}
span {
font-size: 0.5em;
text-decoration: none;
color: #444;
}
</style>