import { defineComponent, ref, computed, mergeProps, withCtx, createVNode, toDisplayString, createTextVNode, useSSRContext } from 'file://D:/doc/workspace/web3/node_modules/vue/index.mjs'; import { ssrRenderAttrs, ssrInterpolate, ssrRenderClass, ssrRenderComponent, ssrRenderList, ssrRenderSlot } from 'file://D:/doc/workspace/web3/node_modules/vue/server-renderer/index.mjs'; import { _ as __nuxt_component_0 } from './nuxt-link.mjs'; import { useRoute } from 'file://D:/doc/workspace/web3/node_modules/vue-router/dist/vue-router.node.mjs'; import { useI18n } from 'file://D:/doc/workspace/web3/node_modules/vue-i18n/dist/vue-i18n.mjs'; import 'file://D:/doc/workspace/web3/node_modules/ufo/dist/index.mjs'; import './server.mjs'; import 'file://D:/doc/workspace/web3/node_modules/hookable/dist/index.mjs'; import 'file://D:/doc/workspace/web3/node_modules/unctx/dist/index.mjs'; import 'file://D:/doc/workspace/web3/node_modules/h3/dist/index.mjs'; import 'file://D:/doc/workspace/web3/node_modules/radix3/dist/index.mjs'; import 'file://D:/doc/workspace/web3/node_modules/defu/dist/defu.mjs'; const _sfc_main$3 = /* @__PURE__ */ defineComponent({ __name: "LanguageSwitcher", __ssrInlineRender: true, setup(__props) { const i18n = useI18n(); const dropdownOpen = ref(false); const currentLocale = computed(() => i18n.locale.value); return (_ctx, _push, _parent, _attrs) => { _push(``); if (dropdownOpen.value) { _push(`
`); } else { _push(``); } _push(``); }; } }); const _sfc_main$2 = /* @__PURE__ */ defineComponent({ __name: "NavBar", __ssrInlineRender: true, setup(__props) { useRoute(); const { t } = useI18n(); const mobileMenuOpen = ref(false); const scrolled = ref(false); const navItems = [ { i18nKey: "nav.home", path: "/" }, { i18nKey: "nav.products", path: "/products" }, { i18nKey: "nav.solutions", path: "/solutions" }, { i18nKey: "nav.cases", path: "/cases" }, { i18nKey: "nav.about", path: "/about" }, { i18nKey: "nav.contact", path: "/contact" } ]; return (_ctx, _push, _parent, _attrs) => { const _component_NuxtLink = __nuxt_component_0; _push(`
`); }; } }); const _sfc_main$1 = /* @__PURE__ */ defineComponent({ __name: "FooterSection", __ssrInlineRender: true, setup(__props) { const { t } = useI18n(); const products = [ { i18nKey: "footer.productLinks.ec2", path: "/products" }, { i18nKey: "footer.productLinks.s3", path: "/products" }, { i18nKey: "footer.productLinks.rds", path: "/products" }, { i18nKey: "footer.productLinks.lambda", path: "/products" }, { i18nKey: "footer.productLinks.more", path: "/products" } ]; const solutions = [ { i18nKey: "footer.solutionLinks.web", path: "/solutions" }, { i18nKey: "footer.solutionLinks.enterprise", path: "/solutions" }, { i18nKey: "footer.solutionLinks.disaster", path: "/solutions" }, { i18nKey: "footer.solutionLinks.bigdata", path: "/solutions" }, { i18nKey: "footer.solutionLinks.microservice", path: "/solutions" } ]; return (_ctx, _push, _parent, _attrs) => { const _component_NuxtLink = __nuxt_component_0; _push(`
${ssrInterpolate(_ctx.$t("common.appName"))}

${ssrInterpolate(_ctx.$t("footer.description"))}

${ssrInterpolate(_ctx.$t("footer.products"))}
    `); ssrRenderList(products, (product, index) => { _push(`
  • `); _push(ssrRenderComponent(_component_NuxtLink, { to: product.path, class: "text-white/70 hover:text-white transition-colors" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(`${ssrInterpolate(_ctx.$t(product.i18nKey))}`); } else { return [ createTextVNode(toDisplayString(_ctx.$t(product.i18nKey)), 1) ]; } }), _: 2 }, _parent)); _push(`
  • `); }); _push(`
${ssrInterpolate(_ctx.$t("footer.solutions"))}
    `); ssrRenderList(solutions, (solution, index) => { _push(`
  • `); _push(ssrRenderComponent(_component_NuxtLink, { to: solution.path, class: "text-white/70 hover:text-white transition-colors" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(`${ssrInterpolate(_ctx.$t(solution.i18nKey))}`); } else { return [ createTextVNode(toDisplayString(_ctx.$t(solution.i18nKey)), 1) ]; } }), _: 2 }, _parent)); _push(`
  • `); }); _push(`
${ssrInterpolate(_ctx.$t("footer.contactUs"))}
  • ${ssrInterpolate(_ctx.$t("footer.address"))}
  • ${ssrInterpolate(_ctx.$t("footer.phone"))}
  • ${ssrInterpolate(_ctx.$t("footer.email"))}

© ${ssrInterpolate((/* @__PURE__ */ new Date()).getFullYear())} ${ssrInterpolate(_ctx.$t("common.appName"))}. ${ssrInterpolate(_ctx.$t("footer.allRightsReserved"))}

`); }; } }); const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "default", __ssrInlineRender: true, setup(__props) { const pageLoading = ref(true); return (_ctx, _push, _parent, _attrs) => { const _component_NavBar = _sfc_main$2; const _component_FooterSection = _sfc_main$1; _push(``); if (pageLoading.value) { _push(`
`); } else { _push(``); } _push(ssrRenderComponent(_component_NavBar, null, null, _parent)); _push(`
`); ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent); _push(`
`); _push(ssrRenderComponent(_component_FooterSection, null, null, _parent)); _push(``); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("layouts/default.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=default.vue.mjs.map