diff --git a/public/i18n/de.json b/public/i18n/de.json index b40da05..aceeab1 100644 --- a/public/i18n/de.json +++ b/public/i18n/de.json @@ -30,7 +30,7 @@ "SOCIALS_SUB": "Man kann mich an vielen Orten finden", "SOCIALS_GAMES": "Spiele", - "SOCIALS_COMMS": "Spenden und Freelance Aufträge", + "SOCIALS_COMMS": "Spenden", "SERVS_TITLE": "Leistungen", "SERVS": "Willkommen!

Hier kannst du Freelance-Leistungen von mir in Web-Development and Design beauftragen!
Sieh dir auch gerne mein Portfolio an um meine bisherige Arbeiten zu betrachten. Wenn dir gefällt was ich tue, würde ich mich sehr freuen über einen Auftrag von dir zu einer der Leistungen die ich hier anbiete!
Wenn du dich interressierst, schick mir gerne eine E-Mail an michael@itzminey.dev mit der Leistung die du beantragen willst, zusammen mit allen relevanten Details und Spezifikationen.
Bitte kontaktiere mich auch unter der oben genannten E-Mail-Adresse oder über die Kontaktschaltfläche unten, um einen genauen Kostenvoranschlag zu erhalten oder ein individuelles Pauschalpaket zu besprechen, das auf deine spezifischen Bedürfnisse zugeschnitten ist.", diff --git a/public/i18n/en.json b/public/i18n/en.json index 9a1fff5..d013c0f 100644 --- a/public/i18n/en.json +++ b/public/i18n/en.json @@ -31,7 +31,7 @@ "SOCIALS_SUB": "You can find me in a lotta places", "SOCIALS_GAMES": "Games", - "SOCIALS_COMMS": "Donations & Commissions", + "SOCIALS_COMMS": "Donations", "SERVS_TITLE": "My Services", "SERVS": "Welcome!

Here is where I offer freelance services in web development and design!
Feel free to check out my Portfolio to see some of my previous work. If you like what I do consider commissioning my services that I offer for various prices and tiers here on this site!
If you're interested, feel free to email me at michael@itzminey.dev with the service you're requesting, along with any relevant details and specifications.
Please also contact me at the above mail or with the contact button below for a precise estimate or to discuss a customized flat-rate package tailored to your specific needs.", diff --git a/src/app/about/about.component.css b/src/app/about/about.component.css index 7a3d66f..78a2954 100644 --- a/src/app/about/about.component.css +++ b/src/app/about/about.component.css @@ -43,7 +43,6 @@ a { } .about-header h1 { - font-size: 5rem; margin-bottom: 0; font-weight: 700; background: linear-gradient(45deg, #c3acff 0%, #a6ffb0 100%); @@ -121,7 +120,6 @@ a { .about-content { max-width: 900px; margin: 0 auto; - padding: 0 25px; font-size: 1.2rem; line-height: 1.6; } @@ -158,29 +156,29 @@ a { .terminal-bg { background: #1b1920; - padding: 2px 22px 11px 22px; + padding: 8px 22px 11px 22px; margin: 0 0 80px 0; border-radius: 0 0 20px 20px; } .terminal-bg h2 { - line-height: 0.5; + line-height: 1.2; + margin: 8px 0; } .terminal-bg a.secret { color: white; } -::ng-deep.terminal-bg a { +.terminal-bg a { color: #cb84df; } -::ng-deep.terminal-bg p { +.terminal-bg p { font-size: 1rem; } .cursorblink { - margin-left: 8px; animation: cursorBlink 1.25s infinite; } diff --git a/src/app/about/about.component.html b/src/app/about/about.component.html index 8adb95f..404a3a6 100644 --- a/src/app/about/about.component.html +++ b/src/app/about/about.component.html @@ -8,7 +8,7 @@
-

itzMiney

+

itzMiney

{{ 'ABOUT_SUB' | translate}}

@@ -18,7 +18,7 @@
-
+

Konsole

🟡 🟣 🔴

@@ -60,7 +60,7 @@
-

$█

+

$ █

diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts index 5b01764..bd61616 100644 --- a/src/app/about/about.component.ts +++ b/src/app/about/about.component.ts @@ -1,15 +1,18 @@ -import {Component, OnInit} from '@angular/core'; +import {Component, OnInit, ViewEncapsulation} from '@angular/core'; import {DeviceDetectorService} from '../shared/services/device-detector.service'; import {Title} from '@angular/platform-browser'; import {TranslatePipe} from '@ngx-translate/core'; import {ParallaxComponent} from '../shared/parallax/parallax.component'; +import {NgStyle} from '@angular/common'; @Component({ selector: 'app-about', + encapsulation: ViewEncapsulation.None, templateUrl: './about.component.html', imports: [ TranslatePipe, - ParallaxComponent + ParallaxComponent, + NgStyle ], styleUrls: ['./about.component.css'] }) diff --git a/src/app/blog/article-page/article-page.component.css b/src/app/blog/article-page/article-page.component.css index 56fdaa0..093afae 100644 --- a/src/app/blog/article-page/article-page.component.css +++ b/src/app/blog/article-page/article-page.component.css @@ -1,14 +1,3 @@ -@keyframes fadeIn { - 0% { - opacity: 0; - visibility: hidden; - } - 100% { - opacity: 1; - visibility: visible; - } -} - .height-container { display: flex; min-height: 100vh; @@ -124,15 +113,16 @@ h1 { animation: spin 1s linear infinite; } -::ng-deep img { +.article-content img { max-width: 90%; padding: 15px; border-radius: 35px; height: auto; box-sizing: border-box; + cursor: pointer; } -::ng-deep .gallery { +.article-content .gallery { display: grid; max-width: 90vw; grid-template-columns: repeat(3, 1fr); @@ -141,14 +131,14 @@ h1 { padding: 15px; } -::ng-deep .gallery img { +.article-content .gallery img { width: 100%; height: auto; border-radius: 20px; object-fit: cover; } -::ng-deep .modal { +.modal { position: fixed; top: 0; left: 0; @@ -158,22 +148,55 @@ h1 { display: flex; justify-content: center; align-items: center; - animation: fadeIn 0.3s ease forwards; z-index: 1000; cursor: pointer; } -::ng-deep .modal img { +.modal img { max-width: 80%; max-height: 80%; border-radius: 20px; object-fit: contain; } -@keyframes fadeIn { +.modal-enter { + animation: modalFadeIn 0.25s ease forwards; +} + +.modal-leave { + animation: modalFadeOut 0.25s ease forwards; +} + +.modal-image-enter { + animation: modalImageIn 0.25s ease forwards; +} + +.modal-image-leave { + animation: modalImageOut 0.25s ease forwards; +} + +@keyframes modalFadeIn { from { opacity: 0; - transform: scale(0.95); /* optional: slight zoom effect */ + } + to { + opacity: 1; + } +} + +@keyframes modalFadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } +} + +@keyframes modalImageIn { + from { + opacity: 0; + transform: scale(0.95); } to { opacity: 1; @@ -181,6 +204,17 @@ h1 { } } +@keyframes modalImageOut { + from { + opacity: 1; + transform: scale(1); + } + to { + opacity: 0; + transform: scale(0.95); + } +} + @keyframes spin { 0% { transform: rotate(0deg); @@ -191,13 +225,13 @@ h1 { } @media (max-width: 768px) { - ::ng-deep .gallery img { + .article-content .gallery img { flex: 1 1 calc(50% - 15px); } } @media (max-width: 480px) { - ::ng-deep .gallery img { + .article-content .gallery img { gap: 0; padding: 0; flex: 1 1 100%; @@ -205,13 +239,13 @@ h1 { } @media (max-width: 480px) { - ::ng-deep img { + .article-content img { max-width: 98%; } } @media (max-width: 480px) { - ::ng-deep .modal img { + .modal img { max-width: 95%; max-height: 95%; } diff --git a/src/app/blog/article-page/article-page.component.html b/src/app/blog/article-page/article-page.component.html index 0ccb753..3b0310e 100644 --- a/src/app/blog/article-page/article-page.component.html +++ b/src/app/blog/article-page/article-page.component.html @@ -6,16 +6,24 @@ ">
- @if (!loading && article) { + + @if (loading) { +
+
+
+ } @else if (article) { +
-

{{ article.title }}

- -
+
-
- + @if (selectedImage) { - - } @else { - @if (!loading && error) { -
-

404

-

{{ 'ARTICLE_NOTFOUND' | translate }}

- -
- } - } - - @if (loading) { -
-
+ } @else if (error) { + +
+

404

+

{{ 'ARTICLE_NOTFOUND' | translate }}

+
} -
diff --git a/src/app/portfolio/portfolio.component.css b/src/app/portfolio/portfolio.component.css index a014c54..86d7372 100644 --- a/src/app/portfolio/portfolio.component.css +++ b/src/app/portfolio/portfolio.component.css @@ -107,8 +107,8 @@ text-align: center; } -::ng-deep .text-content a { - color: cornflowerblue; +.text-content a { + color: #cb84df; } .modal-backdrop { @@ -165,6 +165,54 @@ background-color: #ef85a4; } +.fade-in { + animation: fadeIn 250ms ease-out forwards; +} + +.fade-out { + animation: fadeOut 200ms ease-in forwards; +} + +.modal-enter { + animation: modalEnter 250ms ease-out forwards; +} + +.modal-leave { + animation: modalLeave 200ms ease-in forwards; +} + +@keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +@keyframes fadeOut { + from { opacity: 1; } + to { opacity: 0; } +} + +@keyframes modalEnter { + from { + opacity: 0; + transform: scale(0.95) translateY(10px); + } + to { + opacity: 1; + transform: scale(1) translateY(0); + } +} + +@keyframes modalLeave { + from { + opacity: 1; + transform: scale(1); + } + to { + opacity: 0; + transform: scale(0.95) translateY(10px); + } +} + hr.rounded { border: 2px solid white; width: 40px; diff --git a/src/app/portfolio/portfolio.component.html b/src/app/portfolio/portfolio.component.html index 7afdfa1..9d3237d 100644 --- a/src/app/portfolio/portfolio.component.html +++ b/src/app/portfolio/portfolio.component.html @@ -31,8 +31,18 @@
@if (showModal) { -