Remove AppModule and enhance Team and Header components
Deleted unused `AppModule` to streamline the project structure. Enhanced the `TeamComponent` by integrating team member data from the API and updating its template. Improved the `HeaderComponent` by adding `priority` to the logo image for better performance.
This commit is contained in:
@@ -3,12 +3,14 @@ import {AppComponent} from './app/app.component';
|
||||
import {provideRouter} from '@angular/router';
|
||||
import {routes} from './app/app.routes';
|
||||
import {provideHttpClient} from '@angular/common/http';
|
||||
import {BASE_PATH} from './api';
|
||||
|
||||
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [
|
||||
provideRouter(routes),
|
||||
provideHttpClient()
|
||||
provideHttpClient(),
|
||||
{provide: BASE_PATH, useValue: 'http://localhost:8080'}
|
||||
]
|
||||
}).catch(err => console.error(err));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user