mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
Home view
This commit is contained in:
parent
19e051045d
commit
c48d6ec305
3 changed files with 15 additions and 7 deletions
|
|
@ -19,3 +19,6 @@ export const useHashLocation = () => {
|
|||
(window.location.hash = to.replace('#/', '')), [])
|
||||
return [loc, navigate]
|
||||
}
|
||||
|
||||
export const buildPlayLinkHref = (url, theme = 'default') =>
|
||||
`/#/play/${theme}/${encodeURIComponent(url)}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue