Some updates
This commit is contained in:
1 parent
990cc4f53b
commit
fd26c428b1
4 files changed
+53
-8
No files matched your search
Generated
+31
-3
@@ -21,6 +21,8 @@
|
|||||||
"@angular/router": "^19.0.5",
|
"@angular/router": "^19.0.5",
|
||||||
"@angular/ssr": "^19.0.6",
|
"@angular/ssr": "^19.0.6",
|
||||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||||
|
"@ngx-translate/core": "^16.0.4",
|
||||||
|
"@ngx-translate/http-loader": "^16.0.1",
|
||||||
"@types/three": "^0.171.0",
|
"@types/three": "^0.171.0",
|
||||||
"axios": "^1.8.3",
|
"axios": "^1.8.3",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
@@ -4002,6 +4004,32 @@
|
|||||||
"webpack": "^5.54.0"
|
"webpack": "^5.54.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@ngx-translate/core": {
|
||||||
|
"version": "16.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-16.0.4.tgz",
|
||||||
|
"integrity": "sha512-s8llTL2SJvROhqttxvEs7Cg+6qSf4kvZPFYO+cTOY1d8DWTjlutRkWAleZcPPoeX927Dm7ALfL07G7oYDJ7z6w==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@angular/common": ">=16",
|
||||||
|
"@angular/core": ">=16"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@ngx-translate/http-loader": {
|
||||||
|
"version": "16.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-16.0.1.tgz",
|
||||||
|
"integrity": "sha512-xJEOUpvs6Zfc8G4cmQmegFOEpfYSoplTHHoisPNrATXjRBjpaKsBaPOXlZsuFUW2XV00s16gIyI4+9z1XkO5bw==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": "^2.3.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@angular/common": ">=16",
|
||||||
|
"@angular/core": ">=16"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@nodelib/fs.scandir": {
|
"node_modules/@nodelib/fs.scandir": {
|
||||||
"version": "2.1.5",
|
"version": "2.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
||||||
@@ -14673,9 +14701,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/webpack-dev-server/node_modules/http-proxy-middleware": {
|
"node_modules/webpack-dev-server/node_modules/http-proxy-middleware": {
|
||||||
"version": "2.0.7",
|
"version": "2.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.9.tgz",
|
||||||
"integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
|
"integrity": "sha512-c1IyJYLYppU574+YI7R4QyX2ystMtVXZwIdzazUIPIJsHuWNd+mho2j+bKoHftndicGj9yh+xjd+l0yj7VeT1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
"@angular/router": "^19.0.5",
|
"@angular/router": "^19.0.5",
|
||||||
"@angular/ssr": "^19.0.6",
|
"@angular/ssr": "^19.0.6",
|
||||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||||
|
"@ngx-translate/core": "^16.0.4",
|
||||||
|
"@ngx-translate/http-loader": "^16.0.1",
|
||||||
"@types/three": "^0.171.0",
|
"@types/three": "^0.171.0",
|
||||||
"axios": "^1.8.3",
|
"axios": "^1.8.3",
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
<div class="about-container">
|
<div class="about-container">
|
||||||
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||||
<h1>About Me</h1>
|
<h1 i18n="@@aboutTitle">About Me</h1>
|
||||||
<p class="subtitle">Hobby developer & designer</p>
|
<p class="subtitle" i18n="@@aboutSubtitle">Hobby developer & designer</p>
|
||||||
</div>
|
</div>
|
||||||
<hr class="rounded">
|
<hr class="rounded">
|
||||||
<div class="about-content">
|
<div class="about-content" [innerHTML]="'ABOUT_CONTENT' | translate">
|
||||||
<h1><code>itzMiney</code></h1>
|
<h1><code>itzMiney</code></h1>
|
||||||
<p>
|
<p>
|
||||||
Hello, I'm Michael, a developer and designer based in Austria. I specialize in frontend web development,
|
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 {routes} from './app.routes';
|
||||||
import {provideAnimationsAsync} from '@angular/platform-browser/animations/async';
|
import {provideAnimationsAsync} from '@angular/platform-browser/animations/async';
|
||||||
import {provideClientHydration, withEventReplay} from '@angular/platform-browser';
|
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 {AuthService} from './shared/services/auth.service';
|
||||||
import {AuthInterceptor} from './auth.interceptor';
|
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 = {
|
export const appConfig: ApplicationConfig = {
|
||||||
providers: [
|
providers: [
|
||||||
@@ -16,6 +22,15 @@ export const appConfig: ApplicationConfig = {
|
|||||||
provideClientHydration(withEventReplay()),
|
provideClientHydration(withEventReplay()),
|
||||||
provideHttpClient(),
|
provideHttpClient(),
|
||||||
AuthService,
|
AuthService,
|
||||||
AuthInterceptor
|
AuthInterceptor,
|
||||||
|
|
||||||
|
provideTranslate({
|
||||||
|
loader: {
|
||||||
|
provide: TranslateLoader,
|
||||||
|
useFactory: HttpLoaderFactory,
|
||||||
|
deps: [HttpClient]
|
||||||
|
},
|
||||||
|
defaultLanguage: 'en',
|
||||||
|
}),
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user