fix. useResponsiveBreakpoints, getImageHost 수정

This commit is contained in:
clkim
2025-10-31 12:55:37 +09:00
parent 007d427520
commit 83124d56eb
21 changed files with 106 additions and 106 deletions

View File

@@ -14,12 +14,13 @@ export const BREAKPOINTS = {
*/
export const useResponsiveBreakpoints = () => {
const breakpoints = useBreakpoints(BREAKPOINTS)
const isXs = breakpoints.smaller('sm') // < 768px
const isSm = breakpoints.smaller('md') // < 1024px
const isMd = breakpoints.smaller('lg') // < 1440px
const isLg = breakpoints.greater('lg') // >= 1440px
const isMobile = isXs || isSm
const isDesktop = isLg || isMd
const isXs = breakpoints.smaller('sm') // < 768
const isSm = breakpoints.between('sm', 'md') // 768 <= x < 1024
const isMd = breakpoints.between('md', 'lg') // 1024 <= x < 1440
const isLg = breakpoints.greaterOrEqual('lg') // >= 1440
const isMobile = breakpoints.smaller('md') // < 1024
const isDesktop = breakpoints.greaterOrEqual('md') // >= 1024
return computed(() => ({
isXs: isXs.value,