import type { AppRouteRecordRaw, AppRouteModule } from '@/router/types';
import { HomeOutlined } from '@ant-design/icons-vue';
import { routerList } from './routerList';

// 首页
const JobseekerHomeRoute : AppRouteRecordRaw = {
	path: '/jobseeker/home',
	name: 'JobseekerHome',
	component: routerList.JobseekerHome,
	meta: {
		title: '我的中心',
		icon: HomeOutlined
	},
};

// 推荐职位
const JobseekerRecommendRoute : AppRouteRecordRaw = {
	path: '/jobseeker/recommend',
	name: 'JobseekerRecommend',
	component: routerList.JobseekerRecommend,
	meta: {
		title: '推荐职位',
		icon: HomeOutlined
	},
};



// 我的简历
const JobseekerResumeRoute : AppRouteRecordRaw = {
	path: '/jobseeker/resume',
	name: 'JobseekerResume',
	component: routerList.JobseekerResume,
	meta: {
		title: '我的简历',
		icon: HomeOutlined
	},
};



// 职位搜索
const JobseekerSearchRoute : AppRouteRecordRaw = {
	path: '/jobseeker/search',
	name: 'JobseekerSearch',
	component: routerList.Personal,
	meta: {
		title: '职位搜索',
		icon: HomeOutlined
	},
};

const JobseekerPasswordRoute : AppRouteRecordRaw = {
	path: '/jobseeker/password',
	name: 'JobseekerPassword',
	component: routerList.JobseekerPassword,
	meta: {
		title: '修改密码',
		icon: HomeOutlined
	},
};






export const routesJobseekerModuleList : AppRouteModule[] = [
	JobseekerHomeRoute,
	JobseekerRecommendRoute,
	JobseekerResumeRoute,
	JobseekerSearchRoute,
	JobseekerPasswordRoute
];