Skip to content

Commit

Permalink
Update app.routing.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fpsweeper authored Feb 4, 2023
1 parent d92eefa commit 25a5bcf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/app/app.routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ import { BrowserModule } from '@angular/platform-browser';
import { Routes, RouterModule } from '@angular/router';

import { HomeComponent } from './home/home.component';
import {NftsComponent} from './nfts/nfts.component';
import {CollectionsComponent} from './collections/collections.component';
import { MarketplacesComponent } from './marketplaces/marketplaces.component';

const routes: Routes =[
{ path: 'home', component: HomeComponent },
{ path: 'nfts', component: NftsComponent },
{ path: 'nfts/:mint', component: NftsComponent },
{ path: 'collections', component: CollectionsComponent },
{ path: 'collections/:fvc', component: CollectionsComponent },
{ path: 'marketplaces/:marketplace', component: MarketplacesComponent },
{ path: '', redirectTo: 'home', pathMatch: 'full' },
];

Expand Down

0 comments on commit 25a5bcf

Please sign in to comment.