diff --git a/src/lib/services/Notion/Projects/index.ts b/src/lib/services/Notion/Projects/index.ts index 4ebb452..3d881ca 100644 --- a/src/lib/services/Notion/Projects/index.ts +++ b/src/lib/services/Notion/Projects/index.ts @@ -9,6 +9,12 @@ export class Projects { const response = await client.databases.query({ database_id: database, + sorts: [ + { + property: 'created', + direction: 'descending', + }, + ], }); return Promise.all( diff --git a/src/routes/[[lang=lang]]/projects/+page.svelte b/src/routes/[[lang=lang]]/projects/+page.svelte index 8f2bc78..343dd8c 100644 --- a/src/routes/[[lang=lang]]/projects/+page.svelte +++ b/src/routes/[[lang=lang]]/projects/+page.svelte @@ -75,17 +75,17 @@
- {title} + {project.title}

- {title} + {project.title}

-

{description}

+

{project.description}