diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index eb9dd26..d590668 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -1,14 +1,15 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { HoroscopeDataContainerComponent } from './horoscope-data-container/horoscope-data-container.component'; -import {MockLoginComponent} from './mock-login/mock-login.component'; +import { NumerologyComponent } from './numerology/numerology.component'; + const routes: Routes = [ { path: 'horoscope', component: HoroscopeDataContainerComponent }, - { path: 'login', component: MockLoginComponent }, + { path: 'numerology', component: NumerologyComponent }, { path: '', redirectTo: '/horoscope', pathMatch: 'full' }, ]; diff --git a/src/app/app.component.html b/src/app/app.component.html index ef0914d..4ceff86 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -4,4 +4,5 @@ + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6d0e442..8bc6960 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -7,5 +7,5 @@ import { Component } from '@angular/core'; styleUrls: ['./app.component.css'] }) export class AppComponent { - // title = 'my_app'; + title = 'my_app'; } diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5d78a59..3969bda 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -6,15 +6,19 @@ import { AppComponent } from './app.component'; import { HttpClientModule } from '@angular/common/http'; import { HoroscopeComponent } from './horoscope/horoscope.component'; import { FormsModule } from '@angular/forms'; -import { OpenHoroscopeService } from './open-horoscope.service'; +import { OpenHoroscopeService } from './open-horoscope/open-horoscope.service'; import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { HoroscopeDataContainerComponent } from './horoscope-data-container/horoscope-data-container.component'; +import { NavBarComponent } from './nav-bar/nav-bar.component'; +import { NumerologyComponent } from './numerology/numerology.component'; @NgModule({ declarations: [ AppComponent, HoroscopeComponent, - HoroscopeDataContainerComponent + HoroscopeDataContainerComponent, + NavBarComponent, + NumerologyComponent ], imports: [ BrowserModule, diff --git a/src/app/horoscope-data-container/horoscope-data-container.component.html b/src/app/horoscope-data-container/horoscope-data-container.component.html index 384772c..d0b5b18 100644 --- a/src/app/horoscope-data-container/horoscope-data-container.component.html +++ b/src/app/horoscope-data-container/horoscope-data-container.component.html @@ -1,3 +1,5 @@ + +