import type BaseFile from "../types/component/baseFile"; import type Footer from "../types/component/global/footer"; import type Navbar from "../types/component/global/navbar"; import type SEO from "../types/component/global/seo"; import type Global from "../types/single/global"; export const useGlobal = () => { const global = useState("global"); const runtimeConfig = useRuntimeConfig(); const appTitle = runtimeConfig.public.app.title; const logo = computed(() => global.value?.logo ?? null); const navbar = computed(() => global.value?.navbar ?? null); const footer = computed