Changed everything to use translate pipeline instead of hardcoded text and added german translations

This commit is contained in:
itzMiney committed 2025-06-11 01:08:36 +02:00
1 parent 5c7f0074f3
commit cfa971f856
33 files changed
+758 -321

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@
text-align: center;
}
.text-content a {
::ng-deep .text-content a {
color: cornflowerblue;
}
+3 -9
View File
@@ -2,18 +2,12 @@
<div class="height-container">
<div class="portfolio-container">
<div class="portfolio-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
<h1>My Portfolio</h1>
<p class="subtitle">Projects & Designs</p>
<h1>{{ 'PORTF_TITLE' | translate }}</h1>
<p class="subtitle">{{ 'PORTF_SUB' | translate }}</p>
</div>
<hr class="rounded">
<div class="text-content">
<p>
Welcome to my portfolio!<br><br>
I mostly do modern graphic designs since a couple years now,
but I'm also getting better at coding and you might soon see a couple little coding projects from my <a href="https://github.com/itzminey" target="_blank">GitHub</a> listed here too!<br>
If you like what I do consider following me on my <a href="/socials">Socials</a> and if you feel really generous leave a tip on my <a href="https://ko-fi.com/itzminey" target="_blank">Ko-Fi</a>!<br>
You can also commission me to make designs for you, just click on the button below!
</p>
<p [innerHTML]="'PORTFOLIO' | translate"></p>
</div>
<div class="commission-button">
<a href="https://ko-fi.com/itzminey/commissions" target="_blank">
+3 -1
View File
@@ -4,12 +4,14 @@ import {DeviceDetectorService} from '../shared/services/device-detector.service'
import {isPlatformBrowser, NgStyle} from '@angular/common';
import {Title} from '@angular/platform-browser';
import {AudioPlayerComponent} from '../shared/audio-player/audio-player.component';
import {TranslatePipe} from '@ngx-translate/core';
@Component({
selector: 'app-portfolio',
imports: [
NgStyle,
AudioPlayerComponent
AudioPlayerComponent,
TranslatePipe
],
templateUrl: './portfolio.component.html',
styleUrl: './portfolio.component.css'