diff --git a/package-lock.json b/package-lock.json
index 60d47bd..741f27d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,6 +19,7 @@
"@ngx-translate/core": "^16.0.4",
"@ngx-translate/http-loader": "^16.0.1",
"axios": "^1.13.5",
+ "parallax-js": "^3.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
@@ -28,6 +29,7 @@
"@angular/cli": "^21.2.2",
"@angular/compiler-cli": "^21.2.4",
"@types/node": "^18.18.0",
+ "@types/parallax-js": "^3.1.3",
"typescript": "~5.9.3"
}
},
@@ -3844,6 +3846,13 @@
"undici-types": "~5.26.4"
}
},
+ "node_modules/@types/parallax-js": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@types/parallax-js/-/parallax-js-3.1.3.tgz",
+ "integrity": "sha512-pA2JQ+oqzMJ8TQiXjah3zkbMhd032mAvgbzu/nusQyKCpI6s8R/HT6zqsUXPXRXAgWBsrIpv+CCV2VND5nroNg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@yarnpkg/lockfile": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz",
@@ -6373,7 +6382,6 @@
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -6507,6 +6515,16 @@
"node": "^20.17.0 || >=22.9.0"
}
},
+ "node_modules/parallax-js": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/parallax-js/-/parallax-js-3.1.0.tgz",
+ "integrity": "sha512-UONoPKSQykeNvFcemDPxYYDU/T89LSffoaZAwOMhDp0ABhmFPwthgn2GrfB7An9Qo+8nPZIuQeZsh2pWn1qN3A==",
+ "license": "MIT",
+ "dependencies": {
+ "object-assign": "^4.1.1",
+ "raf": "^3.3.0"
+ }
+ },
"node_modules/parse5": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.0.tgz",
@@ -6632,6 +6650,12 @@
"url": "https://opencollective.com/express"
}
},
+ "node_modules/performance-now": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
+ "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
+ "license": "MIT"
+ },
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -6806,6 +6830,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/raf": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+ "license": "MIT",
+ "dependencies": {
+ "performance-now": "^2.1.0"
+ }
+ },
"node_modules/range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
diff --git a/package.json b/package.json
index 3a51943..b8435fb 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"@ngx-translate/core": "^16.0.4",
"@ngx-translate/http-loader": "^16.0.1",
"axios": "^1.13.5",
+ "parallax-js": "^3.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
@@ -29,6 +30,7 @@
"@angular/cli": "^21.2.2",
"@angular/compiler-cli": "^21.2.4",
"@types/node": "^18.18.0",
+ "@types/parallax-js": "^3.1.3",
"typescript": "~5.9.3"
},
"overrides": {
diff --git a/public/assets/triangle_tile.png b/public/assets/triangle_tile.png
new file mode 100644
index 0000000..b1282e1
Binary files /dev/null and b/public/assets/triangle_tile.png differ
diff --git a/public/assets/triangle_tile.svg b/public/assets/triangle_tile.svg
new file mode 100644
index 0000000..0f0324c
--- /dev/null
+++ b/public/assets/triangle_tile.svg
@@ -0,0 +1,148 @@
+
+
+
+
diff --git a/public/i18n/de.json b/public/i18n/de.json
index 936d5ac..dfba6e0 100644
--- a/public/i18n/de.json
+++ b/public/i18n/de.json
@@ -18,9 +18,10 @@
"FOOTER_IMP": "Impressum",
"FOOTER_PRIV": "Datenschutzerklärung",
- "TECHSTACK_LANGS": "< SPRACHEN >",
- "TECHSTACK_DBS": "< DATENBANKEN >",
- "TECHSTACK_TOOLS": "< WERKZEUGE >",
+ "TECHSTACK_SERVERS": "Web Server",
+ "TECHSTACK_LANGS": "Sprachen",
+ "TECHSTACK_DBS": "Datenbanken",
+ "TECHSTACK_TOOLS": "Wekzeuge",
"ABOUT_TITLE": "Wer ich bin",
"ABOUT_SUB": "Hobby Entwickler & Designer",
diff --git a/public/i18n/en.json b/public/i18n/en.json
index a363128..2a237fc 100644
--- a/public/i18n/en.json
+++ b/public/i18n/en.json
@@ -18,9 +18,10 @@
"FOOTER_IMP": "Imprint",
"FOOTER_PRIV": "Privacy Policy",
- "TECHSTACK_LANGS": "< LANGUAGES >",
- "TECHSTACK_DBS": "< DATABASES >",
- "TECHSTACK_TOOLS": "< TOOLS >",
+ "TECHSTACK_SERVERS": "Web Servers",
+ "TECHSTACK_LANGS": "Languages",
+ "TECHSTACK_DBS": "Databases",
+ "TECHSTACK_TOOLS": "Tools",
"ABOUT_TITLE": "About Me",
"ABOUT_SUB": "Hobby developer & designer",
diff --git a/src/app/about/about.component.css b/src/app/about/about.component.css
index 45df98d..a27a35f 100644
--- a/src/app/about/about.component.css
+++ b/src/app/about/about.component.css
@@ -9,16 +9,6 @@
}
}
-#vanta-about-bg {
- animation: fadeIn 1s ease-out;
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vw;
- z-index: -100;
-}
-
a {
text-decoration: none;
color: inherit;
@@ -29,43 +19,108 @@ a {
align-content: center;
justify-content: center;
display: flex;
+ flex-direction: column;
}
-.about-container {
+.content-bg {
position: relative;
- color: white;
- max-width: 900px;
- margin-bottom: 80px;
- font-family: 'Roboto', sans-serif;
- z-index: 1;
+ display: block;
+
}
.about-header {
+ display: flex;
+ color: white;
+ width: 100%;
+ height: calc(100vh - 50px);
+ justify-content: center;
+ align-items: center;
text-align: center;
}
+.title-box {
+ display: block;
+}
+
+.about-header h1 {
+ font-size: 5rem;
+ margin-bottom: 0;
+ font-weight: 700;
+ background: linear-gradient(45deg, #c3acff 0%, #a6ffb0 100%);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+}
+
.about-header .subtitle {
font-size: 1.2rem;
font-style: italic;
- margin-bottom: 30px;
+ margin-top: 5px;
}
-.about-header h1 {
- font-size: 2.5rem;
- background: transparent;
- border-bottom: 4px solid white;
- margin: 8px auto 8px auto;
- max-width: 220px;
- padding: 10px;
- border-radius: 45px;
+.down-arrow {
+ position: absolute;
+ cursor: pointer;
+ font-size: 4rem;
+ top: 75%;
+ animation:
+ arrowFadeIn 600ms ease-in-out forwards,
+ arrowFloat 1.4s ease-in-out 800ms infinite;
+}
+
+.down-arrow i {
+ transition: all 0.3s ease;
+}
+.down-arrow i:hover {
+ transform: scale(1.1);
+ color: #ff277a;
+}
+
+@keyframes arrowFadeIn {
+ from {
+ opacity: 0;
+ transform: translateY(-60px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+@keyframes arrowFloat {
+ 0% {
+ transform: translateY(0);
+ }
+ 50% {
+ transform: translateY(-6px);
+ }
+ 100% {
+ transform: translateY(0);
+ }
+}
+
+.separator {
+ width: 100%;
+ height: 50px;
+ background: linear-gradient(rgba(46, 41, 64, 0) 0%, #2e2940 100%);
+}
+.about-container {
+ max-width: 100%;
+ overflow: clip;
+ min-height: calc(100vh - 80px);
+ color: white;
+ background: #2e2940;
+ padding: 80px 0 0 0;
+ font-family: 'Roboto', sans-serif;
+ z-index: 1;
}
.about-content {
+ max-width: 900px;
+ margin: 0 auto;
+ padding: 0 25px;
font-size: 1.2rem;
line-height: 1.6;
- margin-bottom: 10px;
- text-align: center;
- justify-items: center;
}
.category {
@@ -85,11 +140,11 @@ a {
.tech-stack-title {
font-size: 1.4rem;
text-align: center;
- background: linear-gradient(135deg, #924dd3, #e43b68);
+ border: solid 4px white;
margin: 8px auto 20px auto;
max-width: 180px;
padding: 10px;
- border-radius: 30px;
+ border-radius: 35px;
}
.tech-stack {
diff --git a/src/app/about/about.component.html b/src/app/about/about.component.html
index 84da4f5..9b91438 100644
--- a/src/app/about/about.component.html
+++ b/src/app/about/about.component.html
@@ -1,19 +1,30 @@
-
+
+
-
-
diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts
index 77a437d..5b01764 100644
--- a/src/app/about/about.component.ts
+++ b/src/app/about/about.component.ts
@@ -1,50 +1,31 @@
-import {AfterViewInit, Component, OnDestroy, OnInit, PLATFORM_ID, Inject} from '@angular/core';
-import {isPlatformBrowser, NgStyle} from '@angular/common';
-import {VantaBackgroundService} from '../shared/services/vanta-background.service';
+import {Component, OnInit} 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';
@Component({
selector: 'app-about',
templateUrl: './about.component.html',
imports: [
- NgStyle,
- TranslatePipe
+ TranslatePipe,
+ ParallaxComponent
],
styleUrls: ['./about.component.css']
})
-export class AboutComponent implements OnInit, OnDestroy, AfterViewInit {
- private readonly elementId = 'vanta-about-bg';
+export class AboutComponent implements OnInit {
isMobile: boolean = false;
constructor(
- private vantaService: VantaBackgroundService,
private deviceService: DeviceDetectorService,
private titleService: Title,
- @Inject(PLATFORM_ID) private platformId: Object
) {}
ngOnInit() {
this.titleService.setTitle('itzMiney\'s Home');
this.isMobile = this.deviceService.isMobile;
- if (isPlatformBrowser(this.platformId)) {
- window.addEventListener('resize', this.onResize.bind(this));
- }
- }
- ngAfterViewInit() {
- this.vantaService.initVanta(this.elementId, {
- color: 0xa24d68,
- backgroundColor: 0x291c3c
- });
- }
- ngOnDestroy() {
- this.vantaService.destroyVanta(this.elementId);
- if (isPlatformBrowser(this.platformId)) {
- window.removeEventListener('resize', this.onResize);
- }
}
- onResize() {
- this.vantaService.resizeVanta(this.elementId);
+ scrollDown() {
+ document.getElementById('content')?.scrollIntoView({behavior: 'smooth'});
}
}
diff --git a/src/app/blog/article-page/article-page.component.css b/src/app/blog/article-page/article-page.component.css
index 6b92328..56fdaa0 100644
--- a/src/app/blog/article-page/article-page.component.css
+++ b/src/app/blog/article-page/article-page.component.css
@@ -9,15 +9,6 @@
}
}
-#vanta-article-bg {
- animation: fadeIn 1s ease-out;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: -100;
-}
.height-container {
display: flex;
min-height: 100vh;
@@ -68,7 +59,7 @@ h1 {
}
.content-container button {
- background-color: #713252;
+ background-color: #444893FF;
color: #fff;
border: none;
padding: 10px 20px;
@@ -81,7 +72,7 @@ h1 {
}
.content-container button:hover {
- background-color: #bf9bae;
+ background-color: #707ec5;
}
.error-message h1 {
@@ -99,7 +90,7 @@ h1 {
}
.error-message button {
- background-color: #713252;
+ background-color: #444893FF;
color: #fff;
border: none;
padding: 10px 20px;
diff --git a/src/app/blog/article-page/article-page.component.html b/src/app/blog/article-page/article-page.component.html
index 7d55b18..0ccb753 100644
--- a/src/app/blog/article-page/article-page.component.html
+++ b/src/app/blog/article-page/article-page.component.html
@@ -1,4 +1,10 @@
-
+
+
@if (!loading && article) {
diff --git a/src/app/blog/article-page/article-page.component.ts b/src/app/blog/article-page/article-page.component.ts
index df0b152..e0048bc 100644
--- a/src/app/blog/article-page/article-page.component.ts
+++ b/src/app/blog/article-page/article-page.component.ts
@@ -1,11 +1,10 @@
-import {AfterViewInit, Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild} from '@angular/core';
-import {DeviceDetectorService} from '../../shared/services/device-detector.service'
-import { DatePipe, isPlatformBrowser, NgStyle } from '@angular/common';
-import {VantaBackgroundService} from '../../shared/services/vanta-background.service';
+import {AfterViewInit, Component, ElementRef, OnInit, ViewChild} from '@angular/core';
+import { DatePipe, NgStyle } from '@angular/common';
import {ArticleService} from '../../shared/services/article.service';
import {ActivatedRoute} from '@angular/router';
import {Title} from '@angular/platform-browser';
import {TranslatePipe} from '@ngx-translate/core';
+import {ParallaxComponent} from '../../shared/parallax/parallax.component';
interface Article {
id: number;
@@ -24,17 +23,16 @@ interface Article {
imports: [
DatePipe,
NgStyle,
- TranslatePipe
-],
+ TranslatePipe,
+ ParallaxComponent
+ ],
templateUrl: './article-page.component.html',
styleUrl: './article-page.component.css'
})
-export class ArticlePageComponent implements OnInit, OnDestroy, AfterViewInit {
+export class ArticlePageComponent implements OnInit, AfterViewInit {
@ViewChild('articleContent') articleContent!: ElementRef
;
selectedImage: string | null = null;
private imagesProcessed = false;
- private readonly elementId = 'vanta-article-bg';
- isMobile: boolean = false;
article: Article | undefined;
currentArticle: any;
error: boolean = false;
@@ -42,18 +40,13 @@ export class ArticlePageComponent implements OnInit, OnDestroy, AfterViewInit {
loading: boolean = true;
constructor(
- private deviceService: DeviceDetectorService,
- private vantaService: VantaBackgroundService,
private articleService: ArticleService,
private titleService: Title,
- private route: ActivatedRoute,
- @Inject(PLATFORM_ID) private platformId: Object
+ private route: ActivatedRoute
) {
}
ngOnInit() {
- this.isMobile = this.deviceService.isMobile;
-
this.route.params.subscribe((params) => {
const slug = params['slug'];
if (slug) {
@@ -63,9 +56,6 @@ export class ArticlePageComponent implements OnInit, OnDestroy, AfterViewInit {
}
});
- if (isPlatformBrowser(this.platformId)) {
- window.addEventListener('resize', this.onResize.bind(this));
- }
const slug = this.route.snapshot.paramMap.get('slug') || '';
this.articleService.getArticleBySlug(slug).subscribe(
(article) => {
@@ -96,10 +86,6 @@ export class ArticlePageComponent implements OnInit, OnDestroy, AfterViewInit {
}
ngAfterViewInit() {
- this.vantaService.initVanta(this.elementId, {
- color: 0xac1f4e,
- backgroundColor: 0x191522
- });
this.makeImagesClickable();
this.imagesProcessed = true;
}
@@ -123,17 +109,6 @@ export class ArticlePageComponent implements OnInit, OnDestroy, AfterViewInit {
this.selectedImage = null;
}
- ngOnDestroy() {
- this.vantaService.destroyVanta(this.elementId);
- if (isPlatformBrowser(this.platformId)) {
- window.removeEventListener('resize', this.onResize);
- }
- }
-
- onResize() {
- this.vantaService.resizeVanta(this.elementId);
- }
-
loadTitleBySlug(slug: string) {
this.articleService.getArticleBySlug(slug).subscribe(
(article) => {
diff --git a/src/app/blog/blog.component.css b/src/app/blog/blog.component.css
index 78d31e1..7747e7e 100644
--- a/src/app/blog/blog.component.css
+++ b/src/app/blog/blog.component.css
@@ -9,16 +9,6 @@
}
}
-#vanta-blog-bg {
- animation: fadeIn 1s ease-out;
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- z-index: -100;
-}
-
.height-container {
display: flex;
flex-direction: column;
@@ -42,11 +32,12 @@
.blog-header h1 {
font-size: 2.5rem;
background: transparent;
- border-bottom: 4px solid white;
+ border-left: 6px solid white;
+ border-right: 6px solid white;
+ border-radius: 12px;
margin: 8px auto 8px auto;
max-width: 220px;
padding: 10px;
- border-radius: 45px;
}
.blog-container {
@@ -60,23 +51,24 @@
.article-card {
z-index: 10;
- background: linear-gradient(135deg, #501949, #93446e);
+ background: rgba(40, 41, 89, 0.5);
padding: 15px;
margin: 25px 0;
cursor: pointer;
- border-radius: 45px;
+ border: 4px solid white;
+ border-radius: 45px 25px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s, transform 0.2s;
}
.article-card:hover {
- background: linear-gradient(135deg, #cd376b, #592840);
+ background: linear-gradient(135deg, #4637cd, #282959);
transform: translateY(-5px);
}
h2 {
font-size: 1.6rem;
- color: #ffffff;
+ color: white;
}
p {
diff --git a/src/app/blog/blog.component.html b/src/app/blog/blog.component.html
index 1008cba..a8721fe 100644
--- a/src/app/blog/blog.component.html
+++ b/src/app/blog/blog.component.html
@@ -1,4 +1,10 @@
-
+
+