Files
web_6ea_educo/site3/.nuxt/dist/server/_nuxt/pages-Cg7jGZvJ.js
T
2026-10-07 11:08:05 +09:00

99 lines
5.3 KiB
JavaScript

import { d as useRuntimeConfig, n as useHead, t as _plugin_vue_export_helper_default } from "../server.mjs";
import { t as NuxtLink } from "./nuxt-link-DOScKSGF.js";
import { a as getRegionByDong, c as FaqAccordion_default, d as CoachingSystem_default, f as TeacherVerification_default, g as HeroBanner_default, h as QuickMetrics_default, i as getPopularRegions, l as ProcessGuide_default, m as NearbySchools_default, p as SubjectMastery_default, r as getCurriculumBySubject, s as ConsultForm_default, t as generateSeoMeta, u as SuccessStories_default } from "./seoHelper-BVoqOlqy.js";
import { createVNode, mergeProps, toDisplayString, unref, useSSRContext, withCtx } from "vue";
import { ssrInterpolate, ssrRenderAttrs, ssrRenderComponent, ssrRenderList } from "vue/server-renderer";
//#region pages/index.vue
var _sfc_main = {
__name: "index",
__ssrInlineRender: true,
setup(__props) {
const config = useRuntimeConfig();
const popularRegions = getPopularRegions(36);
const defaultCurriculum = getCurriculumBySubject("english");
const defaultRegion = getRegionByDong("황금동") || {
fullName: "대한민국 전국 전 지역",
sido: "전국",
sigungu: "전지역",
dong: "전국"
};
const seo = generateSeoMeta({
region: defaultRegion,
sido: "전국",
sigungu: "맞춤",
dong: "1:1",
grade: "초중고",
subjectName: "전과목",
targetTerm: "방문·화상과외",
fullKeyword: "전국 초중고 1:1 방문 과외 및 실시간 화상과외"
}, config.public.siteName, config.public.siteDomain);
useHead({
title: `${config.public.siteName} | 전국 초·중·고 1:1 맞춤 방문과외 & 화상코칭`,
meta: seo.meta,
link: seo.link,
script: seo.script
});
return (_ctx, _push, _parent, _attrs) => {
const _component_HeroBanner = HeroBanner_default;
const _component_QuickMetrics = QuickMetrics_default;
const _component_NuxtLink = NuxtLink;
const _component_NearbySchools = NearbySchools_default;
const _component_SubjectMastery = SubjectMastery_default;
const _component_TeacherVerification = TeacherVerification_default;
const _component_CoachingSystem = CoachingSystem_default;
const _component_SuccessStories = SuccessStories_default;
const _component_ProcessGuide = ProcessGuide_default;
const _component_FaqAccordion = FaqAccordion_default;
const _component_ConsultForm = ConsultForm_default;
_push(`<div${ssrRenderAttrs(mergeProps({ class: "landing-page-wrap" }, _attrs))} data-v-1f02a2cd>`);
_push(ssrRenderComponent(_component_HeroBanner, {
region: unref(defaultRegion),
grade: "초·중·고",
subjectName: "국영수사과"
}, null, _parent));
_push(ssrRenderComponent(_component_QuickMetrics, { regionDong: "전국" }, null, _parent));
_push(`<section class="region-finder-section" data-v-1f02a2cd><div class="rf-container" data-v-1f02a2cd><span class="rf-badge" data-v-1f02a2cd>🗺️ 전국 568개 동 1:1 맞춤 배정</span><h2 class="rf-title" data-v-1f02a2cd>우리 동네 전문 과외 선생님 찾기</h2><p class="rf-desc" data-v-1f02a2cd>희망하시는 지역이나 과목을 클릭하시면 학교별 기출 분석과 커리큘럼을 즉시 확인하실 수 있습니다.</p><div class="region-chips-grid" data-v-1f02a2cd><!--[-->`);
ssrRenderList(unref(popularRegions), (r) => {
_push(ssrRenderComponent(_component_NuxtLink, {
key: r.dong,
to: `/${encodeURIComponent(r.dong)}-중학생-영어`,
class: "rf-chip"
}, {
default: withCtx((_, _push, _parent, _scopeId) => {
if (_push) _push(`<span class="chip-sido" data-v-1f02a2cd${_scopeId}>${ssrInterpolate(r.sido.slice(0, 2))}</span><span class="chip-dong" data-v-1f02a2cd${_scopeId}>${ssrInterpolate(r.dong)} 과외</span>`);
else return [createVNode("span", { class: "chip-sido" }, toDisplayString(r.sido.slice(0, 2)), 1), createVNode("span", { class: "chip-dong" }, toDisplayString(r.dong) + " 과외", 1)];
}),
_: 2
}, _parent));
});
_push(`<!--]--></div></div></section>`);
_push(ssrRenderComponent(_component_NearbySchools, { regionDong: "주요 학군" }, null, _parent));
_push(ssrRenderComponent(_component_SubjectMastery, {
regionDong: "전국",
grade: "중·고등",
curriculum: unref(defaultCurriculum)
}, null, _parent));
_push(ssrRenderComponent(_component_TeacherVerification, null, null, _parent));
_push(ssrRenderComponent(_component_CoachingSystem, null, null, _parent));
_push(ssrRenderComponent(_component_SuccessStories, { regionDong: "수강생" }, null, _parent));
_push(ssrRenderComponent(_component_ProcessGuide, null, null, _parent));
_push(ssrRenderComponent(_component_FaqAccordion, { regionDong: "전국" }, null, _parent));
_push(ssrRenderComponent(_component_ConsultForm, {
regionName: "전국 전 지역",
defaultSubject: "영어"
}, null, _parent));
_push(`</div>`);
};
}
};
var _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/index.vue");
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
var pages_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["__scopeId", "data-v-1f02a2cd"]]);
//#endregion
export { pages_default as default };
//# sourceMappingURL=pages-Cg7jGZvJ.js.map