sharepulse/frontend/src/app/app.routes.ts
Max 704969d041 Added sample UI design
- 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
2024-01-28 13:55:39 +01:00

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' }
];