Views: replace css files with scss modules

This commit is contained in:
He4eT 2023-06-12 02:31:52 +03:00 committed by Alexey
commit ae9456d6dd
17 changed files with 147 additions and 141 deletions

View file

@ -9,7 +9,10 @@ export const buildPlayLinkHref = ({ url }) =>
`/#/play/${encodeURIComponent(url)}`
export const extractView = (location) => {
if (location === '/') return 'home'
const currentView = location.split('/').filter(Boolean)[0]
return currentView || ''
}