- Added credits component - Added simple icons - Made navbar responsive for mobile - Added credits/upload/download/home/navbar components - Created simple design for home component - Added tailwindcss and daisyUI and TailwindCSS
16 lines
675 B
TypeScript
16 lines
675 B
TypeScript
import { Routes } from '@angular/router';
|
|
import {HomeComponent} from "./home/home.component";
|
|
import {UploadComponent} from "./upload/upload.component";
|
|
import {DownloadComponent} from "./download/download.component";
|
|
import {CreditsComponent} from "./credits/credits.component";
|
|
|
|
export const routes: Routes = [
|
|
{ path: '', redirectTo: 'home', pathMatch: 'full' },
|
|
{ path: 'home', component: HomeComponent },
|
|
{ path: 'upload', component: UploadComponent },
|
|
{ path: 'download', component: DownloadComponent },
|
|
{ path: 'credits', component: CreditsComponent },
|
|
// { path: 'download/:id', component: DownloadComponent }
|
|
{ path: '**', redirectTo: 'home' }
|
|
];
|