feat: add graphql
This commit is contained in:
38
src/graphql-documents/home-page.gql.ts
Normal file
38
src/graphql-documents/home-page.gql.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const homePageDocument = gql`
|
||||
query HomePage {
|
||||
homePage {
|
||||
sections {
|
||||
... on ComponentSectionsHomeHero {
|
||||
title
|
||||
description
|
||||
badge
|
||||
stats {
|
||||
id
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
... on ComponentSectionsServices {
|
||||
title
|
||||
description
|
||||
cards {
|
||||
id
|
||||
title
|
||||
description
|
||||
color {
|
||||
value
|
||||
}
|
||||
icon {
|
||||
value
|
||||
}
|
||||
category {
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user