Extended about page and fixed internal links
Build & Push Frontend A / docker (push) Successful in 1m37s
Build & Push Frontend A / docker (push) Successful in 1m37s
This commit is contained in:
1 parent
eaf0cd8a74
commit
93a7bd7863
4 files changed
+35
-4
No files matched your search
@@ -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