Rearrange views

This commit is contained in:
He4eT 2021-03-21 23:45:53 +05:00
commit b4e4fd9493
7 changed files with 6 additions and 6 deletions

View file

@ -9,9 +9,9 @@ import {
useThemeEngine useThemeEngine
} from '~/src/themes/themes' } from '~/src/themes/themes'
import HomeView from '~/src/views/HomeView' import HomeView from '~/src/views/HomeView/HomeView'
import GamesView from '~/src/views/GamesView' import GamesView from '~/src/views/GamesView/GamesView'
import PlayerView from '~/src/views/PlayerView' import PlayerView from '~/src/views/PlayerView/PlayerView'
import NotFoundView from '~/src/views/NotFoundView' import NotFoundView from '~/src/views/NotFoundView'
import '@fontsource/open-sans' import '@fontsource/open-sans'

View file

@ -5,7 +5,7 @@ import { Link } from 'wouter-preact'
import GameEntry from import GameEntry from
'~/src/components/GameEntry/GameEntry' '~/src/components/GameEntry/GameEntry'
import './style/GamesView.css' import './GamesView.css'
const tutorialGame = { const tutorialGame = {
name: 'The Dreamhold', name: 'The Dreamhold',

View file

@ -13,7 +13,7 @@ import TargetURLSelector from
import ThemeSelector from import ThemeSelector from
'~/src/components/ThemeSelector/ThemeSelector' '~/src/components/ThemeSelector/ThemeSelector'
import './style/HomeView.css' import './HomeView.css'
export default function ({ themeEngine }) { export default function ({ themeEngine }) {
const setLocation = useHashLocation()[1] const setLocation = useHashLocation()[1]

View file

@ -3,7 +3,7 @@ import { useState, useEffect } from 'preact/hooks'
import UrlPlayer from '~/src/components/Player/UrlPlayer' import UrlPlayer from '~/src/components/Player/UrlPlayer'
import './style/PlayerView.css' import './PlayerView.css'
const decode = encodedUrl => decodeURIComponent(encodedUrl) const decode = encodedUrl => decodeURIComponent(encodedUrl)