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
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
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 = [];
|
||||
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' }
|
||||
];
|
||||
|
Reference in New Issue
Block a user