fix. 팝업 버튼 추가

This commit is contained in:
clkim
2025-11-13 10:59:21 +09:00
parent 2902fe0222
commit 6765ae905c
22 changed files with 338 additions and 223 deletions

View File

@@ -1,20 +1,8 @@
<script setup lang="ts">
const mainRef = ref<HTMLElement>()
const { height: viewportH } = useWindowSize()
const { bottom: mainBottom } = useElementBounding(mainRef)
const pinToMain = computed(() => {
if (!mainBottom.value) return false
return mainBottom.value <= viewportH.value
})
provide('pinToMain', pinToMain)
</script>
<script setup lang="ts"></script>
<template>
<LayoutsHeader />
<main id="LayoutsMain" ref="mainRef" class="relative">
<main class="relative">
<BlocksButtonHome />
<LayoutsEventNavigation />
<slot />