-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unused font files and update project configuration
- Loading branch information
1 parent
d4ddd3d
commit 757365f
Showing
41 changed files
with
1,129 additions
and
1,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,5 +93,8 @@ | |
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"analytics": false | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<router-outlet></router-outlet> | ||
<!--Author K10s Open Source Team--> | ||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,35 @@ | ||
import { Component } from '@angular/core'; | ||
import { RouterModule } from '@angular/router'; | ||
/**********************************/ | ||
/* @since 01/01/2025 */ | ||
/* @author K10s Open Source Team */ | ||
/**********************************/ | ||
|
||
import { Component, inject } from '@angular/core'; | ||
import { Router, NavigationEnd, RouterModule } from '@angular/router'; | ||
import { Title } from '@angular/platform-browser'; | ||
import { filter, map } from 'rxjs/operators'; | ||
|
||
@Component({ | ||
selector: 'app-root', | ||
standalone: true, | ||
imports: [RouterModule], | ||
template: ` | ||
<router-outlet></router-outlet> | ||
`, | ||
selector: 'app-root', | ||
standalone: true, | ||
imports: [RouterModule], | ||
template: `<router-outlet></router-outlet>`, | ||
}) | ||
export class AppComponent {} | ||
export class AppComponent { | ||
private router = inject(Router); | ||
private titleService = inject(Title); | ||
|
||
constructor() { | ||
this.router.events.pipe( | ||
filter(event => event instanceof NavigationEnd), | ||
map(() => { | ||
let route = this.router.routerState.root; | ||
while (route.firstChild) { | ||
route = route.firstChild; | ||
} | ||
return route.snapshot.data['title'] || 'Standaard Titel'; | ||
}) | ||
).subscribe(title => { | ||
this.titleService.setTitle(title); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
/**********************************/ | ||
/* @since 01/01/2025 */ | ||
/* @author K10s Open Source Team */ | ||
/**********************************/ | ||
|
||
import { provideRouter } from '@angular/router'; | ||
import { routes } from './app.routes'; | ||
import { Title } from '@angular/platform-browser'; | ||
|
||
export const appConfig = { | ||
providers: [ | ||
provideRouter(routes) | ||
provideRouter(routes), | ||
{ provide: Title, useValue: 'K10s' } | ||
] | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
/**********************************/ | ||
/* @since 01/01/2025 */ | ||
/* @author K10s Open Source Team */ | ||
/**********************************/ | ||
|
||
import { Routes } from '@angular/router'; | ||
import { LoginComponent } from './login/login.component'; | ||
import { DashboardComponent } from './dashboard/dashboard.component'; | ||
import { SearchComponent } from './search/search.component'; | ||
import { NavComponent } from './nav/nav.component'; | ||
import { FooterComponent } from './footer/footer.component'; | ||
|
||
export const routes: Routes = [ | ||
{ path: '', redirectTo: 'login', pathMatch: 'full' }, | ||
{ path: 'login', component: LoginComponent }, | ||
{ path: 'dashboard', component: DashboardComponent }, | ||
{ path: 'search', component: SearchComponent }, | ||
{ path: 'nav', component: NavComponent }, | ||
{ path: 'footer', component: FooterComponent } | ||
]; | ||
{ path: 'login', component: LoginComponent, data: { title: 'K10s - Login' } }, | ||
{ path: 'dashboard', component: DashboardComponent, data: { title: 'K10s - Dashboard' } }, | ||
{ path: 'search', component: SearchComponent, data: { title: 'K10s - Search' } } | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.