diff --git a/src/app/about/about.component.css b/src/app/about/about.component.css index 637fb18..d5d9c87 100644 --- a/src/app/about/about.component.css +++ b/src/app/about/about.component.css @@ -86,7 +86,7 @@ a { .tech-stack-title { font-size: 1.4rem; text-align: center; - background: linear-gradient(135deg, #9c27b0, #6200ea); + background: linear-gradient(135deg, #924dd3, #e43b68); margin: 8px auto 20px auto; max-width: 180px; padding: 10px; @@ -94,7 +94,7 @@ a { } .tech-stack { - background: linear-gradient(135deg, #9c27b0, #6200ea); + background: linear-gradient(135deg, #924dd3, #e43b68); border-radius: 40px; justify-content: center; align-items: flex-start; diff --git a/src/app/about/about.component.html b/src/app/about/about.component.html index 7f4aff0..a9761cd 100644 --- a/src/app/about/about.component.html +++ b/src/app/about/about.component.html @@ -19,34 +19,34 @@

= WEB SERVERS =

= LANGUAGES =

= DATABASES =

= TOOLS =

diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts index 877759d..14a6fcf 100644 --- a/src/app/about/about.component.ts +++ b/src/app/about/about.component.ts @@ -30,7 +30,10 @@ export class AboutComponent implements OnInit, OnDestroy, AfterViewInit { } } ngAfterViewInit() { - this.vantaService.initVanta(this.elementId, {}); + this.vantaService.initVanta(this.elementId, { + color: 0xa24d68, + backgroundColor: 0x291c3c + }); } ngOnDestroy() { this.vantaService.destroyVanta(this.elementId); diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 986d3fc..03043df 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -6,6 +6,7 @@ import {NotFoundComponent} from './not-found/not-found.component'; 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'; export const routes: Routes = [ { path: '', component: AboutComponent }, @@ -14,6 +15,7 @@ export const routes: Routes = [ { path: 'blog', component: BlogComponent }, { path: 'login', component: LoginComponent }, { path: 'admin', component: AdminComponent }, + { path: 'socials', component: SocialsComponent }, { path: 'blog/:slug', component: ArticlePageComponent }, { path: '**', pathMatch: 'full', component: NotFoundComponent } ]; diff --git a/src/app/blog/blog.component.css b/src/app/blog/blog.component.css index 4661478..fc37252 100644 --- a/src/app/blog/blog.component.css +++ b/src/app/blog/blog.component.css @@ -61,7 +61,7 @@ .article-card { z-index: 10; - background: linear-gradient(135deg, #9c27b0, #6200ea); + background: linear-gradient(135deg, #924dd3, #e43b68); padding: 15px; margin: 25px 0; cursor: pointer; diff --git a/src/app/portfolio/portfolio.component.html b/src/app/portfolio/portfolio.component.html index f09aee8..a45f4ff 100644 --- a/src/app/portfolio/portfolio.component.html +++ b/src/app/portfolio/portfolio.component.html @@ -9,8 +9,8 @@

Welcome to my portfolio!

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 GitHub listed here too!
- If you like what I do consider following me on my socials and if you feel really generous leave a tip on my Ko-Fi!
+ but I'm also getting better at coding and you might soon see a couple little coding projects from my GitHub listed here too!
+ If you like what I do consider following me on my Socials and if you feel really generous leave a tip on my Ko-Fi!
You can also commission me to make designs for you, just click on the button below!

diff --git a/src/app/portfolio/portfolio.component.ts b/src/app/portfolio/portfolio.component.ts index d1c160f..35ce590 100644 --- a/src/app/portfolio/portfolio.component.ts +++ b/src/app/portfolio/portfolio.component.ts @@ -32,8 +32,8 @@ export class PortfolioComponent implements OnInit, OnDestroy, AfterViewInit { ngAfterViewInit() { this.vantaService.initVanta(this.elementId, { - color: 0xac1f4e, - backgroundColor: 0x191522 + color: 0xb3b3b3, + backgroundColor: 0x291c3c }); } ngOnDestroy() { diff --git a/src/app/services/vanta-background.service.ts b/src/app/services/vanta-background.service.ts index 135487a..f7ff86e 100644 --- a/src/app/services/vanta-background.service.ts +++ b/src/app/services/vanta-background.service.ts @@ -22,9 +22,9 @@ export class VantaBackgroundService { gyroControls: false, scale: 1.0, scaleMobile: 1.0, - points: 20.0, - maxDistance: 25.0, - spacing: 18.0, + points: 12.0, + maxDistance: 30.0, + spacing: 25.0, showDots: false, minWidth: window.innerWidth, minHeight: window.innerHeight, diff --git a/src/app/shared/footer/footer.component.html b/src/app/shared/footer/footer.component.html index 5cee78c..bb05fdd 100644 --- a/src/app/shared/footer/footer.component.html +++ b/src/app/shared/footer/footer.component.html @@ -5,10 +5,13 @@
- public + + + + - code +
diff --git a/src/app/shared/mobile-navbar/mobile-navbar.component.html b/src/app/shared/mobile-navbar/mobile-navbar.component.html index 8f480fd..84d553b 100644 --- a/src/app/shared/mobile-navbar/mobile-navbar.component.html +++ b/src/app/shared/mobile-navbar/mobile-navbar.component.html @@ -11,7 +11,7 @@ diff --git a/src/app/shared/navbar/navbar.component.css b/src/app/shared/navbar/navbar.component.css index 69bca8c..5c9bc60 100644 --- a/src/app/shared/navbar/navbar.component.css +++ b/src/app/shared/navbar/navbar.component.css @@ -29,13 +29,13 @@ } .navbar a:hover { - background-color: #9c27b0; + background-color: #452737; color: #fff; transform: scale(1.1); } .navbar a.active { - background-color: #9c27b0; + background-color: #e43b68; color: #fff; transform: scale(1.1); } diff --git a/src/app/shared/navbar/navbar.component.html b/src/app/shared/navbar/navbar.component.html index ac619cf..85df5a4 100644 --- a/src/app/shared/navbar/navbar.component.html +++ b/src/app/shared/navbar/navbar.component.html @@ -2,7 +2,7 @@ diff --git a/src/app/socials/socials.component.css b/src/app/socials/socials.component.css new file mode 100644 index 0000000..48d0900 --- /dev/null +++ b/src/app/socials/socials.component.css @@ -0,0 +1,104 @@ +@keyframes fadeIn { + 0% { + opacity: 0; + visibility: hidden; + } + 100% { + opacity: 1; + visibility: visible; + } +} + +#vanta-socials-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 */ +} + +.height-container { + min-height: 100vh; + width: 100vw; + align-content: center; + justify-content: center; + display: flex; +} + +.socials-container { + position: relative; + color: white; + max-width: 900px; + margin-bottom: 80px; + font-family: 'Roboto', sans-serif; + z-index: 1; +} + +.socials-header { + text-align: center; +} + +.socials-header .subtitle { + font-size: 1.2rem; + font-style: italic; + margin-bottom: 75px; +} + +.socials-header h1 { + font-size: 2.5rem; + background: transparent; + border: 4px solid white; + margin: 8px auto 8px auto; + max-width: 220px; + padding: 10px; + border-radius: 45px; +} + +.social-links { + text-align: center; +} + +button { + font-size: 1.2rem; + font-family: 'Roboto', sans-serif; + color: white; + padding: 12px 20px; + margin: 10px; + border: none; + border-radius: 25px; + cursor: pointer; + display:inline-flex; + align-items:center; +} + +#username { + font-size: 1.2rem; + font-family: 'Roboto', sans-serif; + color: #cdcdcd; +} + +button.discord { background-color: #5865F2; } +button.discord:hover { background-color: #818aec; } + +button.youtube { background-color: #f25858; } +button.youtube:hover { background-color: #ff7474; } + +button.twitter { background-color: #58adf2; } +button.twitter:hover { background-color: #8bcefd; } + +button.twitch { background-color: #9146FF; } +button.twitch:hover { background-color: #a76bff; } + +button.steam { background-color: #1c1c1c; } +button.steam:hover { background-color: #202020; } + +button.osu { background-color: #ff66aa; transform: translateY( +3px);} +button.osu:hover { background-color: #fd83b9; } + +button.kofi { background-color: #fff; color: #ff5a78;} +button.kofi:hover { background-color: #fff4f4; color: #ff5a78;} + +button.kofi-comms { background-color: #fff; color: #39354a;} +button.kofi-comms:hover { background-color: #fff4f4; color: #39354a;} diff --git a/src/app/socials/socials.component.html b/src/app/socials/socials.component.html new file mode 100644 index 0000000..d29e1c8 --- /dev/null +++ b/src/app/socials/socials.component.html @@ -0,0 +1,30 @@ +
+
+
+
+

Socials

+

You can find me in a lotta places

+
+ +
+
diff --git a/src/app/socials/socials.component.ts b/src/app/socials/socials.component.ts new file mode 100644 index 0000000..0560c09 --- /dev/null +++ b/src/app/socials/socials.component.ts @@ -0,0 +1,51 @@ +import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; +import {isPlatformBrowser, NgOptimizedImage, NgStyle} from '@angular/common'; +import {VantaBackgroundService} from '../services/vanta-background.service'; +import {DeviceDetectorService} from '../services/device-detector.service'; +import {Title} from '@angular/platform-browser'; + +@Component({ + selector: 'app-socials', + imports: [ + NgStyle, + NgOptimizedImage + ], + templateUrl: './socials.component.html', + styleUrl: './socials.component.css' +}) +export class SocialsComponent implements OnInit, OnDestroy, AfterViewInit { + private readonly elementId = 'vanta-socials-bg'; + isMobile: boolean = false; + constructor( + private vantaService: VantaBackgroundService, + private deviceService: DeviceDetectorService, + private titleService: Title, + @Inject(PLATFORM_ID) private platformId: Object + ) {} + + ngOnInit() { + this.titleService.setTitle('Socials | itzMiney'); + this.isMobile = this.deviceService.isMobile; + if (isPlatformBrowser(this.platformId)) { + window.addEventListener('resize', this.onResize.bind(this)); + } + } + + ngAfterViewInit() { + this.vantaService.initVanta(this.elementId, { + color: 0xc3b65c, + backgroundColor: 0x23153c + }); + } + + ngOnDestroy() { + this.vantaService.destroyVanta(this.elementId); + if (isPlatformBrowser(this.platformId)) { + window.removeEventListener('resize', this.onResize); + } + } + + onResize() { + this.vantaService.resizeVanta(this.elementId); + } +} diff --git a/src/index.html b/src/index.html index e2546f2..d7eed86 100644 --- a/src/index.html +++ b/src/index.html @@ -14,6 +14,9 @@ + + +