216 lines
11 KiB
JavaScript
216 lines
11 KiB
JavaScript
import { _ as __nuxt_component_0$1 } from './nuxt-link-DNSfp6ul.mjs';
|
|
import { defineComponent, ref, watch, mergeProps, withCtx, createTextVNode, useSSRContext } from 'vue';
|
|
import { ssrRenderAttrs, ssrRenderClass, ssrRenderComponent, ssrRenderStyle, ssrRenderAttr } from 'vue/server-renderer';
|
|
import { _ as _imports_0$1 } from './logo-1-CUpaHlTZ.mjs';
|
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-1tPrXgE0.mjs';
|
|
|
|
const _imports_0 = "" + __buildAssetsURL("logo-1-dark.X7T9FGyu.png");
|
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
__name: "Logo",
|
|
__ssrInlineRender: true,
|
|
props: {
|
|
size: {},
|
|
isBlue: { type: Boolean }
|
|
},
|
|
setup(__props) {
|
|
return (_ctx, _push, _parent, _attrs) => {
|
|
_push(`<div${ssrRenderAttrs(mergeProps({
|
|
style: `width: ${__props.size ?? "10rem"}`
|
|
}, _attrs))}><img${ssrRenderAttr("src", _imports_0$1)} alt="لوگو"></div>`);
|
|
};
|
|
}
|
|
});
|
|
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
_sfc_main$1.setup = (props, ctx) => {
|
|
const ssrContext = useSSRContext();
|
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Logo.vue");
|
|
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
};
|
|
const Logo = Object.assign(_sfc_main$1, { __name: "Logo" });
|
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
__name: "Header",
|
|
__ssrInlineRender: true,
|
|
setup(__props) {
|
|
const scrollTop = ref(0);
|
|
const showContactDropdown = ref(false);
|
|
const animateItems = ref(false);
|
|
watch(showContactDropdown, (val) => {
|
|
if (val) {
|
|
setTimeout(() => {
|
|
animateItems.value = true;
|
|
}, 100);
|
|
} else {
|
|
animateItems.value = false;
|
|
}
|
|
});
|
|
return (_ctx, _push, _parent, _attrs) => {
|
|
const _component_NuxtLink = __nuxt_component_0$1;
|
|
_push(`<header${ssrRenderAttrs(mergeProps({
|
|
class: "main-header main-header-one",
|
|
dir: "rtl"
|
|
}, _attrs))} data-v-c2b5a393><div id="sticky-header" class="${ssrRenderClass([scrollTop.value > 245 && "sticky-menu", "menu-area"])}" data-v-c2b5a393><div class="container" data-v-c2b5a393><div class="menu-area__inner" data-v-c2b5a393><div class="mobile-nav-toggler" data-v-c2b5a393><i class="fas fa-bars" data-v-c2b5a393></i></div><div class="menu-wrap" data-v-c2b5a393><nav class="menu-nav" data-v-c2b5a393><div class="logo-box-one" data-v-c2b5a393><a href="/" data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(Logo, { size: "10rem" }, null, _parent));
|
|
_push(`</a></div><div class="navbar-wrap main-menu" data-v-c2b5a393><ul class="navigation" data-v-c2b5a393><li class="active" data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`صفحه نخست`);
|
|
} else {
|
|
return [
|
|
createTextVNode("صفحه نخست")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/aboutPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`درباره ما`);
|
|
} else {
|
|
return [
|
|
createTextVNode("درباره ما")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li class="menu-item-has-children" data-v-c2b5a393><a href="#" data-v-c2b5a393>خدمات</a><ul class="sub-menu" data-v-c2b5a393><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/pages/DesignWeb" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`خدمات طراحی سایت`);
|
|
} else {
|
|
return [
|
|
createTextVNode("خدمات طراحی سایت")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/AppDevelopmentPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`خدمات توسعه اپلیکیشن`);
|
|
} else {
|
|
return [
|
|
createTextVNode("خدمات توسعه اپلیکیشن")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/SeoPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`خدمات سئو و بازاریابی`);
|
|
} else {
|
|
return [
|
|
createTextVNode("خدمات سئو و بازاریابی")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/graphicDesign" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`خدمات طراحی گرافیک`);
|
|
} else {
|
|
return [
|
|
createTextVNode("خدمات طراحی گرافیک")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/messagingBotsPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`خدمات رباتهای پیامرسان`);
|
|
} else {
|
|
return [
|
|
createTextVNode("خدمات رباتهای پیامرسان")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/instagramFarsiPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`اینستاگرام فارسی (منتیفای | montify)`);
|
|
} else {
|
|
return [
|
|
createTextVNode("اینستاگرام فارسی (منتیفای | montify)")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li></ul></li><li class="" data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/service/servicesPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`نمونه کارها`);
|
|
} else {
|
|
return [
|
|
createTextVNode("نمونه کارها")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`<ul class="sub-menu" data-v-c2b5a393></ul></li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/blogPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`مقالات`);
|
|
} else {
|
|
return [
|
|
createTextVNode("مقالات")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li><li data-v-c2b5a393>`);
|
|
_push(ssrRenderComponent(_component_NuxtLink, { to: "/contactPage" }, {
|
|
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
if (_push2) {
|
|
_push2(`ارتباط با ما`);
|
|
} else {
|
|
return [
|
|
createTextVNode("ارتباط با ما")
|
|
];
|
|
}
|
|
}),
|
|
_: 1
|
|
}, _parent));
|
|
_push(`</li></ul></div><div class="menu-nav__right" data-v-c2b5a393><div class="hamburger-menu" data-v-c2b5a393> ☰ </div>`);
|
|
if (showContactDropdown.value) {
|
|
_push(`<div class="contact-dropdown" data-v-c2b5a393><p class="menu-item" style="${ssrRenderStyle({ "--i": "0" })}" data-v-c2b5a393>نیاز به کمک دارید؟</p><a href="tel:+989134469985" class="menu-item" style="${ssrRenderStyle({ "--i": "1", "display": "inline-block", "color": "white" })}" role="button" data-v-c2b5a393> 9134469985 ( 98+ ) </a><a href="tel:+9809373717154" class="menu-item" style="${ssrRenderStyle({ "--i": "2", "display": "inline-block", "color": "white" })}" role="button" data-v-c2b5a393> 9373717154 ( 98+ ) </a><div class="social-icons flex justify-center" data-v-c2b5a393><a href="https://instagram.com/appco.app" target="_blank" rel="noopener" aria-label="Instagram" class="menu-item" style="${ssrRenderStyle({ "--i": "3" })}" data-v-c2b5a393><i class="fab fa-instagram ml-2" data-v-c2b5a393></i></a><a href="https://t.me/989373717154" target="_blank" rel="noopener" aria-label="Telegram" class="menu-item" style="${ssrRenderStyle({ "--i": "4" })}" data-v-c2b5a393><i class="fab fa-telegram ml-2" data-v-c2b5a393></i></a><a href="https://wa.me/989373717154" target="_blank" rel="noopener" aria-label="WhatsApp" class="menu-item" style="${ssrRenderStyle({ "--i": "5" })}" data-v-c2b5a393><i class="fab fa-whatsapp ml-2" data-v-c2b5a393></i></a></div></div>`);
|
|
} else {
|
|
_push(`<!---->`);
|
|
}
|
|
_push(`</div></nav></div></div><div class="mobile-menu" data-v-c2b5a393><nav class="menu-box" data-v-c2b5a393><div class="close-btn" data-v-c2b5a393><i class="fas fa-times" data-v-c2b5a393></i></div><div class="nav-logo" data-v-c2b5a393><a href="index-2.html" data-v-c2b5a393><img${ssrRenderAttr("src", _imports_0)} size="10" isBlue data-v-c2b5a393></a></div><div class="menu-outer" data-v-c2b5a393></div><div class="contact-info" data-v-c2b5a393><div class="icon-box" data-v-c2b5a393><span class="icon-call" data-v-c2b5a393></span></div><p data-v-c2b5a393><a href="tel:+989134469985" dir="ltr" data-v-c2b5a393>(+98) 9134469985</a></p></div><div class="social-links" data-v-c2b5a393><ul class="clearfix list-wrap" data-v-c2b5a393><li data-v-c2b5a393><a href="https://instagram.com/appco.app" target="_blank" rel="noopener" data-v-c2b5a393><i class="fab fa-instagram" data-v-c2b5a393></i></a></li><li data-v-c2b5a393><a href="https://t.me/989373717154" target="_blank" rel="noopener" data-v-c2b5a393><i class="fab fa-telegram" data-v-c2b5a393></i></a></li><li data-v-c2b5a393><a href="https://wa.me/989373717154" target="_blank" rel="noopener" data-v-c2b5a393><i class="fab fa-whatsapp" data-v-c2b5a393></i></a></li></ul></div></nav></div><div class="menu-backdrop" data-v-c2b5a393></div></div></div></header>`);
|
|
};
|
|
}
|
|
});
|
|
const _sfc_setup = _sfc_main.setup;
|
|
_sfc_main.setup = (props, ctx) => {
|
|
const ssrContext = useSSRContext();
|
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Header.vue");
|
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
};
|
|
const __nuxt_component_0 = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main, [["__scopeId", "data-v-c2b5a393"]]), { __name: "Header" });
|
|
|
|
export { Logo as L, __nuxt_component_0 as _ };
|
|
//# sourceMappingURL=Header-JmiC84XK.mjs.map
|