import {LAYOUT_IMAGE_PREFIX} from "@/constants";

interface ChildItem {
    label: string;
    href: string;
}

export interface MenuItem {
    label: string;
    href: string;
    layoutImg?: string;
    description?: string;
    children: ChildItem[];
}


const menuItems: MenuItem[] = [
    {
        label: "사업소개",
        href: "/business",
        layoutImg: `${LAYOUT_IMAGE_PREFIX}/사업소개.jpg`,
        description: "반도산전의 사업을 소개합니다.",
        children: [
            { label: "주요 사업", href: "sections" },
            { label: "주요 랜드마크 시공현장", href: "landmarks" }
        ]
    },
    {
        label: "회사소개",
        href: "/about",
        layoutImg: `${LAYOUT_IMAGE_PREFIX}/기업소개.jpg`,
        description: "반도산전을 소개합니다.",
        children: [
            { label: "CEO 인사말", href: "ceo" },
            { label: "협력사", href: "office" },
            { label: "연혁", href: "history" },
            { label: "찾아오시는 길", href: "location" },
            { label: "조직도", href: "organization" },
            { label: "갤러리", href: "gallery" }
        ]
    },
    {
        label: "지속가능경영",
        href: "/performance",
        children: [
            { label: "준법경영", href: "ceo" },
            { label: "ESG 보고서", href: "history" }
        ]
    },
    {
        label: "주요실적",
        href: "/support",
        children: [
            { label: "주요실적", href: "notice" },
            { label: "인증서 및 면허", href: "license" }
        ]
    }
];

export default menuItems;