diff --git a/scripts/prerender-meta.js b/scripts/prerender-meta.js
index 15710b6..452da55 100644
--- a/scripts/prerender-meta.js
+++ b/scripts/prerender-meta.js
@@ -74,6 +74,13 @@ const staticMeta = {
url: 'https://itzminey.dev/tos',
color: '#eb284c'
},
+ '/privacy': {
+ title: 'Terms of Service | itzMiney',
+ description: 'My Terms of Service for the Freelancing work I provide',
+ image: 'https://meta.itzminey.dev/assets/ogimg.png',
+ url: 'https://itzminey.dev/tos',
+ color: '#eb284c'
+ },
'/imprint': {
title: 'Imprint | itzMiney',
description: 'Imprint and Contact',
@@ -104,8 +111,6 @@ async function fetchDynamicMeta() {
return articles.reduce((acc, article) => {
const createdAt = new Date(article.createdAt);
-
- // Format the date directly using toLocaleDateString
const formattedCreatedAt = createdAt.toLocaleDateString('en-US', {
month: 'short',
day: '2-digit',
@@ -113,18 +118,17 @@ async function fetchDynamicMeta() {
hour: '2-digit',
minute: '2-digit',
hour12: false,
- })
+ });
const description = `By ${article.authorName} | Article from ${formattedCreatedAt}`;
-
- acc[`/blog/${article.slug}`] = {
- title: article.title,
- description: description,
- image: 'https://meta.itzminey.dev/assets/ogimg.png',
- url: `https://itzminey.dev/blog/${article.slug}`,
- color: '#eb284c',
- };
- return acc;
+ acc[`/blog/${article.slug}`] = {
+ title: article.title,
+ description,
+ image: 'https://meta.itzminey.dev/assets/ogimg.png',
+ url: `https://itzminey.dev/blog/${article.slug}`,
+ color: '#eb284c',
+ };
+ return acc;
}, {});
} catch (error) {
console.error('Error fetching dynamic metadata:', error);
diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts
index 52b09df..abb6a99 100644
--- a/src/app/app.routes.ts
+++ b/src/app/app.routes.ts
@@ -11,6 +11,7 @@ import {ServicesComponent} from './services/services.component';
import {TosComponent} from './tos/tos.component';
import {ImprintComponent} from './imprint/imprint.component';
import {ShortenerComponent} from './shortener/shortener.component';
+import {PrivacyComponent} from './privacy/privacy.component';
export const routes: Routes = [
{ path: '', component: AboutComponent },
@@ -22,6 +23,7 @@ export const routes: Routes = [
{ path: 'socials', component: SocialsComponent },
{ path: 'services', component: ServicesComponent },
{ path: 'tos', component: TosComponent },
+ { path: 'privacy', component: PrivacyComponent },
{ path: 'imprint', component: ImprintComponent },
{ path: 'blog/:slug', component: ArticlePageComponent },
{ path: 'shortener', component: ShortenerComponent },
diff --git a/src/app/privacy/privacy.component.css b/src/app/privacy/privacy.component.css
new file mode 100644
index 0000000..ea8b49e
--- /dev/null
+++ b/src/app/privacy/privacy.component.css
@@ -0,0 +1,150 @@
+@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ visibility: hidden;
+ }
+ 100% {
+ opacity: 1;
+ visibility: visible;
+ }
+}
+
+#vanta-privacy-bg {
+ animation: fadeIn 1s ease-out;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100vw; /* Full viewport width */
+ height: 100vh; /* Full viewport height */
+ z-index: -100; /* Place the background behind content */
+}
+
+.privacy-container {
+ position: relative;
+ color: white;
+ padding-bottom: 60px;
+ max-width: 960px;
+ margin: 160px auto 80px auto;
+ font-family: 'Roboto', sans-serif;
+}
+
+.height-container {
+ min-height: 100vh;
+ align-content: center;
+}
+
+.privacy-content {
+ font-weight: 400;
+ margin-bottom: 10px;
+ font-family: Roboto, sans-serif;
+}
+
+.contact-details {
+ list-style-type: none;
+}
+
+.text-content li {
+ margin-bottom: 10px;
+}
+
+.text-content a {
+ color: cornflowerblue;
+}
+
+@media (max-width: 768px) {
+ .privacy-container {
+ padding: 20px 10px;
+ }
+
+ .privacy-header h1 {
+ font-size: 2rem;
+ }
+}
+
+.floating-nav.hidden {
+ display: none;
+}
+
+.floating-nav {
+ position: fixed;
+ top: 20%;
+ right: 0;
+ z-index: 1000;
+ background: transparent;
+ padding: 25px;
+ border-radius: 5px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+}
+
+.floating-nav ul {
+ list-style-type: none;
+ padding: 0;
+}
+
+.floating-nav li {
+ margin: 10px 0;
+}
+
+.floating-nav a {
+ text-decoration: none;
+ color: white;
+}
+
+.floating-nav a:hover {
+ color: #e3485a;
+}
+
+.floating-nav a.active {
+ color: #846cd1;
+}
+
+.clickable-title {
+ position: relative;
+ cursor: pointer;
+ display: inline-block;
+}
+
+.clickable-title:hover {
+ color: #ddd3ff;
+}
+
+.clickable-title:active {
+ color: #9179e8;
+}
+
+.clickable-title .link-icon {
+ font-size: 16px;
+ margin-left: 8px;
+ opacity: 0;
+ transition: opacity 0.3s ease;
+}
+
+.clickable-title:hover .link-icon {
+ opacity: 1;
+}
+
+.copied-text {
+ font-size: 16px;
+ font-family: Roboto, sans-serif;
+ font-weight: 500;
+ color: #7fd67f;
+ margin-left: 8px;
+}
+
+.contact-details span {
+ margin-right: 10px;
+ margin-left: 10px;
+ cursor: pointer;
+}
+
+.contact-details span:hover {
+ color: cornflowerblue;
+}
+
+.contact-details span:active {
+ color: mediumpurple;
+}
+
+.copy-status {
+ color: #7fd67f;
+}
diff --git a/src/app/privacy/privacy.component.html b/src/app/privacy/privacy.component.html
new file mode 100644
index 0000000..a7f102e
--- /dev/null
+++ b/src/app/privacy/privacy.component.html
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+ Privacy Policy
+ Last updated: 9th June 2025
+
+
+ 1. Controller of the Data
+
+ Copied!
+
+ The controller responsible for processing data on this website is:Michael Reisinger michael@itzminey.dev
+
+
+
+
+
+ 2. What Data We Collect
+
+ Copied!
+
+ a) Website Usage Data
+
+ We may temporarily process your IP address when you visit certain pages, such as article views. This is done solely to protect the integrity of view counts and prevent automated abuse. This data is stored securely and is not retained longer than necessary.
+
+ We do not use cookies for tracking or analytics purposes.
+
+ b) Email Inquiries
+
+ If you contact us via the email address provided on the website, we may store your message and contact information in order to respond to your inquiry or provide the requested service. This data is treated as confidential and will not be shared with third parties without your consent.
+
+
+
+
+
+ 3. Purpose and Legal Basis
+
+ Copied!
+
+ We process personal data on the basis of legitimate interest (Art. 6(1)(f) GDPR), namely:
+
+ To maintain and protect the integrity of our website
+ To respond to your inquiries and service requests
+
+
+
+
+
+
+ 4. Data Retention
+
+ Copied!
+
+ Personal data is retained only as long as necessary for the stated purposes. Email correspondence may be retained for legal or administrative reasons, such as fulfilling service requests or maintaining communication history.
+
+
+
+
+
+ 5. Your Rights
+
+ Copied!
+
+ Under the GDPR, you have the right to:
+
+ Access your personal data
+ Request correction or deletion
+ Object to or restrict processing
+ Lodge a complaint with your local data protection authority (in Austria, DSB - Datenschutzbehörde )
+
+ To exercise these rights, please contact us at the email listed above.
+
+
+
+
+
+ 6. Security
+
+ Copied!
+
+ We take appropriate technical and organizational measures to protect your personal data from unauthorized access, misuse, or loss.
+
+
+
+
+
+ 7. Changes
+
+ Copied!
+
+ This policy may be updated occasionally to reflect changes in our practices. The latest version will always be available on this page.
+
+
+
+
diff --git a/src/app/privacy/privacy.component.ts b/src/app/privacy/privacy.component.ts
new file mode 100644
index 0000000..7d00c69
--- /dev/null
+++ b/src/app/privacy/privacy.component.ts
@@ -0,0 +1,132 @@
+import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core';
+import {VantaBackgroundService} from '../shared/services/vanta-background.service';
+import {DeviceDetectorService} from '../shared/services/device-detector.service';
+import {Title} from '@angular/platform-browser';
+import {isPlatformBrowser, NgIf} from '@angular/common';
+
+@Component({
+ selector: 'app-services',
+ imports: [
+ NgIf
+ ],
+ templateUrl: './privacy.component.html',
+ styleUrl: './privacy.component.css'
+})
+
+export class PrivacyComponent implements OnInit, OnDestroy, AfterViewInit {
+ private readonly elementId = 'vanta-privacy-bg';
+ isMobile: boolean = false;
+ activeSection: string = '';
+ copiedSection: string | null = null;
+
+ constructor(
+ private vantaService: VantaBackgroundService,
+ private deviceService: DeviceDetectorService,
+ private titleService: Title,
+ @Inject(PLATFORM_ID) private platformId: Object
+ ) {}
+
+ scrollToSection(event: Event, targetId: string): void {
+ event.preventDefault();
+
+ const target = document.getElementById(targetId);
+
+ if (target) {
+ window.scrollTo({
+ top: target.offsetTop + 80,
+ behavior: 'smooth'
+ });
+ }
+ }
+
+ ngOnInit() {
+ this.titleService.setTitle('Privacy Policy | itzMiney');
+ this.isMobile = this.deviceService.isMobile;
+ if (isPlatformBrowser(this.platformId)) {
+ window.addEventListener('resize', this.onResize.bind(this));
+ }
+ }
+
+ ngAfterViewInit() {
+ this.vantaService.initVanta(this.elementId, {
+ color: 0x5b417a,
+ backgroundColor: 0x41e3c
+ });
+ this.initScrollTracking();
+ }
+ ngOnDestroy() {
+ this.vantaService.destroyVanta(this.elementId);
+ if (isPlatformBrowser(this.platformId)) {
+ window.removeEventListener('resize', this.onResize);
+ }
+ }
+
+ onResize() {
+ this.vantaService.resizeVanta(this.elementId);
+ }
+
+ initScrollTracking(): void {
+ const sections = Array.from(document.querySelectorAll('section')) as HTMLElement[];
+
+ const updateActiveSection = () => {
+ let closestSection: string | null = null;
+ let minDistance = Number.MAX_VALUE;
+
+ const viewportCenter = window.scrollY + window.innerHeight / 10;
+
+ sections.forEach(section => {
+ const rect = section.getBoundingClientRect();
+ const sectionTop = window.scrollY + rect.top;
+ const distance = Math.abs(viewportCenter - sectionTop);
+
+ if (distance < minDistance) {
+ minDistance = distance;
+ closestSection = section.id;
+ }
+ });
+
+ if (closestSection && closestSection !== this.activeSection) {
+ this.activeSection = closestSection;
+
+ document.querySelectorAll('.floating-nav a').forEach(link => {
+ link.classList.remove('active');
+ });
+
+ const activeLink = document.querySelector(`a[href="#${closestSection}"]`);
+ if (activeLink) {
+ activeLink.classList.add('active');
+ }
+ }
+
+ requestAnimationFrame(updateActiveSection);
+ };
+
+ requestAnimationFrame(updateActiveSection);
+ }
+
+ copySectionLink(sectionId: string): void {
+ const url = `${window.location.origin}${window.location.pathname}#${sectionId}`;
+ navigator.clipboard.writeText(url).then(() => {
+ this.copiedSection = sectionId;
+
+ setTimeout(() => {
+ this.copiedSection = null;
+ }, 2000);
+ });
+ }
+
+ copyToClipboard(text: string): void {
+ navigator.clipboard.writeText(text).then(() => {
+ if (text.includes('@')) {
+ this.copiedSection = 'email';
+ } else if (text.includes('+')) {
+ this.copiedSection = 'phone';
+ }
+
+ // Reset the copied section after 2 seconds
+ setTimeout(() => {
+ this.copiedSection = null;
+ }, 2000);
+ });
+ }
+}
diff --git a/src/app/shared/footer/footer.component.html b/src/app/shared/footer/footer.component.html
index bf69f4c..f2dd131 100644
--- a/src/app/shared/footer/footer.component.html
+++ b/src/app/shared/footer/footer.component.html
@@ -1,6 +1,6 @@
© 2024 itzMiney
- Terms of Service • Imprint
+ Terms of Service • Imprint • Privacy Policy
diff --git a/src/app/tos/tos.component.html b/src/app/tos/tos.component.html
index d2b1db7..94aca4d 100644
--- a/src/app/tos/tos.component.html
+++ b/src/app/tos/tos.component.html
@@ -105,7 +105,7 @@
Copied!
-
e offer 5 rounds of revisions as part of the project. Additional revisions will incur a fee of 20 EUR per revision.
+
We offer 5 rounds of revisions as part of the project. Additional revisions will incur a fee of 20 EUR per revision.