mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Rearrange views
This commit is contained in:
parent
890716e549
commit
b4e4fd9493
7 changed files with 6 additions and 6 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
@ -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]
|
||||||
|
|
@ -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)
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue