From 1b23ba09800009f484b9ab6a49a5626b0baaf504 Mon Sep 17 00:00:00 2001 From: Jacob Date: Mon, 9 Dec 2019 07:37:40 -0500 Subject: Initial commit for main page work in progress. Trying to figure out infinite scroll --- recipeBuddy/src/app/app-routing.module.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'recipeBuddy/src/app/app-routing.module.ts') diff --git a/recipeBuddy/src/app/app-routing.module.ts b/recipeBuddy/src/app/app-routing.module.ts index a6e4399..a6b69bd 100644 --- a/recipeBuddy/src/app/app-routing.module.ts +++ b/recipeBuddy/src/app/app-routing.module.ts @@ -2,10 +2,12 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { CookPageComponent } from './cook-page/cook-page.component'; +import { RecipeCardComponent } from './recipe-card/recipe-card.component'; const routes: Routes = [ - { path: '', redirectTo: '/cook', pathMatch: 'full' }, - { path: 'cook', component: CookPageComponent } + { path: '', redirectTo: '/main', pathMatch: 'full' }, + { path: 'cook', component: CookPageComponent }, + { path: 'main', component: RecipeCardComponent } ]; @NgModule({ -- cgit v1.1