import { screens } from '@/config/ui'; export function getDevice() { if (typeof window === 'undefined') return null; const isMobile = window.innerWidth < screens.tablet; return { isMobile, }; }