Themes: add themes page

This commit is contained in:
He4eT 2023-05-28 02:22:05 +03:00 committed by Alexey
commit fd49342e12
7 changed files with 149 additions and 8 deletions

View file

@ -11,6 +11,7 @@ import {
import HomeView from '~/src/views/HomeView/HomeView'
import GamesView from '~/src/views/GamesView/GamesView'
import ThemesView from '~/src/views/ThemesView/ThemesView'
import PlayerView from '~/src/views/PlayerView/PlayerView'
import NotFoundView from '~/src/views/NotFoundView'
@ -46,6 +47,11 @@ function App () {
<Route path='/games/'>
<GamesView />
</Route>
<Route path='/themes/'>
<ThemesView {...{
themeEngine,
}} />
</Route>
<Route path='/play/:encodedUrl'>
{ playerView(themeEngine, false) }