mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Extract styles for views
This commit is contained in:
parent
9f7ff097a2
commit
e44831db08
6 changed files with 53 additions and 57 deletions
|
|
@ -9,6 +9,8 @@ import ThemeSelector from '~/src/components/ThemeSelector'
|
|||
|
||||
import { buildPlayLinkHref } from '~/src/utils/utils.routing'
|
||||
|
||||
import '~/src/style/views/HomeView.css'
|
||||
|
||||
const playButton = (name, url, theme) => (
|
||||
<Link href={buildPlayLinkHref(url, theme)}>
|
||||
Play "{name}"
|
||||
|
|
@ -44,11 +46,9 @@ export default function ({ themeEngine }) {
|
|||
Interface theme
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
<ThemeSelector {...{
|
||||
themeEngine
|
||||
}} />
|
||||
</p>
|
||||
<ThemeSelector {...{
|
||||
themeEngine
|
||||
}} />
|
||||
|
||||
<p>
|
||||
<small>
|
||||
|
|
@ -97,7 +97,7 @@ export default function ({ themeEngine }) {
|
|||
</details>
|
||||
</p>
|
||||
|
||||
<p className='play'>
|
||||
<p>
|
||||
<label>
|
||||
Local file: <br />
|
||||
<FileSelector {...{
|
||||
|
|
@ -107,7 +107,7 @@ export default function ({ themeEngine }) {
|
|||
</label>
|
||||
</p>
|
||||
|
||||
<p className='play'>
|
||||
<p>
|
||||
<label>
|
||||
Direct link: <br />
|
||||
<URLSelector {...{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue