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/services | |
| 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/services')
| -rw-r--r-- | src/services/graphql/articles.query.ts | 11 | ||||
| -rw-r--r-- | src/services/graphql/topics.query.ts | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/services/graphql/articles.query.ts b/src/services/graphql/articles.query.ts index d65bc9e..e02ca8e 100644 --- a/src/services/graphql/articles.query.ts +++ b/src/services/graphql/articles.query.ts @@ -14,6 +14,17 @@ export const articleBySlugQuery = `query PostBy($slug: ID!) { postsInTopic { ... on Topic { databaseId + featuredImage { + node { + altText + mediaDetails { + height + width + } + sourceUrl + title + } + } slug title } diff --git a/src/services/graphql/topics.query.ts b/src/services/graphql/topics.query.ts index 19be5d7..4574256 100644 --- a/src/services/graphql/topics.query.ts +++ b/src/services/graphql/topics.query.ts @@ -94,6 +94,17 @@ export const topicsListQuery = `query TopicsList($after: String = "", $first: In cursor node { databaseId + featuredImage { + node { + altText + mediaDetails { + height + width + } + sourceUrl + title + } + } slug title } |
