Extended about page and fixed internal links
All checks were successful
Build & Push Frontend A / docker (push) Successful in 1m37s

This commit is contained in:
2026-01-17 11:25:53 +01:00
parent eaf0cd8a74
commit 93a7bd7863
4 changed files with 35 additions and 4 deletions

View File

@@ -93,6 +93,12 @@ export class AboutComponent {
externalLink: '',
internalLink: 'projects',
identifier: 'diploma',
},
{
key: 'ABOUT.PROJECT.TRIBBLE',
externalLink: '',
internalLink: 'projects',
identifier: 'tribble-the-homeserver',
}
];

View File

@@ -175,10 +175,15 @@ export class ProjectsComponent {
featuredProject = computed(() => this.allProjects.find(p => p.isFeatured));
otherProjects = computed(() => this.allProjects.filter(p => !p.isFeatured));
constructor() {
this.route.queryParamMap.subscribe(params => {
// this.selectedKey.set(params.get('project'));
const projectIdentifier = params.get('project');
if (projectIdentifier) {
const project = this.allProjects.find(p => p.identifier === projectIdentifier);
if (project) {
this.openProjectDialog(project);
}
}
});
}