This commit is contained in:
Kseninia Mikhaylova 2024-09-06 09:05:33 +03:00
parent 905f217351
commit ccd32c0e3e
2 changed files with 9 additions and 4 deletions

View File

@ -9,9 +9,10 @@ body {
font-family: 'Montserrat'; font-family: 'Montserrat';
user-select: none; user-select: none;
canvas { &:not(.notouch) {
cursor: none; canvas {
cursor: none;
}
} }
} }

View File

@ -29,11 +29,15 @@ const router = createRouter({
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
document.title = to.meta && to.meta.title ? to.meta.title.toString() : title; document.title = to.meta && to.meta.title ? to.meta.title.toString() : title;
console.log('Navigating from', from.fullPath, 'to', to.fullPath); console.log('Navigating from', from.fullPath, 'to', to.fullPath);
next(); next();
}); });
if (navigator.maxTouchPoints == 0) {
document.body.classList += 'notouch'
}
const pinia = createPinia() const pinia = createPinia()
const app = createApp(App) const app = createApp(App)