Extended about page and fixed internal links
All checks were successful
Build & Push Frontend A / docker (push) Successful in 1m37s
All checks were successful
Build & Push Frontend A / docker (push) Successful in 1m37s
This commit is contained in:
@@ -93,6 +93,12 @@ export class AboutComponent {
|
||||
externalLink: '',
|
||||
internalLink: 'projects',
|
||||
identifier: 'diploma',
|
||||
},
|
||||
{
|
||||
key: 'ABOUT.PROJECT.TRIBBLE',
|
||||
externalLink: '',
|
||||
internalLink: 'projects',
|
||||
identifier: 'tribble-the-homeserver',
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user