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';
user-select: none;
canvas {
cursor: none;
&:not(.notouch) {
canvas {
cursor: none;
}
}
}

View File

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