-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-node.js
38 lines (36 loc) · 2 KB
/
gatsby-node.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const createAdvicePages = require('./create-pages/advice-pages.js');
const createContentPages = require('./create-pages/content-pages.js');
const createPressReleasePages = require('./create-pages/press-release-pages.js');
const createEventsLandingPages = require('./create-pages/events-landing-pages.js');
const createEventCategoryPages = require('./create-pages/event-category-pages.js');
const createStandardEventPages = require('./create-pages/standard-event-pages.js');
const createChallengeEventPages = require('./create-pages/challenge-event-pages.js');
const createPolicyPage = require('./create-pages/policy-pages.js');
const createShopPages = require('./create-pages/shop-pages.js');
const createEventLandingPages = require('./create-pages/challenge-event-pages.js');
const createLegalPages = require('./create-pages/legal-pages.js');
const createLegalHomePage = require('./create-pages/legal-homepage.js');
const createLegalWhatsNew = require('./create-pages/legal-whats-new-pages.js');
const createFurnitureShopPages = require('./create-pages/furniture-shop-pages.js');
const createServicePages = require('./create-pages/service-pages.js');
const createPersonPages = require('./create-pages/person-pages.js');
exports.createPages = async ({ graphql, actions }) => {
const { createPage } = actions;
await Promise.all([
createAdvicePages(graphql, createPage),
createContentPages(graphql, createPage),
createPressReleasePages(graphql, createPage),
createEventsLandingPages(graphql, createPage),
createEventCategoryPages(graphql, createPage),
createStandardEventPages(graphql, createPage),
createChallengeEventPages(graphql, createPage),
createPolicyPage(graphql, createPage),
createShopPages(graphql, createPage),
createLegalPages(graphql, createPage),
createLegalWhatsNew(graphql, createPage),
createLegalHomePage(graphql, createPage),
createFurnitureShopPages(graphql, createPage),
createServicePages(graphql, createPage),
createPersonPages(graphql, createPage),
]);
};