writed project pages content
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.priority - a.priority);
|
||||
.sort((a, b) => a.priority - b.priority);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export type ProjectFrontmatter = {
|
||||
ready: boolean;
|
||||
title: string;
|
||||
priority: number;
|
||||
category: string;
|
||||
@@ -7,7 +8,7 @@ export type ProjectFrontmatter = {
|
||||
technologies: string[];
|
||||
preview1?: string;
|
||||
preview2?: string;
|
||||
website: string;
|
||||
website?: string;
|
||||
featured: boolean;
|
||||
description: string;
|
||||
dateLabel: string;
|
||||
|
||||
Reference in New Issue
Block a user