import { defineStore } from "pinia";

const useHomeStore = defineStore('Home', {
    state: () => {
        return {
            // 顶部导航栏数据
            headerlist: [
                {
                    title: 'Home',
                    position: 'home',
                    children: []
                },
                {
                    title: 'Product Center',
                    position: 'PC',
                    children: [
                        { title: 'door', posistion: 'door' },
                        { title: 'window', posistion: 'window' },
                        { title: 'railing and stair', posistion: 'rs' },
                        { title: 'Building Materials', posistion: 'BM', cdchildren: [
                            { title: 'Floor', posistion: 'Floor' },
                            { title: 'Wall', posistion: 'Wall' },
                            { title: 'roof', posistion: 'roof' },
                        ] },
                        { title: 'wiKitchen Cabinets with Customizationndow', posistion: 'KCwC' },
                        { title: 'Kitchen faucet and sink', posistion: 'Kfs' },
                        { title: 'Sanitary Ware', posistion: 'SW', cdchildren: [
                            { title: 'Mirror', posistion: 'Mirror' },
                            { title: 'Toilet', posistion: 'Toilet' },
                            { title: 'Bathtub ', posistion: 'Bathtub ' },
                            { title: 'Jacuzzi', posistion: 'Jacuzzi' },
                            { title: 'Faucet', posistion: 'Faucet' },
                            { title: 'Sink', posistion: 'Sink' },
                            { title: 'Accessories', posistion: 'Accessories' },
                            { title: 'Shower Glass', posistion: 'SG' },
                            { title: 'Bathroom', posistion: 'Bathroom' },
                            { title: 'Shower system', posistion: 'Ss' },
                        ] },
                    ]
                },
                {
                    title: 'Service',
                    position: 'service',
                    children: [
                        { title: 'Design', posistion: 'Design' },
                        { title: 'Procurement & Manufacture', posistion: 'PM' },
                        { title: 'Logistic and warehouseing', posistion: 'Lw' },
                        { title: 'Installaion', posistion: 'Installaion' },
                        { title: 'quality control', posistion: 'qc' },
                    ]
                },
                {
                    title: 'Project Cases',
                    position: 'PCases',
                    children: [
                        { title: 'State Street, Carlsbad, CA', posistion: 'SSCA' },
                        { title: 'Lofts on Laurel, San Diego', posistion: 'LLSD' },
                        { title: 'Virgin Hotel,SFO', posistion: 'VHS' },
                        { title: 'GOA, India Wyndham', posistion: 'GIW' },
                        { title: 'METROPICA, MIAMI', posistion: 'MM' },
                        { title: '989 Johnson Street, Victoria,Canada', posistion: '9JSVC' },
                    ]
                },
                {
                    title: 'News',
                    position: 'news',
                    children: []
                },
                {
                    title: 'Contact Us',
                    position: 'CUs',
                    children: []
                }
            ]
        }
    },

    actions: {

    },

    getters: {

    }
})

export default useHomeStore