Style overhaul, added built in socials page

This commit is contained in:
itzMiney committed 2025-01-05 05:09:06 +01:00
1 parent d9489d9d6b
commit a0532d7300
16 files changed
+226 -30

No files matched your search

+2 -2
View File
@@ -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;
+13 -13
View File
@@ -19,34 +19,34 @@
<div class="category">
<h4>= WEB SERVERS =</h4>
<ul>
<li><a href="https://nginx.org/en/">NGiNX</a></li>
<a href="https://nginx.org/en/" target="_blank"><li>NGiNX</li></a>
</ul>
</div>
<div class="category">
<h4>= LANGUAGES =</h4>
<ul>
<li><a href="https://nodejs.org/">Node.js</a></li>
<li><a href="https://www.typescriptlang.org/">JavaScript & TypeScript</a></li>
<li><a href="https://go.dev/">Go</a></li>
<li><a href="https://html.spec.whatwg.org/">CSS & HTML</a></li>
<a href="https://nodejs.org/" target="_blank"><li>Node.js</li></a>
<a href="https://www.typescriptlang.org/" target="_blank"><li>JavaScript & TypeScript</li></a>
<a href="https://go.dev/" target="_blank"><li>Go</li></a>
<a href="https://html.spec.whatwg.org/" target="_blank"><li>CSS & HTML</li></a>
</ul>
</div>
<div class="category">
<h4>= DATABASES =</h4>
<ul>
<li><a href="https://www.mysql.com/">MySQL</a></li>
<li><a href="https://mariadb.org/">MariaDB</a></li>
<a href="https://www.mysql.com/" target="_blank"><li>MySQL</li></a>
<a href="https://mariadb.org/" target="_blank"><li>MariaDB</li></a>
</ul>
</div>
<div class="category">
<h4>= TOOLS =</h4>
<ul>
<li><a href="https://github.com/">GitHub</a></li>
<li><a href="https://www.docker.com/">Docker</a></li>
<li><a href="https://code.visualstudio.com/">VSCode</a></li>
<li><a href="https://www.jetbrains.com/webstorm/">WebStorm</a></li>
<li><a href="https://www.jetbrains.com/idea/">IntelliJ IDEA</a></li>
<li><a href="https://angular.dev/">Angular</a></li>
<a href="https://github.com/" target="_blank"><li>GitHub</li></a>
<a href="https://www.docker.com/" target="_blank"><li>Docker</li></a>
<a href="https://code.visualstudio.com/" target="_blank"><li>VSCode</li></a>
<a href="https://www.jetbrains.com/webstorm/" target="_blank"><li>WebStorm</li></a>
<a href="https://www.jetbrains.com/idea/" target="_blank"><li>IntelliJ IDEA</li></a>
<a href="https://angular.dev/" target="_blank"><li>Angular</li></a>
</ul>
</div>
</div>
+4 -1
View File
@@ -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);
+2
View File
@@ -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 }
];
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -9,8 +9,8 @@
<p>
Welcome to my portfolio!<br><br>
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 <a href="https://github.com/itzminey">GitHub</a> listed here too!<br>
If you like what I do consider following me on my <a href="https://linktr.ee/itzminey">socials</a> and if you feel really generous leave a tip on my <a href="https://ko-fi.com/itzminey">Ko-Fi!</a><br>
but I'm also getting better at coding and you might soon see a couple little coding projects from my <a href="https://github.com/itzminey" target="_blank">GitHub</a> listed here too!<br>
If you like what I do consider following me on my <a href="/socials">Socials</a> and if you feel really generous leave a tip on my <a href="https://ko-fi.com/itzminey" target="_blank">Ko-Fi</a>!<br>
You can also commission me to make designs for you, just click on the button below!
</p>
</div>
+2 -2
View File
@@ -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() {
+3 -3
View File
@@ -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,
+5 -2
View File
@@ -5,10 +5,13 @@
<!-- Optional: Add social media icons -->
<div class="social-icons">
<a href="https://linktr.ee/itzminey" target="_blank" aria-label="Twitter">
<i class="material-icons">public</i>
<i class="fa-brands fa-twitter"></i>
</a>
<a href="https://discord.gg/RstBa88" target="_blank" aria-label="Discord">
<i class="fa-brands fa-discord"></i>
</a>
<a href="https://github.com/itzminey" target="_blank" aria-label="GitHub">
<i class="material-icons">code</i>
<i class="fa-brands fa-github"></i>
</a>
</div>
</footer>
@@ -11,7 +11,7 @@
<ul>
<li><a [routerLink]="'/'" [class.active]="activeLink === '/'">About</a></li>
<li><a [routerLink]="'/portfolio'" [class.active]="activeLink === '/portfolio'">Portfolio</a></li>
<li><a href="https://linktr.ee/itzminey">Socials</a></li>
<li><a [routerLink]="'/socials'" [class.active]="activeLink === '/socials'">Socials</a></li>
<li><a [routerLink]="'/blog'" [class.active]="activeLink === '/blog'">Blog</a></li>
</ul>
</div>
+2 -2
View File
@@ -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);
}
+1 -1
View File
@@ -2,7 +2,7 @@
<div class="navbar-links">
<a [routerLink]="'/'" [class.active]="activeLink === '/'">About</a>
<a [routerLink]="'/portfolio'" [class.active]="activeLink === '/portfolio'">Portfolio</a>
<a href="https://linktr.ee/itzminey">Socials</a>
<a [routerLink]="'/socials'" [class.active]="activeLink === '/socials'">Socials</a>
<a [routerLink]="'/blog'" [class.active]="activeLink === '/blog'">Blog</a>
</div>
</nav>
+104
View File
@@ -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;}
+30
View File
@@ -0,0 +1,30 @@
<div id="vanta-socials-bg"></div>
<div class="height-container">
<div class="socials-container">
<div class="socials-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
<h1>Socials</h1>
<p class="subtitle">You can find me in a lotta places</p>
</div>
<div class="social-links">
<a href="https://discord.gg/RstBa88" target="_blank"><button class="discord"><a class="fa-brands fa-discord"></a>&#x2007;Discord Server</button></a>
<a id="username">&#64;itzminey</a>
<br><br>
<h3>Social Media</h3>
<a href="https://youtube.com/@itzMiney" target="_blank"><button class="youtube"><a class="fa-brands fa-youtube"></a>&#x2007;YouTube</button></a>
<a href="https://twitter.com/@itzMiney" target="_blank"><button class="twitter"><a class="fa-brands fa-twitter"></a>&#x2007;Twitter</button></a>
<a href="https://twitch.tv/itzminey"><button class="twitch"><a class="fa-brands fa-twitch"></a>&#x2007;Twitch</button></a>
<br><br>
<h3>Games</h3>
<a href="https://steamcommunity.com/id/itzMiney/" target="_blank"><button class="steam"><a class="fa-brands fa-steam"></a>&#x2007;Steam</button></a>
<a href="https://osu.ppy.sh/users/16470989" target="_blank"><button class="osu">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="20" height="20" viewBox="0 0 50 50">
<path d="M 25 3 C 12.85 3 3 12.85 3 25 C 3 37.15 12.85 47 25 47 C 37.15 47 47 37.15 47 25 C 47 12.85 37.15 3 25 3 z M 38 18 L 40 18 L 40 26 L 38 26 L 38 18 z M 14.048828 20.898438 C 14.523828 20.898438 14.995078 20.968719 15.455078 21.136719 C 16.701078 21.591719 17.454875 22.528516 17.796875 23.853516 C 17.936875 24.396516 17.994047 24.950641 17.998047 25.556641 C 17.988047 26.368641 17.875859 27.204516 17.505859 27.978516 C 16.940859 29.161516 16.01125 29.820578 14.78125 30.017578 C 14.50125 30.063578 14.222359 30.087891 13.943359 30.087891 C 13.484359 30.087891 13.028078 30.022094 12.580078 29.871094 C 11.402078 29.474094 10.664438 28.608531 10.273438 27.394531 C 10.019438 26.604531 9.9594844 25.791844 10.021484 24.964844 C 10.082484 24.155844 10.271641 23.3835 10.681641 22.6875 C 11.270641 21.6865 12.138375 21.129891 13.234375 20.962891 C 13.506375 20.921891 13.777828 20.898437 14.048828 20.898438 z M 23.263672 20.90625 C 23.311672 20.90625 23.359203 20.90525 23.408203 20.90625 C 24.174203 20.92025 24.914719 21.08175 25.636719 21.34375 C 25.684719 21.36075 25.731656 21.369172 25.722656 21.451172 C 25.658656 22.018172 25.52025 22.562172 25.28125 23.076172 C 25.27625 23.086172 25.269531 23.095703 25.269531 23.095703 C 24.905531 22.985703 24.559125 22.862297 24.203125 22.779297 C 23.960125 22.723297 23.71475 22.689453 23.46875 22.689453 C 23.26175 22.689453 23.055609 22.712625 22.849609 22.765625 C 22.612609 22.827625 22.399594 22.935172 22.308594 23.201172 C 22.187594 23.553172 22.304859 23.909688 22.630859 24.054688 C 22.986859 24.213687 23.360562 24.325984 23.726562 24.458984 C 24.047563 24.575984 24.377453 24.674453 24.689453 24.814453 C 25.518453 25.186453 25.930234 25.872547 25.990234 26.810547 C 26.041234 27.598547 25.862562 28.307344 25.351562 28.902344 C 24.908562 29.416344 24.344703 29.716391 23.720703 29.900391 C 23.262703 30.035391 22.796125 30.082031 22.328125 30.082031 C 22.101125 30.082031 21.875438 30.071687 21.648438 30.054688 C 21.046437 30.010687 20.466391 29.857625 19.900391 29.640625 C 19.837391 29.616625 19.815266 29.587625 19.822266 29.515625 C 19.882266 28.935625 20.028906 28.381609 20.253906 27.849609 C 20.260906 27.831609 20.269203 27.815156 20.283203 27.785156 C 20.325203 27.801156 20.36625 27.814078 20.40625 27.830078 C 20.99625 28.065078 21.599516 28.220703 22.228516 28.220703 C 22.290516 28.220703 22.352062 28.218844 22.414062 28.214844 C 22.734063 28.198844 23.046984 28.147422 23.333984 27.982422 C 23.717984 27.761422 23.861719 27.434531 23.761719 27.019531 C 23.722719 26.859531 23.647813 26.721391 23.507812 26.650391 C 23.278813 26.534391 23.045687 26.421891 22.804688 26.337891 C 22.370687 26.184891 21.926188 26.06125 21.492188 25.90625 C 21.171187 25.79125 20.884047 25.604047 20.623047 25.373047 C 20.258047 25.050047 20.085391 24.624625 20.025391 24.140625 C 19.957391 23.593625 19.985219 23.054016 20.199219 22.541016 C 20.485219 21.854016 21.003391 21.434781 21.650391 21.175781 C 22.170391 20.966781 22.713672 20.90625 23.263672 20.90625 z M 29.070312 21.007812 C 29.437313 21.007812 29.805781 21.040375 30.175781 21.109375 L 30.175781 21.267578 C 30.176781 22.859578 30.170594 24.450969 30.183594 26.042969 C 30.186594 26.363969 30.236641 26.690906 30.306641 27.003906 C 30.447641 27.634906 30.835828 27.986312 31.423828 28.070312 C 31.580828 28.092312 31.738531 28.103516 31.894531 28.103516 C 32.159531 28.103516 32.422547 28.073578 32.685547 28.017578 C 32.780547 27.997578 32.810547 27.958609 32.810547 27.849609 C 32.807547 25.654609 32.808594 23.460625 32.808594 21.265625 L 32.808594 21.109375 C 33.173594 21.040375 33.534484 21.007812 33.896484 21.007812 C 34.261484 21.007812 34.627094 21.041375 34.996094 21.109375 L 34.996094 21.236328 C 34.996094 23.963328 34.995047 26.690969 34.998047 29.417969 C 34.998047 29.514969 34.972625 29.550125 34.890625 29.578125 C 33.934625 29.898125 32.962703 30.082031 31.970703 30.082031 C 31.778703 30.082031 31.586578 30.0765 31.392578 30.0625 C 30.877578 30.0245 30.361094 29.973344 29.871094 29.777344 C 28.944094 29.407344 28.421156 28.647578 28.160156 27.642578 C 28.006156 27.050578 27.96975 26.442078 27.96875 25.830078 C 27.96575 24.293078 27.96875 22.75575 27.96875 21.21875 C 27.96875 21.18475 27.970656 21.150375 27.972656 21.109375 C 28.339656 21.041375 28.705312 21.007812 29.070312 21.007812 z M 13.972656 22.787109 C 13.914656 22.787109 13.856828 22.789922 13.798828 22.794922 C 13.297828 22.833922 12.904734 23.075594 12.677734 23.558594 C 12.573734 23.780594 12.490547 24.019766 12.435547 24.259766 C 12.284547 24.920766 12.287609 25.592672 12.349609 26.263672 C 12.386609 26.669672 12.472437 27.064594 12.648438 27.433594 C 12.814438 27.780594 13.057109 28.039156 13.412109 28.160156 C 13.606109 28.226156 13.801094 28.259766 13.996094 28.259766 C 14.199094 28.259766 14.401516 28.223391 14.603516 28.150391 C 15.060516 27.985391 15.307891 27.61225 15.462891 27.15625 C 15.642891 26.62625 15.681453 26.073266 15.689453 25.447266 C 15.683Line truncated
</svg>&#x2007;osu!</button>
</a>
<br><br>
<h3>Donations & Commissions</h3>
<a href="https://ko-fi.com/itzMiney" target="_blank"><button class="kofi"><a class="fa-solid fa-mug-hot"></a>&#x2007;Ko-Fi Donations</button></a>
<a href="https://ko-fi.com/itzMiney/commissions" target="_blank"><button class="kofi-comms"><a class="fa-solid fa-mug-hot"></a>&#x2007;Ko-Fi Commissions</button></a>
</div>
</div>
</div>
+51
View File
@@ -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);
}
}
+3
View File
@@ -14,6 +14,9 @@
<link rel="manifest" href="/site.webmanifest">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/fontawesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/brands.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/solid.min.css">
</head>
<body class="mat-typography">
<app-root></app-root>