54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
<app-parallax
|
|
[baseColor]="'#211c30'"
|
|
[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="portfolio-container">
|
|
<div class="portfolio-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
|
<h1>{{ 'PORTF_TITLE' | translate }}</h1>
|
|
<p class="subtitle">{{ 'PORTF_SUB' | translate }}</p>
|
|
</div>
|
|
<hr class="rounded">
|
|
<div class="text-content">
|
|
<p [innerHTML]="'PORTFOLIO' | translate"></p>
|
|
</div>
|
|
<div class="kofi-button">
|
|
<a href="https://ko-fi.com/itzminey" target="_blank">
|
|
<button class="ko-fi-btn"><i class="fa-solid fa-mug-hot"></i> Ko-Fi Donations</button>
|
|
</a>
|
|
</div>
|
|
<div class="portfolio-gallery" [@staggerGallery]>
|
|
@for (item of galleryItems; track item) {
|
|
<div class="gallery-item" (click)="openModal(item)">
|
|
<img [src]="item.src" [alt]="item.alt">
|
|
<p>{{ item.label }}</p>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
<!-- Modal -->
|
|
@if (showModal) {
|
|
<div
|
|
class="modal-backdrop"
|
|
animate.enter="fade-in"
|
|
animate.leave="fade-out"
|
|
(click)="closeModal()"
|
|
>
|
|
<div
|
|
class="modal-content"
|
|
animate.enter="modal-enter"
|
|
animate.leave="modal-leave"
|
|
(click)="$event.stopPropagation()"
|
|
>
|
|
<img [src]="selectedItem?.src" [alt]="selectedItem?.alt">
|
|
<h2>{{ selectedItem?.label }}</h2>
|
|
<button (click)="closeModal()">Close</button>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<app-audio-player></app-audio-player>
|