Skip to content

Commit

Permalink
change ui for theme switch
Browse files Browse the repository at this point in the history
  • Loading branch information
bj-jiwrajka committed Jan 5, 2024
1 parent 29816ae commit 3df9db7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
4 changes: 1 addition & 3 deletions Dark/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<a class="btn" href="/Dark/index.html">Dark Theme</a>
<div class="container">
<div id="home" class="flex-center flex-column">
<img src="../assets/dark.png" style="height: 80px;"/>
<h1>Kviz</h1>
<a class="btn" href="game.html">Play</a>
<a class="btn" href="highscore.html">High Scores</a>
</div>
</div>
</div></div>
</body>
</html>
22 changes: 0 additions & 22 deletions Light/index.html

This file was deleted.

17 changes: 7 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div id="home" class="flex-center flex-column">
<h1>Kviz</h1>
<div class="flex-row">
<a class="btn" href="/Dark/index.html">Dark Theme</a>
<a class="btn" href="/Light/index.html">Light Theme</a>
</div>
</div>
<a class="btn" href="/Dark/index.html">Dark Theme</a>
<div class="container">
<div id="home" class="flex-center flex-column">
<img src="../assets/light.png" style="height: 80px;"/>
<h1>Kviz</h1>
<a class="btn" href="/Light/game.html">Play</a>
<a class="btn" href="/Light/highscore.html">High Scores</a>
</div>

<!-- <script src="toggle.js"></script> -->
</body>
</html>

0 comments on commit 3df9db7

Please sign in to comment.