feat. lnb컴포넌트

This commit is contained in:
clkim
2025-11-11 16:53:46 +09:00
parent 208a907e91
commit 4b034ec009
17 changed files with 486 additions and 122 deletions

View File

@@ -1,9 +1,9 @@
<script setup lang="ts">
const isLoading = ref(true)
const maintRef = ref<HTMLElement>()
const mainRef = ref<HTMLElement>()
const { height: viewportH } = useWindowSize()
const { bottom: mainBottom } = useElementBounding(maintRef)
const { bottom: mainBottom } = useElementBounding(mainRef)
const pinToMain = computed(() => {
if (!mainBottom.value) return false
@@ -20,7 +20,7 @@ onMounted(() => {
<template>
<LayoutsHeader />
<AtomsLoadingSimple :is-loading="isLoading" />
<main id="LayoutsMain" class="relative">
<main id="LayoutsMain" ref="mainRef" class="relative">
<slot />
</main>
<LayoutsFooter />