adjust for mobile

This commit is contained in:
2025-09-29 17:06:14 +02:00
parent c7d29cb2be
commit f1daa6b576
26 changed files with 386 additions and 271 deletions

View File

@ -1,4 +1,5 @@
//import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
import { breakpointsTailwind } from '@vueuse/core'
import de from './de.json'
import en from './en.json'
@ -15,6 +16,11 @@ export const useUiStore = defineStore('uiStore', () => {
breakpoints.active().value.length > 0 ? breakpoints.active().value : 'xs',
) */
const breakpoints = useBreakpoints(breakpointsTailwind)
// "smAndDown" gilt für sm, xs usw.
const isSmallScreen = breakpoints.smaller('sm')
const { $i18n } = useNuxtApp()
$i18n.setLocaleMessage('de', {
@ -70,5 +76,6 @@ export const useUiStore = defineStore('uiStore', () => {
currentTheme,
currentThemeName,
defaultTheme,
isSmallScreen,
}
})