diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-16 19:40:23 +0200 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-16 19:40:23 +0200 | 
| commit | c77c58e18143233be042c4980a6ed08ae9beac52 (patch) | |
| tree | 94f7d828571a86470ae299fff7dffd32fb38de7c /src/ts | |
| parent | 2155550fa36a3bc3c8f66e0926530123b4018cd4 (diff) | |
chore: adjust and complete missing styles
* add logo to topics pages and links
* add Prism styles to articles
* and a few other adjustements
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/app.ts | 1 | ||||
| -rw-r--r-- | src/ts/types/raw-data.ts | 7 | 
2 files changed, 6 insertions, 2 deletions
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<T extends PageKind> = {  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<RawTopic, 'databaseId' | 'slug' | 'title'>; +export type RawTopicPreview = Pick< +  RawTopic, +  'databaseId' | 'featuredImage' | 'slug' | 'title' +>;  export type TotalItems = {    pageInfo: Pick<PageInfo, 'total'>;  | 
