import { Routes } from '@angular/router';
import { RewardCatalogComponent } from './reward-catalog.component';
import { querySettingsResolverFn } from './resolvers/query-settings.resolver-fn';

export const routes: Routes = [
  {
    path: '',
    component: RewardCatalogComponent,
    title: 'Prämienshop',
    resolve: { querySettings: querySettingsResolverFn },
    data: {
      scrollPositionRestoration: true,
    },
  },
];
