refactor: everything except product page

This commit is contained in:
Tobias Klemp
2025-11-29 22:48:58 +01:00
parent 6d03984e21
commit 42080520bf
41 changed files with 8 additions and 2061 deletions

View File

@@ -1,9 +1,9 @@
import { MediaQuery } from "svelte/reactivity";
import { MediaQuery } from 'svelte/reactivity'
const DEFAULT_MOBILE_BREAKPOINT = 768;
const DEFAULT_MOBILE_BREAKPOINT = 768
export class IsMobile extends MediaQuery {
constructor(breakpoint: number = DEFAULT_MOBILE_BREAKPOINT) {
super(`max-width: ${breakpoint - 1}px`);
}
constructor(breakpoint: number = DEFAULT_MOBILE_BREAKPOINT) {
super(`max-width: ${breakpoint - 1}px`)
}
}