deprived-main-website/src/routes/post/data.ts

30 lines
773 B
TypeScript

// TODO: document members
type Post = {
// Required
url : string,
title: string,
description : string,
creation_date : number
modification_date: number,
// Optional
// TODO: author?
// TODO: image cover
}
export const posts : Post[] = [
{
url: 'folder-icons',
title: 'Amazing Icons for Folders in Unity!',
description: 'See how you can use Zhen\'s folder icons for Unity to boost your developer experience',
creation_date: 1708382491,
modification_date: 1708382491,
},
{
url: 'lorem',
title: 'Lorem Ipsum !!',
description: 'This is a nice exploanation on lorem ipsum latin',
creation_date: 1708382491,
modification_date: 1708382491,
},
];