Extended project page a little bit
All checks were successful
Build & Push Frontend A / docker (push) Successful in 42s

This commit is contained in:
2026-01-01 12:57:23 +01:00
parent 9771d7a38d
commit 93b2a0fed7
14 changed files with 235 additions and 50 deletions

View File

@@ -9,13 +9,54 @@
</mat-panel-description>
</mat-expansion-panel-header>
<p>{{ project.introduction | translate }}</p>
@if (project.link)
{
<div class="link-row">
<a class="link-with-icon"
href="{{project.link}}"
target="_blank"
rel="noopener noreferrer">
<mat-icon>open_in_new</mat-icon>
{{project.link}}
</a>
</div>
}
@if(project.assets)
{
<div class="link-row">
<a class="link-with-icon"
href="{{project.assets}}"
rel="noopener noreferrer">
<mat-icon>download</mat-icon>
{{ 'PROJECTS.DOWNLOAD' | translate}}
</a>
</div>
}
@if (project.images.length > 0)
{
<div class="gallery">
<swiper-container
class="my-swiper"
[attr.slides-per-view]="1.2"
[attr.space-between]="12"
[attr.navigation]="true"
[attr.pagination]="true"
[attr.keyboard]="true"
style="width: 100%;"
>
@for (img of project.images; track img) {
<img class="gallery-img" [src]="img" [alt]="project.title | translate" />
<swiper-slide>
<img
class="slide-img"
[src]="img"
[alt]="project.title | translate"
(click)="openImage(project.title, img)"
/>
</swiper-slide>
}
</div>
</swiper-container>
}
</mat-expansion-panel>
}