diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-24 15:13:19 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-24 15:13:19 +0100 |
| commit | 3956ed77e11455a963ce17a64783d70fa666a7a0 (patch) | |
| tree | 15eadb57f8f68fd7a5c56fc2b7cdeb17d21b7ab2 /src/ts | |
| parent | 8105e2577d4aa401f960e78085f6038eb879ee8a (diff) | |
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.
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/app.ts | 2 | ||||
| -rw-r--r-- | src/ts/types/homepage.ts | 12 |
2 files changed, 0 insertions, 14 deletions
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; -}; |
