Added introduction and images for some projects

This commit is contained in:
2025-12-14 17:08:53 +01:00
parent 17585bfaca
commit 0f1ff27ea1
21 changed files with 152 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
<mat-accordion class="project-headers-align" multi>
@for (project of allProjects; track project.title) {
<mat-expansion-panel>
<mat-accordion class="project-headers-align">
@for (project of allProjects; track project) {
<mat-expansion-panel [expanded]="isExpanded(project.identifier)">
<mat-expansion-panel-header>
<mat-panel-title>{{ project.title | translate }}</mat-panel-title>
<mat-panel-description>
@@ -8,7 +8,15 @@
<mat-icon>{{ project.icon }}</mat-icon>
</mat-panel-description>
</mat-expansion-panel-header>
<p>{{ project.introduction | translate }}</p>
@if (project.images.length > 0)
{
<div class="gallery">
@for (img of project.images; track img) {
<img class="gallery-img" [src]="img" [alt]="project.title | translate" />
}
</div>
}
</mat-expansion-panel>
}
</mat-accordion>