This commit is contained in:
2026-03-09 20:51:58 +03:30
parent 4102d91ced
commit a4a8f46fac
5169 changed files with 35173 additions and 437568 deletions
@@ -0,0 +1,24 @@
import { defineComponent, ref, mergeProps, useSSRContext } from 'vue';
import { ssrRenderAttrs } from 'vue/server-renderer';
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "scroll",
__ssrInlineRender: true,
setup(__props) {
const scrollTop = ref(0);
return (_ctx, _push, _parent, _attrs) => {
_push(`<button${ssrRenderAttrs(mergeProps({
class: ["scroll-top", { open: scrollTop.value > 300 }]
}, _attrs))}><i class="fas fa-angle-up"></i></button>`);
};
}
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("layouts/scroll.vue");
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export { _sfc_main as default };
//# sourceMappingURL=scroll-Bnjo9Y-U.mjs.map