fixed design project page
This commit is contained in:
@@ -38,5 +38,5 @@ export function getAllProjects(): Project[] {
|
||||
return getProjectSlugs()
|
||||
.map((slug) => getProjectBySlug(slug))
|
||||
.filter((project): project is Project => project !== null)
|
||||
.sort((a, b) => b.year - a.year);
|
||||
.sort((a, b) => b.priority - a.priority);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
export type ProjectFrontmatter = {
|
||||
title: string;
|
||||
subtitle: string;
|
||||
year: number;
|
||||
priority: number;
|
||||
category: string;
|
||||
client: string;
|
||||
roles: string[];
|
||||
|
||||
Reference in New Issue
Block a user