diff --git a/scripts/prerender-meta.js b/scripts/prerender-meta.js index 4ca71d6..817bc35 100644 --- a/scripts/prerender-meta.js +++ b/scripts/prerender-meta.js @@ -32,6 +32,13 @@ const staticMeta = { url: 'https://itzminey.dev/socials', color: '#eb284c' }, + '/services': { + title: 'Services | itzMiney', + description: 'All the Services I offer are listed here!', + image: 'https://meta.itzminey.dev/assets/ogimg.png', + url: 'https://itzminey.dev/services', + color: '#eb284c' + }, '/blog': { title: 'Blog | itzMiney', description: 'Welcome to my blog! I\'ll post occasional updates here on the stuff I\'m currently up to.', @@ -60,6 +67,20 @@ const staticMeta = { url: 'https://itzminey.dev/404', color: '#eb284c', }, + '/tos': { + 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', + image: 'https://meta.itzminey.dev/assets/ogimg.png', + url: 'https://itzminey.dev/imprint', + color: '#eb284c' + } }; // Output directory for pre-rendered metadata diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts index 14a6fcf..678efea 100644 --- a/src/app/about/about.component.ts +++ b/src/app/about/about.component.ts @@ -1,7 +1,7 @@ import {AfterViewInit, Component, OnDestroy, OnInit, PLATFORM_ID, Inject} from '@angular/core'; import {isPlatformBrowser, NgStyle} from '@angular/common'; -import {VantaBackgroundService} from '../services/vanta-background.service'; -import {DeviceDetectorService} from '../services/device-detector.service'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; +import {DeviceDetectorService} from '../shared/services/device-detector.service'; import {Title} from '@angular/platform-browser'; @Component({ diff --git a/src/app/admin/admin.component.ts b/src/app/admin/admin.component.ts index 719b863..17f1bb9 100644 --- a/src/app/admin/admin.component.ts +++ b/src/app/admin/admin.component.ts @@ -1,11 +1,11 @@ import {Component, OnInit} from '@angular/core'; import {Router} from '@angular/router'; -import {ArticleService} from '../services/article.service'; -import {UserService} from '../services/user.service'; +import {ArticleService} from '../shared/services/article.service'; +import {UserService} from '../shared/services/user.service'; import {NgFor, NgIf, NgStyle} from '@angular/common'; import { Observer} from 'rxjs'; import {FormsModule} from '@angular/forms'; -import {DeviceDetectorService} from '../services/device-detector.service'; +import {DeviceDetectorService} from '../shared/services/device-detector.service'; import {Title} from '@angular/platform-browser'; import {ModalComponent} from '../shared/modal/modal.component'; diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5948380..a75662b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -4,7 +4,7 @@ import {ActivatedRoute, Router, RouterOutlet} from '@angular/router'; import {NavbarComponent} from './shared/navbar/navbar.component'; import {MobileNavbarComponent} from './shared/mobile-navbar/mobile-navbar.component'; import {FooterComponent} from './shared/footer/footer.component'; -import {DeviceDetectorService} from './services/device-detector.service'; +import {DeviceDetectorService} from './shared/services/device-detector.service'; @Component({ selector: 'app-root', diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 4f3c212..266ef6b 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -5,7 +5,7 @@ import {routes} from './app.routes'; import {provideAnimationsAsync} from '@angular/platform-browser/animations/async'; import {provideClientHydration, withEventReplay} from '@angular/platform-browser'; import {provideHttpClient} from '@angular/common/http'; -import {AuthService} from './services/auth.service'; +import {AuthService} from './shared/services/auth.service'; import {AuthInterceptor} from './auth.interceptor'; export const appConfig: ApplicationConfig = { diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 03043df..d968b19 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -7,6 +7,9 @@ import {LoginComponent} from './login/login.component'; import {AdminComponent} from './admin/admin.component'; import {ArticlePageComponent} from './blog/article-page/article-page.component'; import {SocialsComponent} from './socials/socials.component'; +import {ServicesComponent} from './services/services.component'; +import {TosComponent} from './tos/tos.component'; +import {ImprintComponent} from './imprint/imprint.component'; export const routes: Routes = [ { path: '', component: AboutComponent }, @@ -16,6 +19,9 @@ export const routes: Routes = [ { path: 'login', component: LoginComponent }, { path: 'admin', component: AdminComponent }, { path: 'socials', component: SocialsComponent }, + { path: 'services', component: ServicesComponent }, + { path: 'tos', component: TosComponent }, + { path: 'imprint', component: ImprintComponent }, { path: 'blog/:slug', component: ArticlePageComponent }, { path: '**', pathMatch: 'full', component: NotFoundComponent } ]; diff --git a/src/app/blog/article-page/article-page.component.ts b/src/app/blog/article-page/article-page.component.ts index 26f0bc5..6f3787a 100644 --- a/src/app/blog/article-page/article-page.component.ts +++ b/src/app/blog/article-page/article-page.component.ts @@ -1,8 +1,8 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; -import {DeviceDetectorService} from '../../services/device-detector.service' +import {DeviceDetectorService} from '../../shared/services/device-detector.service' import {DatePipe, isPlatformBrowser, NgIf, NgStyle} from '@angular/common'; -import {VantaBackgroundService} from '../../services/vanta-background.service'; -import {ArticleService} from '../../services/article.service'; +import {VantaBackgroundService} from '../../shared/services/vanta-background.service'; +import {ArticleService} from '../../shared/services/article.service'; import {ActivatedRoute} from '@angular/router'; import {Title} from '@angular/platform-browser'; diff --git a/src/app/blog/blog.component.ts b/src/app/blog/blog.component.ts index 4338fa7..8cb61e1 100644 --- a/src/app/blog/blog.component.ts +++ b/src/app/blog/blog.component.ts @@ -1,8 +1,8 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; -import {DeviceDetectorService} from '../services/device-detector.service' +import {DeviceDetectorService} from '../shared/services/device-detector.service' import {DatePipe, isPlatformBrowser, NgIf, NgFor, AsyncPipe, SlicePipe, NgStyle} from '@angular/common'; -import {VantaBackgroundService} from '../services/vanta-background.service'; -import { ArticleService } from '../services/article.service'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; +import { ArticleService } from '../shared/services/article.service'; import { Router } from '@angular/router'; import {Observable} from 'rxjs'; import {Title} from '@angular/platform-browser'; diff --git a/src/app/imprint/imprint.component.css b/src/app/imprint/imprint.component.css new file mode 100644 index 0000000..345a2c0 --- /dev/null +++ b/src/app/imprint/imprint.component.css @@ -0,0 +1,85 @@ +@keyframes fadeIn { + 0% { + opacity: 0; + visibility: hidden; + } + 100% { + opacity: 1; + visibility: visible; + } +} + +#vanta-imprint-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 */ +} + +.imprint-container { + position: relative; + color: white; + padding-bottom: 60px; + max-width: 960px; + margin: 0 auto; + font-family: 'Roboto', sans-serif; +} + +.height-container { + min-height: 100vh; + align-content: center; +} + +.text-content { + font-weight: 400; + margin-bottom: 10px; + font-family: Roboto, sans-serif; +} + +.text-content ul { + list-style-type: none; +} + +.text-content li { + margin-bottom: 10px; +} + +.text-content a { + color: cornflowerblue; +} + +.text-content button { + background: none; + border: none; +} + +.text-content span { + margin-right: 10px; + margin-left: 10px; + cursor: pointer; +} + +.text-content span:hover { + color: cornflowerblue; +} + +.text-content span:active { + color: mediumpurple; +} + +.copy-status { + color: #7fd67f; +} + +@media (max-width: 768px) { + .imprint-container { + padding: 20px 10px; + } + + .imprint-header h1 { + font-size: 2rem; + } +} diff --git a/src/app/imprint/imprint.component.html b/src/app/imprint/imprint.component.html new file mode 100644 index 0000000..a11e690 --- /dev/null +++ b/src/app/imprint/imprint.component.html @@ -0,0 +1,21 @@ +
+
+
+
+

Imprint

+

This website is ran by Michael Reisinger in Austria, reachable via:

+ +
+
+
diff --git a/src/app/imprint/imprint.component.ts b/src/app/imprint/imprint.component.ts new file mode 100644 index 0000000..c4e9f90 --- /dev/null +++ b/src/app/imprint/imprint.component.ts @@ -0,0 +1,63 @@ +import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; +import {Title} from '@angular/platform-browser'; +import {isPlatformBrowser, NgIf} from '@angular/common'; + +@Component({ + selector: 'app-services', + imports: [ + NgIf + ], + templateUrl: './imprint.component.html', + styleUrl: './imprint.component.css' +}) + +export class ImprintComponent implements OnInit, OnDestroy, AfterViewInit { + private readonly elementId = 'vanta-imprint-bg'; + copiedSection: string | null = null; + + constructor( + private vantaService: VantaBackgroundService, + private titleService: Title, + @Inject(PLATFORM_ID) private platformId: Object + ) {} + + ngOnInit() { + this.titleService.setTitle('Imprint | itzMiney'); + if (isPlatformBrowser(this.platformId)) { + window.addEventListener('resize', this.onResize.bind(this)); + } + } + + ngAfterViewInit() { + this.vantaService.initVanta(this.elementId, { + color: 0x5b417a, + backgroundColor: 0x41e3c + }); + } + ngOnDestroy() { + this.vantaService.destroyVanta(this.elementId); + if (isPlatformBrowser(this.platformId)) { + window.removeEventListener('resize', this.onResize); + } + } + + onResize() { + this.vantaService.resizeVanta(this.elementId); + } + + 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/login/login.component.ts b/src/app/login/login.component.ts index f4d93b1..9e668cf 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -1,10 +1,10 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; -import {AuthService} from '../services/auth.service'; +import {AuthService} from '../shared/services/auth.service'; import {Router} from '@angular/router'; import {FormsModule} from '@angular/forms'; import {NgIf} from '@angular/common'; -import {VantaBackgroundService} from '../services/vanta-background.service'; -import {DeviceDetectorService} from '../services/device-detector.service'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; +import {DeviceDetectorService} from '../shared/services/device-detector.service'; import {isPlatformBrowser} from '@angular/common'; import {Title} from '@angular/platform-browser'; diff --git a/src/app/not-found/not-found.component.ts b/src/app/not-found/not-found.component.ts index 2cbab1d..b0271c9 100644 --- a/src/app/not-found/not-found.component.ts +++ b/src/app/not-found/not-found.component.ts @@ -1,6 +1,6 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; -import {DeviceDetectorService} from '../services/device-detector.service'; -import {VantaBackgroundService} from '../services/vanta-background.service'; +import {DeviceDetectorService} from '../shared/services/device-detector.service'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; import {isPlatformBrowser} from '@angular/common'; import {Title} from '@angular/platform-browser'; diff --git a/src/app/portfolio/portfolio.component.ts b/src/app/portfolio/portfolio.component.ts index 35ce590..bf7fd22 100644 --- a/src/app/portfolio/portfolio.component.ts +++ b/src/app/portfolio/portfolio.component.ts @@ -1,6 +1,6 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; -import {VantaBackgroundService} from '../services/vanta-background.service'; -import {DeviceDetectorService} from '../services/device-detector.service'; +import {VantaBackgroundService} from '../shared/services/vanta-background.service'; +import {DeviceDetectorService} from '../shared/services/device-detector.service'; import {isPlatformBrowser, NgStyle} from '@angular/common'; import {Title} from '@angular/platform-browser'; diff --git a/src/app/services/services.component.css b/src/app/services/services.component.css new file mode 100644 index 0000000..77a9453 --- /dev/null +++ b/src/app/services/services.component.css @@ -0,0 +1,185 @@ +@keyframes fadeIn { + 0% { + opacity: 0; + visibility: hidden; + } + 100% { + opacity: 1; + visibility: visible; + } +} + +#vanta-services-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 */ +} + +.services-container { + position: relative; + color: white; + padding-bottom: 60px; + max-width: 960px; + margin: 0 auto; + font-family: 'Roboto', sans-serif; +} + +.height-container { + min-height: 100vh; + align-content: center; +} + +.services-header { + text-align: center; +} + +.services-header h1 { + font-size: 2.5rem; + background: transparent; + border: 4px solid white; + margin: 8px auto 8px auto; + max-width: 280px; + padding: 10px; + border-radius: 45px; +} + +.services-header .subtitle { + font-size: 1.2rem; + font-style: italic; + margin-bottom: 30px; +} + +.service-cards { + display: flex; + flex-wrap: wrap; + gap: 20px; + justify-content: center; + align-items: center; + margin-top: 30px; + font-family: "Roboto", sans-serif; +} + +.service-item { + width: 450px; + text-align: center; + border-radius: 10px; + overflow: hidden; + transition: transform 0.3s ease-in-out; +} + +.service-item:hover { + transform: scale(1.05); +} + +.service-item span { + font-size: 1.0rem; + font-weight: 400; + color: white; +} + +.service-card { + background: linear-gradient(135deg, #8054aa, #bc5570); + border-radius: 35px; + border: none; + padding: 25px; + text-align: center; + color: white; +} + +.tabs { + margin-top: 20px; +} + +.tab-btn { + background-color: rgba(57, 53, 74, 0.45); + border: none; + border-radius: 25px; + color: white; + padding: 10px; + margin-inline: 15px; + font-size: 1rem; + cursor: pointer; + width: 110px; + display: inline-block; +} + +.tab-btn:hover { + background-color: rgb(227, 72, 90); +} + +.tab-btn.active { + background-color: rgb(227, 72, 90); + color: #ffffff; +} + +.tab-content { + margin-top: 10px; + font-size: 0.9rem; + white-space: pre-line; + text-wrap: pretty; + text-align: left; +} + +:host ::ng-deep .centered-text { + display: block; + text-align: center; + margin-top: 20px; + margin-bottom: 10px; +} + +.commission-button { + text-align: center; + margin-top: 30px; + margin-bottom: 50px; +} + +.comm-btn { + background-color: #FF5C8D; + color: white; + border: none; + padding: 12px 25px; + font-size: 1.2rem; + border-radius: 25px; + cursor: pointer; +} + +.comm-btn:hover { + background-color: #FF3C75; +} + +.text-content p { + font-size: 1.2rem; + font-weight: 400; + margin-bottom: 10px; + text-align: center; +} + +.text-content a { + color: cornflowerblue; +} + +@media (max-width: 768px) { + .services-container { + padding: 20px 10px; + } + + .services-header h1 { + font-size: 2rem; + } + + .service-cards { + flex-direction: column; + } + + .service-item { + width: 100%; + } +} + +a { + color: white; +} diff --git a/src/app/services/services.component.html b/src/app/services/services.component.html new file mode 100644 index 0000000..b1019c7 --- /dev/null +++ b/src/app/services/services.component.html @@ -0,0 +1,44 @@ +
+
+
+
+

My Services

+

Web Development & Design

+
+
+

+ Welcome!

+ Here is where I offer freelance services in web development and design!
+ For some of the work I did you can consider checking out my Portfolio.
+ 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, shoot me a mail at michael@itzminey.dev with the requested Service and any details and specifications you want me to know about. +

+
+ +
+
+
+ +
+ + +
+
+
+
+
+
+
+
+
+
diff --git a/src/app/services/services.component.ts b/src/app/services/services.component.ts new file mode 100644 index 0000000..64669cd --- /dev/null +++ b/src/app/services/services.component.ts @@ -0,0 +1,89 @@ +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, NgFor, NgStyle} from '@angular/common'; + +@Component({ + selector: 'app-services', + imports: [ + NgStyle, + NgIf, + NgFor + ], + templateUrl: './services.component.html', + styleUrl: './services.component.css' +}) + +export class ServicesComponent implements OnInit, OnDestroy, AfterViewInit { + private readonly elementId = 'vanta-services-bg'; + isMobile: boolean = false; + activeTab: string[] = []; + + services = [ + { + name: 'Design a custom WordPress Website (Files Only)', + basic: 'Base Service: (€100)I will make your basic custom designed WordPress Website,
and give you the files for installing it on your own dedicated server or WordPress host.
Additional Services:• Maintenance Service (€35/month),

• Support Service (€50/month)
(Flat Rate €100 for minor issues up to 2.5 hours)', + advanced: 'Base Service: (€100)Basic + Detailed documentation of each feature.
Additional Services:• Maintenance Service (€35/month),

• Support Service (€50/month)
(Flat Rate €100 for minor issues up to 2.5 hours)' + }, + { + name: 'Design custom WordPress Website + Setup', + basic: 'Base Service: (€150)I will make your basic custom designed WordPress Website and also set it up for you on either:

• A dedicated Server you provide
• A WordPress host you already pay for
• My own Server (shared host - €20/month)
Additional Services:• Domain registration and management (€20 setup)
+ Basic DDoS Protection Setup (€25/month),

• Maintenance Service (€35/month),

• Support Service (€50/hour)
(Flat Rate €100 for minor issues up to 2.5 hours)', + advanced: 'Base Service: (€200)Same as Basic Service + Additional security configuration
Additional Services:• Domain registration and management (€20 setup)
+ Advanced DDoS Protection Setup (€45/month),

• Dedicated IPv4 Address (€15/month),

• Maintenance Service (€35/month),

• Support Service (€50/hour)
(Flat Rate €100 for minor issues up to 2.5 hours)' + }, + { + name: 'Custom-made Website in Angular (Files Only)', + basic: 'Base Service: (€200)I will make a custom Website frontend for you using Node.js, TypeScript, HTML & CSS in Angular CLI and give you the files.

If you already have a backend please provide it to me or a documentation of it, so I can implement it in the frontend.

If not, provide me with the details of what the backend will be able to do later and I will make placeholders in the frontend code for the backend calls that can be added later.
Additional Services:• Maintenance Service (€50/month),

• Support Service (€75/hour)
(Flat Rate €130 for minor issues up to 2.5 hours)', + advanced: 'Base Service: (€300)Same as basic, but I will also make a Backend for you too.
Additional Services:Maintenance Service (€50/month),

Support Service (€75/hour - Flat Rate €130 for minor issues up to 2.5 hours)' + }, + { + name: 'Custom-made Website in Angular + Setup', + basic: 'Base Service: (€400)I will make a custom Website front- and backend for you using Node.js, TypeScript, HTML & CSS in Angular CLI and set it up for you on either:

• A dedicated Server you provide
• A WordPress host you already pay for
• My own Server (shared host - €20/month)
Additional Services:• Domain registration and management (€20 setup)
+ Basic DDoS Protection Setup (€25/month),

• Maintenance Service (€50/month),

• Support Service (€75/hour)
(Flat Rate €130 for minor issues up to 2.5 hours)', + advanced: 'Base Service: (€400)Same as Basic Service
Additional Services:• Domain registration and management (€20 setup)
+ Advanced DDoS Protection Setup (€45/month),

• Dedicated IPv4 Address (€15/month),

• Maintenance Service (€50/month),

• Support Service (€75/hour)
(Flat Rate €130 for minor issues up to 2.5 hours)' + }, + { + name: 'Web Server Setup for Customer provided Software', + basic: 'Base Service: (€350)I will set up custom server software that you already obtained for you on a dedicated server you provide and configure it to run securely.
Additional Services:• Maintenance Service (€60/month),

• Support Service (€90/hour - Flat Rate €160 for minor issues up to 2.5 hours)', + advanced: 'Base Service: (€350):I will set up custom server software that you already obtained for you and host it for you on my own dedicated server (shared host - €30/month).
Additional Services:• Maintenance Service (€60/month),

• Support Service (€90/hour - Flat Rate €160 for minor issues up to 2.5 hours)' + } + ]; + + constructor( + private vantaService: VantaBackgroundService, + private deviceService: DeviceDetectorService, + private titleService: Title, + @Inject(PLATFORM_ID) private platformId: Object + ) { + this.activeTab = this.services.map(() => 'basic'); + } + + switchTab(serviceIndex: number, tab: string): void { + this.activeTab[serviceIndex] = tab; + } + + ngOnInit() { + this.titleService.setTitle('Services | itzMiney'); + this.isMobile = this.deviceService.isMobile; + if (isPlatformBrowser(this.platformId)) { + window.addEventListener('resize', this.onResize.bind(this)); + } + } + + ngAfterViewInit() { + this.vantaService.initVanta(this.elementId, { + color: 0xb3b3b3, + backgroundColor: 0x291c3c + }); + } + ngOnDestroy() { + this.vantaService.destroyVanta(this.elementId); + if (isPlatformBrowser(this.platformId)) { + window.removeEventListener('resize', this.onResize); + } + } + + onResize() { + // Update the minHeight and minWidth when the window is resized + this.vantaService.resizeVanta(this.elementId); + } +} diff --git a/src/app/shared/footer/footer.component.html b/src/app/shared/footer/footer.component.html index bb05fdd..bf69f4c 100644 --- a/src/app/shared/footer/footer.component.html +++ b/src/app/shared/footer/footer.component.html @@ -1,6 +1,6 @@