complete visual overhaul

This commit is contained in:
itzMiney committed 2026-03-16 00:20:57 +01:00
1 parent 02bc2faca0
commit 25d06ec49a
51 files changed
+694 -664

No files matched your search

+85 -30
View File
@@ -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 {
+19 -9
View File
@@ -1,19 +1,30 @@
<div id="vanta-about-bg"></div>
<app-parallax
[baseColor]="'#1a162c'"
[bgGradient]="
'radial-gradient(circle 120vw at center, rgba(90,78,130,0.32), transparent 40%), ' +
'linear-gradient(180deg,#1b172c 0%, #0b0b0f 100%);'
">
</app-parallax>
<div class="height-container">
<div class="about-container">
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
<h1>{{ 'ABOUT_TITLE' | translate }}</h1>
<div class="about-header">
<div class="title-box">
<h1><code>itzMiney</code></h1>
<p class="subtitle">Hobby developer & designer</p>
</div>
<hr class="rounded">
<div class="down-arrow" (click)="scrollDown()">
<i class="fa-solid fa-angle-down"></i>
</div>
</div>
<div class="separator"></div>
<section id="content"></section>
<div class="about-container">
<div class="about-content">
<h1><code>itzMiney</code></h1>
<p [innerHTML]="'ABOUT' | translate"></p>
<br>
<h3 class="tech-stack-title">Tech Stack</h3>
<h3 class="tech-stack-title"><code>Tech Stack</code></h3>
<div class="tech-stack">
<div class="category">
<h4>< WEB _ SERVERS ></h4>
<h4>{{ 'TECHSTACK_SERVERS' | translate }}</h4>
<ul>
<a href="https://nginx.org/en/" target="_blank"><li>NGiNX</li></a>
</ul>
@@ -46,7 +57,6 @@
</ul>
</div>
</div>
<hr class="rounded">
</div>
</div>
</div>
+7 -26
View File
@@ -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'});
}
}