From 3956ed77e11455a963ce17a64783d70fa666a7a0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 24 Dec 2021 15:13:19 +0100 Subject: chore: replace homepage content with MDX content I cannot import custom blocks through WP GraphQL, so I prefer to use MDX file. This way I cannot import custom components. --- src/ts/types/app.ts | 2 -- src/ts/types/homepage.ts | 12 ------------ 2 files changed, 14 deletions(-) delete mode 100644 src/ts/types/homepage.ts (limited to 'src/ts') diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts index a8c552d..ebd604c 100644 --- a/src/ts/types/app.ts +++ b/src/ts/types/app.ts @@ -5,7 +5,6 @@ import { PostBy } from './articles'; import { AllPostsSlug, RawPostsList } from './blog'; import { CommentData, CreateComment } from './comments'; import { ContactData, SendEmail } from './contact'; -import { HomePageBy } from './homepage'; import { PageBy } from './pages'; import { AllSubjectsSlug, @@ -49,7 +48,6 @@ export type RequestType = | AllSubjectsSlug | AllThematicsSlug | CreateComment - | HomePageBy | PageBy | PostBy | SubjectBy diff --git a/src/ts/types/homepage.ts b/src/ts/types/homepage.ts deleted file mode 100644 index 8ff2ccb..0000000 --- a/src/ts/types/homepage.ts +++ /dev/null @@ -1,12 +0,0 @@ -export type HomePage = { - id: string; - content: string; -}; - -export type HomePageBy = { - nodeByUri: HomePage; -}; - -export type HomePageProps = { - data: HomePage; -}; -- cgit v1.2.3