Home view

This commit is contained in:
He4eT 2021-02-19 04:48:24 +05:00
commit c48d6ec305
3 changed files with 15 additions and 7 deletions

View file

@ -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)}`