aded bases ui for selector of tools
This commit is contained in:
parent
a76341fe8b
commit
2ad497083e
6 changed files with 46 additions and 20 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue