Made a 'pretty' news section on the main page for the latest news

This commit is contained in:
Sveske_Juice 2024-02-20 21:05:42 +01:00
parent 8b533b296c
commit 8b8b81f3d1
10 changed files with 217 additions and 28 deletions

View file

@ -1,30 +0,0 @@
// 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,
},
];