Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
fix: missing modules + route for ranking-page (#169)
Browse files Browse the repository at this point in the history
* fix: missing modules + route for ranking-page

* fix: route was implemented at wrong poition
  • Loading branch information
wwwLuis authored May 10, 2024
1 parent e43cedd commit 5503334
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ import { AuthenticationpageComponent } from './components/pages/authenticationpa
import { LoginformComponent } from './components/organisms/loginform/loginform.component';
import { SignupformComponent } from './components/organisms/signupform/signupform.component';
import { LandingpageComponent } from './components/pages/landingpage/landingpage.component';
import { RankingPageComponent } from './components/pages/ranking-page/ranking-page.component';


const routes: Routes = [
{ path: '', redirectTo: '/home', pathMatch: 'full' },
{ path: 'home', component: LandingpageComponent },
{ path: 'main', component: MainpageComponent },
{ path: 'ranking', component: RankingPageComponent},
{
path: 'auth',
component: AuthenticationpageComponent,
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ import { InputfieldComponent } from './components/atoms/inputfield/inputfield.co
import { SignupformComponent } from './components/organisms/signupform/signupform.component';
import { LoaderComponent } from './components/atoms/loader/loader.component';
import { LandingpageComponent } from './components/pages/landingpage/landingpage.component';
import { UserCardComponent } from './components/atoms/user-card/user-card.component';
import { RankingTableComponent } from './components/organisms/ranking-table/ranking-table.component';
import { RankingPageComponent } from './components/pages/ranking-page/ranking-page.component';


@NgModule({
Expand All @@ -40,6 +43,9 @@ import { LandingpageComponent } from './components/pages/landingpage/landingpage
SignupformComponent,
LoaderComponent,
LandingpageComponent,
UserCardComponent,
RankingTableComponent,
RankingPageComponent,

],
imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule],
Expand Down

0 comments on commit 5503334

Please sign in to comment.