Some updates
This commit is contained in:
1 parent
990cc4f53b
commit
fd26c428b1
4 files changed
+53
-8
No files matched your search
@@ -2,11 +2,11 @@
|
||||
<div class="height-container">
|
||||
<div class="about-container">
|
||||
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||
<h1>About Me</h1>
|
||||
<p class="subtitle">Hobby developer & designer</p>
|
||||
<h1 i18n="@@aboutTitle">About Me</h1>
|
||||
<p class="subtitle" i18n="@@aboutSubtitle">Hobby developer & designer</p>
|
||||
</div>
|
||||
<hr class="rounded">
|
||||
<div class="about-content">
|
||||
<div class="about-content" [innerHTML]="'ABOUT_CONTENT' | translate">
|
||||
<h1><code>itzMiney</code></h1>
|
||||
<p>
|
||||
Hello, I'm Michael, a developer and designer based in Austria. I specialize in frontend web development,
|
||||
|
||||
+17
-2
@@ -4,9 +4,15 @@ import {provideRouter} from '@angular/router';
|
||||
import {routes} from './app.routes';
|
||||
import {provideAnimationsAsync} from '@angular/platform-browser/animations/async';
|
||||
import {provideClientHydration, withEventReplay} from '@angular/platform-browser';
|
||||
import {provideHttpClient} from '@angular/common/http';
|
||||
import {HttpClient, provideHttpClient} from '@angular/common/http';
|
||||
import {AuthService} from './shared/services/auth.service';
|
||||
import {AuthInterceptor} from './auth.interceptor';
|
||||
import {provideTranslate, TranslateLoader} from '@ngx-translate/core';
|
||||
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
||||
|
||||
export function HttpLoaderFactory(http: HttpClient): TranslateLoader {
|
||||
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
||||
}
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
@@ -16,6 +22,15 @@ export const appConfig: ApplicationConfig = {
|
||||
provideClientHydration(withEventReplay()),
|
||||
provideHttpClient(),
|
||||
AuthService,
|
||||
AuthInterceptor
|
||||
AuthInterceptor,
|
||||
|
||||
provideTranslate({
|
||||
loader: {
|
||||
provide: TranslateLoader,
|
||||
useFactory: HttpLoaderFactory,
|
||||
deps: [HttpClient]
|
||||
},
|
||||
defaultLanguage: 'en',
|
||||
}),
|
||||
]
|
||||
};
|
||||
Reference in new issue
Block a user