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

export type TPartnerProfileRouteNames = 'profile';

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

export const PARTNER_PROFILE_ROUTES: Routes = [partnerProfileNamedRoutes.profile];
