From c77c58e18143233be042c4980a6ed08ae9beac52 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 16 May 2022 19:40:23 +0200 Subject: chore: adjust and complete missing styles * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements --- src/ts/types/app.ts | 1 + src/ts/types/raw-data.ts | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ts') diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts index f354118..a3b9889 100644 --- a/src/ts/types/app.ts +++ b/src/ts/types/app.ts @@ -81,6 +81,7 @@ export type Page = { export type PageLink = { id: number; + logo?: Image; name: string; slug: string; }; diff --git a/src/ts/types/raw-data.ts b/src/ts/types/raw-data.ts index 7e12e7f..ba6d596 100644 --- a/src/ts/types/raw-data.ts +++ b/src/ts/types/raw-data.ts @@ -89,14 +89,17 @@ export type RawThematic = RawPage & { export type RawThematicPreview = Pick< RawThematic, - 'databaseId' | 'slug' | 'title' + 'databaseId' | 'featuredImage' | 'slug' | 'title' >; export type RawTopic = RawPage & { acfTopics: ACFTopics; }; -export type RawTopicPreview = Pick; +export type RawTopicPreview = Pick< + RawTopic, + 'databaseId' | 'featuredImage' | 'slug' | 'title' +>; export type TotalItems = { pageInfo: Pick; -- cgit v1.2.3