import { NamedRoutes } from '@/core';
import { Routes } from '@angular/router';

export type TConsumerProfileRouteNames = 'profile';

export const consumerProfileNamedRoutes: NamedRoutes<TConsumerProfileRouteNames> = {
  profile: {
    path: 'profile',
    loadComponent: () => import('../../views/single.component').then((m) => m.ConsumerProfileComponent),
    meta: {
      title: 'پروفایل',
      pagePath: () => '/consumer/profile',
    },
  },
};

export const CONSUMER_PROFILE_ROUTES: Routes = [consumerProfileNamedRoutes.profile];
